Docsity

Quiz 1 Problems with Solution - Linear Optimization | MATH 407, Quizzes of Linear Algebra

Toggle sidebar
bg1
MATH 407 QUIZ Problem 1 Name (Please print):
July 24, 2008 40 points
Problem:maximize 3x1+x2w.r.t x∈R2
+
subject to x1−x2≤ −1
−x1−x2≤ −3
2x1+x2≤4
Fill in the missing characters denoted by _in the message below so that e-mailing the resulting
message to Neos would solve the problem above. Do not fill in any text for characters that should
be a space.
<document>
<category>lp</category>
<solver>Clp</solver>
<inputMethod>MPS</inputMethod>
<comments><![CDATA[
Problem 3.9a in Vasek Chvatal’s book: Linear Programming
]]></comments>
<MPS><![CDATA[*
*Op Name0--- Name1--- Value1------ Name2--- Value2------
*23 56789012 56789012 567890123456 01234567 012345678901
NAME pr_3.9a
ROWS
N z
__ r1
__ r2
__ r3
COLUMNS
x1 z 3 r1 1
x1 r2 -1 r3 2
*
__ __ __ __ -1
x2 r2 -1 r3 1
RHS
b r1 __
b r2 __
b r3 __
ENDATA
*]]></MPS>
<param><![CDATA[
maximize
primalSimplex
printingOptions all
solution -
]]></param>
</document>
Solution:
1
pf3

Partial preview of the text

Download Quiz 1 Problems with Solution - Linear Optimization | MATH 407 and more Quizzes Linear Algebra in PDF only on Docsity!

MATH 407 QUIZ Problem 1 Name (Please print): July 24, 2008 40 points

Problem:

maximize 3 x 1 + x 2 w.r.t x ∈ R^2 + subject to x 1 − x 2 ≤ − 1 −x 1 − x 2 ≤ − 3 2 x 1 + x 2 ≤ 4

Fill in the missing characters denoted by _ in the message below so that e-mailing the resulting message to Neos would solve the problem above. Do not fill in any text for characters that should be a space.

lp Clp MPS <![CDATA[* *Op Name0--- Name1--- Value1------ Name2--- Value2------ *23 56789012 56789012 567890123456 01234567 012345678901 NAME pr_3.9a ROWS N z __ r __ r __ r COLUMNS x1 z 3 r1 1 x1 r2 -1 r3 2

__ __ __ __ - x2 r2 -1 r3 1 RHS b r1 __ b r2 __ b r3 __ ENDATA *]]>

Solution:

lp Clp MPS <![CDATA[* *Op Name0--- Name1--- Value1------ Name2--- Value2------ *23 56789012 56789012 567890123456 01234567 012345678901 NAME pr_3.9a ROWS N z L r L r L r COLUMNS x1 z 3 r1 1 x1 r2 -1 r3 2

x2 z 1 r1 - x2 r2 -1 r3 1 RHS b r1 - b r2 - b r3 4 ENDATA *]]>