average completion time on multiple machinescs2035/courses/ieor4405.s20... · jw j p j 111 211...

12
Average Completion Time on Multiple Machines P || P C j j p j A 1 B 3 C 4 D 5 E 6 F 9 G 12 H 20 I 50 J 60 What is the right algorithm? Ms Mz Bl E / H IT on , * I 34 8 9 13 18 29 ' - ' 63 78 - on each mache SPT Orde EG ! 3. Pat -285Pa , = 347 tpptpo ) - 3ppt2ptp , TZCPDTPETPF ) 1- 3pct 2PptP± t ( DatPiff )

Upload: others

Post on 17-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

Average Completion Time on Multiple Machines

P ||PCj

j pjA 1

B 3

C 4

D 5

E 6

F 9

G 12

H 20

I 50

J 60

What is the right algorithm?

Ms

Mz Bl E / H ITon

,* I 34 8 9 13 18 29 ' -

'63 78

- on each mache SPT OrdeEG!3. Pat -285Pa

,

=347 tpptpo)

- 3ppt2p⇐tp, TZCPDTPETPF )1- 3pct 2PptP± t (DatPiff)

Page 2: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

Average Completion Time on Multiple Machines

P ||PCj

j pjA 1

B 3

C 4

D 5

E 6

F 9

G 12

H 20

I 50

J 60

What is the right algorithm?

hi

Page 3: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

HE §. SPT

'.

I

⇒⇒ECj C ,t Gt G t Cy

=P,HP

,tBlt ( Rt Rt ftp.tpp.pe)=

4 p,t 3ft 2B t l Py

$1 sit $10 $100

Page 4: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

Average Completion Time on Multiple Machines

• P ||PCJ – SPT is optimal.

• P ||PwjCj – Is WSPT optimal?

Example

j wj pj1 1 1

2 1 1

3 100 99

smaehis Smyth. Hewhips €←i "ool99#

EwjG= 1471102 't 100199 ) = 9903

b¥¥A 100

Ill ) till ) t 100400 ) > 90002

Page 5: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

Average Completion Time on Multiple Machines

• P ||PCJ – SPT is optimal.

• P ||PwjCj – Is WSPT optimal?

Example

j wj pj1 1 1

2 1 1

3 100 99

Smiths rte

.÷÷: IP 10 )

ill ) ti'

A) t 9911017=999972I 1000 )#

oLose12 too

4) ' txt ) t 9911W ) I 9903

Page 6: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

Average Completion Time on Multiple Machines

• P ||PCJ – SPT is optimal.

• P ||PwjCj – Is WSPT optimal?

Example

j wj pj1 1 1

2 1 1

3 100 99

• P ||PwjCj is NP-complete.

• WSPT is a (1 +p2)/2 -approximation for P ||PwjCj

ahh

Page 7: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

R|| PCj

• Can be solved as a matching problem.

• Left side node for each job j

• Right hand side node for the k th from last job on machine i

Example

J1 J2 J3 J4M1 6 4 1 3

M2 7 5 2 3

M3 3 8 5 3

gum:# knew

in; ¥,

m

÷÷⇐¥e*÷

Page 8: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

R|| PCj

• Can be solved as a matching problem.

• Left side node for each job j

• Right hand side node for the k th from last job on machine i

Example

J1 J2 J3 J4M1 6 4 1 3

M2 7 5 2 3

M3 3 8 5 3

6710--11

*¥-8 : mi

Io

'Hea

Og ' Mz

problem TO o }On

don't know 90g'

Mzhow many jets 2

on each meche o '

04

Page 9: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

R|| PCj

• Can be solved as a matching problem.

• Left side node for each job j

• Right hand side node for the k th from last job on machine i

Example

J1 J2 J3 J4M1 6 4 1 3

M2 7 5 2 3

M3 3 8 5 3

@ostCjgMi.k )K - Pij

xosg÷÷÷÷¥¥¥i÷¥÷E÷¥¥¥i÷Ty O

'est,

a :c:* ¥¥¥¥m

Page 10: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

÷**e÷÷ .

Page 11: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

LP for the matching problem

Variable xijk = 1 if j is the k th from last job on Mi

minmX

i=1

nX

j=1

nX

k=1kpijxijk

s.t.

Each job runsmX

i=1

nX

k=1xijk = 1 j = 1 . . . n

Each machine/slot has at most 1 jobnX

j=1xijk 1 i = 1 . . .m; k = 1 . . . n

xijk 2 {0, 1} i = 1 . . .m; j = 1 . . . n; k = 1 . . . n

• Note that the may be unforced idleness e.g.

J1 J2M1 1 1

M2 10 10 it ③

Page 12: Average Completion Time on Multiple Machinescs2035/courses/ieor4405.S20... · jw j p j 111 211 310099 smaehis Smyth. He ... • Right hand side node for the k th from last job on

Q|pmtn| PCj

• Algorithm is SRPT-FM. Shortest Remaining Processing Time on the

Fastest Machines.

• What about preemption in other models?

• P – doesn’t help

• R – NP-complete

rem

¥¥.:÷...H oY O

I¥'s

insistentTugit 4 's 7 I