hw9_Solution.mod - Sheet1 var X {1..5} var Y {1..3}...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: Sheet1 var X {1..5} var Y {1..3} maximize ctx: 11*X[1] + 2*X[2] - 3*X[3] - 8*X[4] - 12*X[5] subject to primalconst1: -2*X[1] + 3*X[2] - X[3] + 2*X[4] + X[5] = 6 subject to primalconst2: -X[1] -2*X[2] + 3*X[3] + 4*X[4] + 2*X[5] <= 10 subject to primalconst3: 3*X[1] + 2*X[2] - X[3] - 2*X[4] - 3*X[5] = -7 subject to primalconst4: X[2] >= 0 subject to primalconst5: X[3] >= 0 subject to primalconst6: X[4] >= 0 subject to primalconst7: X[5] >= 0 minimize bty: 6*Y[1] + 10*Y[2] - 7*Y[3] subject to dualconst1: -2*Y[1] - Y[2] + 3*Y[3] = 11 subject to dualconst2: 3*Y[1] - 2*Y[2] + 2*Y[3] >= 2 subject to dualconst3: -Y[1] + 3*Y[2] - Y[3] >= -3 subject to dualconst4: 2*Y[1] + 4*Y[2] - 2*Y[3] >= -8 subject to dualconst5: Y[1] + 2*Y[2] - 3*Y[3] >= -12 subject to dualconst6: Y[2]>=0 Page 1 ...
View Full Document

This homework help was uploaded on 02/20/2009 for the course ORIE 3300 taught by Professor Todd during the Fall '08 term at Cornell University (Engineering School).

Page1 / 2

hw9_Solution.mod - Sheet1 var X {1..5} var Y {1..3}...

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

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