Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Job Sequence with 2 machine table [ [ Job , 1 , 2 , 3 , 4 , 5 ] , [ A ,

Job Sequence with 2 machine
\table[[Job,1,2,3,4,5],[A,5,1,9,3,10],[B,2,6,7,8,4]]
Optimal job sequence
\table[[2,4,3,5,1],[A,,,,],[,,,,]]
24351
\table[[Job,Machine A,Machine B,Idle time],[In,Out,In,Out,A,B],[2,0,0+1=1,1,1+6=7,,1],[4,1,1+3=4,7,7+8=15,,],[3,4,4+9=13,15,15+7=22,,1],[5,13,13+10=23,23,23+4=27,,1],[1,23,23+5=28,28,28+2=30,2,],[\table[[Idle time for machine A=2 hours],[Idle time for machine B=3 hours],[Total Idle Time =5 hours],[Total Elapsed Time =30 hours]]]]
16
Based on this subject , write a code with cpp language to setup this problem
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

How does the correspondence principle relate to special relativity?

Answered: 1 week ago

Question

What is the stated purpose of business process re-engineering?

Answered: 1 week ago