Job shop code assignment
• using python or c++ and example 2
Sort all jobs in decreasing order of profit • Initialize the result sequence as first job in sorted jobs
• Do following for remaining n-1 jobs
If the current job can fit in the current result sequence without missing the
deadline
o add current job to the result
o Else ignore the current job
6 years ago
20
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
- sort-algorithim.rar