3.review.44 - subject to prodlimit8_lim: sum {j in P}...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 3.review.44 data set P := M1 M2 M3 X6 X8 Y6 Y8 Z6 Z8 Z10 K6 K8 K10 A B param: prodlimit6 prodlimit8 prodlimitgas prodlimithg prod6 prod8 prod10 gradecontrol6 gradecontrol8 Profit Alimit Blimit:= M1 -0.2 -0.3 0 0 0 0 0.5 0 0 -3.4 0 0 M2 -0.3 -0.4 0 0 0 0 0.3 0 0 -3 0 0 M3 -0.4 -0.4 0 0 0 0 0.2 0 0 -2.6 0 0 X6 1 0 0 0 0 1 0 0 0 -1 0 0 X8 0 1 0 0 0 0 1 0 0 -1.5 0 0 Y6 1 0 0 0 1 0 0 0 0 0 0 0 Y8 0 1 0 0 0 1 0 0 0 0 0 0 Z6 0 0 -1 0 -1 0 0 -3 0 0 0 0 Z8 0 0 -1 0 0 -1 0 -1 0 0 0 0 Z10 0 0 -1 0 0 0 -1 1 0 0 0 0 K6 0 0 0 -1 -1 0 0 0 -1 0 0 0 K8 0 0 0 -1 0 -1 0 0 1 0 0 0 K10 0 0 0 -1 0 0 -1 0 3 0 0 0 A 0 0 1 0 0 0 0 0 0 11 1 0 B 0 0 0 1 0 0 0 0 0 6 0 1 model set P param prodlimit6 {j in P} param prodlimit8 {j in P} param prodlimitgas {j in P} param prodlimithg {j in P} param prod6 {j in P} param prod8 {j in P} param prod10 {j in P} param gradecontrol6 {j in P} param gradecontrol8 {j in P} param Profit {j in P} param Alimit {j in P} param Blimit {j in P} var X {j in P} maximize profit: sum{j in P} Profit[j]*X[j] subject to prodlimit6_lim: sum {j in P} prodlimit6[j]*X[j] = 0
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: subject to prodlimit8_lim: sum {j in P} prodlimit8[j]*X[j] = 0 subject to prodlimitgas_lim: sum {j in P} prodlimitgas[j]*X[j] = 0 subject to prodlimithg_lim: sum {j in P} prodlimithg[j]*X[j] = 0 subject to prod6_lim: sum {j in P} prod6[j]*X[j] = 0 subject to prod8_lim: sum {j in P} prod8[j]*X[j] = 0 subject to prod10_lim: sum {j in P} prod10[j]*X[j] = 0 subject to gradecontrol6_lim: sum{j in P} gradecontrol6[j]*X[j] >= 0 subject to gradecontrol8_lim: sum{j in P} gradecontrol8[j]*X[j] >= 0 subject to Alimit_lim: sum{j in P} Alimit[j]*X[j] <= 2000 subject to Blimit_lim: sum {j in P} Blimit[j]*X[j] <= 600 subject to Var_lim {j in P}: X[j] >= 0 Sheet1 Page 2 sw: ampl ampl: model gas.mod ampl: data gas.dat ampl: solve MINOS 5.5: optimal solution found. 3 iterations, objective 17380 ampl: display X X [*] := A 2000 B 600 K10 K6 300 K8 300 M1 M2 M3 2600 X6 740 X8 480 Y6 300 Y8 560 Z10 1000 Z6 Z8 1000 Sheet1 Page 3 Sheet1 Page 4...
View Full Document

This note was uploaded on 01/25/2010 for the course IEOR 162 taught by Professor Zhang during the Fall '07 term at University of California, Berkeley.

Page1 / 4

3.review.44 - subject to prodlimit8_lim: sum {j in P}...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online