<?xml version='1.0'?>
<?xml-stylesheet type='text/xsl' href='pmathml.xsl'?>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Meat Packing Plant Problem 1.6</title>
<meta name="description" id="description" content="Meat Packing Plant Problem 1.6"/>
<meta name="keywords" id="keywords" content=" problem 1.6 "/>
<style type='text/css'>
BODY { color : black }
BODY { background-color : white }
</style>
<script type='text/javascript' language='JavaScript' src='_problem1_6_xml.js'>
</script>
</head>
<body>
<table><tr>
<td>
<select onchange='choose_across0(this)'>
<option>Index-&gt;</option>
<option>contents</option>
<option>reference</option>
<option>index</option>
<option>search</option>
</select>
</td>
<td><a href="part2.xml" target="_top">Prev</a>
</td><td><a href="electronic.xml" target="_top">Next</a>
</td><td><a href="home.xml" target="_top">Top</a>
</td><td>
<select onchange='choose_down2(this)'>
<option>home-&gt;</option>
<option>Chapter1</option>
<option>Chapter2</option>
<option>Software</option>
<option>Chapter3</option>
<option>Chapter5</option>
<option>Part2</option>
<option>Test</option>
<option>Bib</option>
</select>
</td>
<td>
<select onchange='choose_down1(this)'>
<option>Part2-&gt;</option>
<option>Problem1_6</option>
<option>Electronic</option>
<option>Quiz0803</option>
<option>IntegerProgram</option>
<option>MatrixGame</option>
</select>
</td>
<td>Problem1_6</td>
<td>
<select onchange='choose_current0(this)'>
<option>Headings-&gt;</option>
<option>Problem Statement</option>
<option>---..Number Produced</option>
<option>---..Smoking Limits</option>
<option>---..Net Profit</option>
<option>Notation</option>
<option>Relations</option>
<option>---..Profits</option>
<option>---..Production Constraints</option>
<option>---..Smoking Constraints</option>
<option>Primal Solution</option>
<option>Check Primal Feasible</option>
<option>Dual Solution</option>
<option>Check Dual Feasible</option>
<option>Check Objective are Equal</option>
<option>Neos Input</option>
<option>Neos Output</option>
</select>
</td>
</tr></table><br/>
<center><b><big><big>Meat Packing Plant Problem 1.6</big></big></b></center>
<br/>
<b><big><a name="Problem Statement" id="Problem Statement">Problem Statement</a></big></b>


<br/>
<br/>
<b><a name="Problem Statement.Number Produced" id="Problem Statement.Number Produced">Number Produced</a></b>
<br/>
A meat packing plant produces the following number of items
(hams, bellies, and picnic hams) each day:

<table><tr><td align='center'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;</span></code> Hams  <code><span style='white-space: nowrap'>&#xA0;</span></code>
	</td><td align='center'  valign='top'>
 <code><span style='white-space: nowrap'>&#xA0;</span></code> Bellies <code><span style='white-space: nowrap'>&#xA0;</span></code>
	</td><td align='center'  valign='top'>
 <code><span style='white-space: nowrap'>&#xA0;</span></code> Picnics <code><span style='white-space: nowrap'>&#xA0;</span></code>
</td></tr><tr><td align='center'  valign='top'>

480
	</td><td align='center'  valign='top'>
 400
	</td><td align='center'  valign='top'>
 230
</td></tr>
</table>
<br/>
<b><a name="Problem Statement.Smoking Limits" id="Problem Statement.Smoking Limits">Smoking Limits</a></b>
<br/>
The following number of items (hams plus bellies plus picnic hams)
can be smoked per day during regular working hours and overtime hours:

<table><tr><td align='center'  valign='top'>

Smoke Regular Time <code><span style='white-space: nowrap'>&#xA0;&#xA0;</span></code> </td><td align='center'  valign='top'>
 Smoke Overtime   </td></tr><tr><td align='center'  valign='top'>

420                         </td><td align='center'  valign='top'>
 250
</td></tr>
</table>
<br/>
<b><a name="Problem Statement.Net Profit" id="Problem Statement.Net Profit">Net Profit</a></b>
<br/>
The net profit per item per day that is
fresh, smoked on regular item, or smoked on overtime is

<table><tr><td align='center'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;</span></code> Item   <code><span style='white-space: nowrap'>&#xA0;</span></code>
	</td><td align='center'  valign='top'>
 <code><span style='white-space: nowrap'>&#xA0;</span></code> Fresh   <code><span style='white-space: nowrap'>&#xA0;</span></code>
	</td><td align='center'  valign='top'>
 <code><span style='white-space: nowrap'>&#xA0;</span></code> Smoke Regular Time <code><span style='white-space: nowrap'>&#xA0;</span></code>
	</td><td align='center'  valign='top'>
 <code><span style='white-space: nowrap'>&#xA0;</span></code> Smoke Overtime <code><span style='white-space: nowrap'>&#xA0;</span></code>
</td></tr><tr><td align='center'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;</span></code> Ham <code><span style='white-space: nowrap'>&#xA0;</span></code>
	</td><td align='center'  valign='top'>
 $8
	</td><td align='center'  valign='top'>
 $14
	</td><td align='center'  valign='top'>
 $11
</td></tr><tr><td align='center'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;</span></code> Belly <code><span style='white-space: nowrap'>&#xA0;</span></code>
	</td><td align='center'  valign='top'>
 $4
	</td><td align='center'  valign='top'>
 $12
	</td><td align='center'  valign='top'>
 $7
</td></tr><tr><td align='center'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;</span></code> Picnic <code><span style='white-space: nowrap'>&#xA0;</span></code>
	</td><td align='center'  valign='top'>
 $4
	</td><td align='center'  valign='top'>
 $13
	</td><td align='center'  valign='top'>
 $9
</td></tr>
</table>
<br/>
<b><big><a name="Notation" id="Notation">Notation</a></big></b>


<table><tr><td align='left'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;480&#xA0;-&#xA0;x1&#xA0;-&#xA0;x2&#xA0;</span></code> </td><td align='left'  valign='top'>
 fresh hams per day                  </td></tr><tr><td align='left'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;x1</span></code>             </td><td align='left'  valign='top'>
 hams per day smoked on regular time </td></tr><tr><td align='left'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;x2</span></code>             </td><td align='left'  valign='top'>
 hams per day smoked on overtime     </td></tr><tr><td align='left'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;400&#xA0;-&#xA0;x3&#xA0;-&#xA0;x4&#xA0;</span></code> </td><td align='left'  valign='top'>
 fresh bellies per day                  </td></tr><tr><td align='left'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;x3</span></code>             </td><td align='left'  valign='top'>
 bellies per day smoked on regular time </td></tr><tr><td align='left'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;x4</span></code>             </td><td align='left'  valign='top'>
 bellies per day smoked on overtime     </td></tr><tr><td align='left'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;230&#xA0;-&#xA0;x5&#xA0;-&#xA0;x6&#xA0;</span></code> </td><td align='left'  valign='top'>
 fresh picnics per day                  </td></tr><tr><td align='left'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;x5</span></code>             </td><td align='left'  valign='top'>
 picnics per day smoked on regular time </td></tr><tr><td align='left'  valign='top'>

<code><span style='white-space: nowrap'>&#xA0;x6</span></code>             </td><td align='left'  valign='top'>
 picnics per day smoked on overtime     
</td></tr>
</table>
<br/>
<b><big><a name="Relations" id="Relations">Relations</a></big></b>


<br/>
<br/>
<b><a name="Relations.Profits" id="Relations.Profits">Profits</a></b>
<br/>
The net profit per day <code><span style='white-space: nowrap'>&#xA0;p</span></code> is
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;p&#xA0;=&#xA0;8&#xA0;*&#xA0;(480&#xA0;-&#xA0;x1&#xA0;-&#xA0;x2)&#xA0;+&#xA0;14&#xA0;*&#xA0;x1&#xA0;+&#xA0;11&#xA0;*&#xA0;x2<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;+&#xA0;4&#xA0;*&#xA0;(400&#xA0;-&#xA0;x3&#xA0;-&#xA0;x4)&#xA0;+&#xA0;12&#xA0;*&#xA0;x3&#xA0;+&#xA0;&#xA0;7&#xA0;*&#xA0;x4<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;+&#xA0;4&#xA0;*&#xA0;(230&#xA0;-&#xA0;x5&#xA0;-&#xA0;x6)&#xA0;+&#xA0;13&#xA0;*&#xA0;x5&#xA0;+&#xA0;&#xA0;9&#xA0;*&#xA0;x6<br/>
<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;p&#xA0;=&#xA0;6360&#xA0;+&#xA0;6&#xA0;*&#xA0;x1&#xA0;+&#xA0;3&#xA0;*&#xA0;x2&#xA0;+&#xA0;8&#xA0;*&#xA0;x3&#xA0;+&#xA0;3&#xA0;*&#xA0;x4&#xA0;+&#xA0;9&#xA0;*&#xA0;x5&#xA0;+&#xA0;5&#xA0;*&#xA0;x6<br/>
</span></code><br/>
<b><a name="Relations.Production Constraints" id="Relations.Production Constraints">Production Constraints</a></b>
<br/>
The production constraints are
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x1&#xA0;+&#xA0;x2&#xA0;&lt;=&#xA0;480<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x3&#xA0;+&#xA0;x4&#xA0;&lt;=&#xA0;400<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x5&#xA0;+&#xA0;x6&#xA0;&lt;=&#xA0;230<br/>
</span></code><br/>
<b><a name="Relations.Smoking Constraints" id="Relations.Smoking Constraints">Smoking Constraints</a></b>

<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x1&#xA0;+&#xA0;x3&#xA0;+&#xA0;x5&#xA0;&lt;=&#xA0;420<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x2&#xA0;+&#xA0;x4&#xA0;+&#xA0;x6&#xA0;&lt;=&#xA0;250<br/>
</span></code><br/>
<b><big><a name="Primal Solution" id="Primal Solution">Primal Solution</a></big></b>
<br/>
The Neos Clp run results below claim that the solution is
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x1&#xA0;=&#xA0;0,&#xA0;x2&#xA0;=&#xA0;&#xA0;40,&#xA0;x3&#xA0;=&#xA0;400,&#xA0;x4&#xA0;=&#xA0;0,&#xA0;x5&#xA0;=&#xA0;&#xA0;20,&#xA0;x6&#xA0;=&#xA0;210<br/>
</span></code>(a solution can also be found in section <a href="tableau1_6.xml" target="_top"><span style='white-space: nowrap'>Tableau1_6</span></a>
).
We will check this solution to see if it is correct.

<br/>
<br/>
<b><big><a name="Check Primal Feasible" id="Check Primal Feasible">Check Primal Feasible</a></big></b>
<br/>
All the components of <code><span style='white-space: nowrap'>&#xA0;x</span></code> are greater than or equal zero
so we only need check.
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x1&#xA0;+&#xA0;x2&#xA0;=&#xA0;40&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&lt;=&#xA0;480<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x3&#xA0;+&#xA0;x4&#xA0;=&#xA0;400&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&lt;=&#xA0;400<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x5&#xA0;+&#xA0;x6&#xA0;=&#xA0;230&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&lt;=&#xA0;230<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x1&#xA0;+&#xA0;x3&#xA0;+&#xA0;x5&#xA0;=&#xA0;420&#xA0;&lt;=&#xA0;420<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x2&#xA0;+&#xA0;x4&#xA0;+&#xA0;x6&#xA0;=&#xA0;250&#xA0;&lt;=&#xA0;250<br/>
</span></code><br/>
<b><big><a name="Dual Solution" id="Dual Solution">Dual Solution</a></big></b>
<br/>
By the Complementary Slackness theorem (5.3 in the text), 
the dual solution has <code><span style='white-space: nowrap'>&#xA0;y1&#xA0;=&#xA0;0</span></code>.
It follows from the fact that 
<code><span style='white-space: nowrap'>&#xA0;x2</span></code>, <code><span style='white-space: nowrap'>&#xA0;x3</span></code>, <code><span style='white-space: nowrap'>&#xA0;x5</span></code> and <code><span style='white-space: nowrap'>&#xA0;x6</span></code> are not zero
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;y2&#xA0;*&#xA0;A22&#xA0;+&#xA0;y3&#xA0;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;&#xA0;&#xA0;&#xA0;y2&#xA0;*&#xA0;0&#xA0;&#xA0;&#xA0;+&#xA0;y3&#xA0;*&#xA0;1&#xA0;&#xA0;&#xA0;+&#xA0;y4&#xA0;*&#xA0;1&#xA0;&#xA0;&#xA0;+&#xA0;y5&#xA0;*&#xA0;0&#xA0;&#xA0;&#xA0;=&#xA0;9&#xA0;&#xA0;<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;y2&#xA0;*&#xA0;0&#xA0;&#xA0;&#xA0;+&#xA0;y3&#xA0;*&#xA0;1&#xA0;&#xA0;&#xA0;+&#xA0;y4&#xA0;*&#xA0;0&#xA0;&#xA0;&#xA0;+&#xA0;y5&#xA0;*&#xA0;1&#xA0;&#xA0;&#xA0;=&#xA0;5&#xA0;&#xA0;<br/>
<br/>
<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;y5&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;=&#xA0;3&#xA0;&#xA0;<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;y2&#xA0;+&#xA0;y4&#xA0;=&#xA0;8&#xA0;&#xA0;&#xA0;y2&#xA0;=&#xA0;8&#xA0;-&#xA0;y4&#xA0;=&#xA0;1<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;y3&#xA0;+&#xA0;y4&#xA0;=&#xA0;9&#xA0;&#xA0;&#xA0;y4&#xA0;=&#xA0;9&#xA0;-&#xA0;y3&#xA0;=&#xA0;7&#xA0;&#xA0;<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;y3&#xA0;+&#xA0;y5&#xA0;=&#xA0;5&#xA0;&#xA0;&#xA0;y3&#xA0;=&#xA0;5&#xA0;-&#xA0;y5&#xA0;=&#xA0;2&#xA0;&#xA0;<br/>
</span></code>(see definition of the matrix <code><span style='white-space: nowrap'>&#xA0;A</span></code> below).

<br/>
<br/>
<b><big><a name="Check Dual Feasible" id="Check Dual Feasible">Check Dual Feasible</a></big></b>
<br/>
The dual vector above is feasible because <code><span style='white-space: nowrap'>&#xA0;y&#xA0;&gt;=&#xA0;0</span></code>
and 
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>
<msup><mi mathvariant='italic'>A</mi>
<mi mathvariant='italic'>T</mi>
</msup>
<mo stretchy="false">*</mo>
<mi mathvariant='italic'>y</mi>
<mo stretchy="false">&gt;</mo>
<mo stretchy="false">=</mo>
<mi mathvariant='italic'>c</mi>
</mrow></math>

 as shown below:
<code><span style='white-space: nowrap'>&#xA0;<br/>
y^T&#xA0;*&#xA0;A&#xA0;=<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;[&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;]<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;[&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;]<br/>
&#xA0;=&#xA0;(0,&#xA0;1,&#xA0;2,&#xA0;7,&#xA0;3)&#xA0;*&#xA0;[&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;]<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;[&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;]<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;[&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;&#xA0;&#xA0;&#xA0;0&#xA0;&#xA0;&#xA0;&#xA0;1&#xA0;]<br/>
&#xA0;=&#xA0;(7,&#xA0;3,&#xA0;8,&#xA0;4,&#xA0;9,&#xA0;5)<br/>
<br/>
&gt;=&#xA0;(6,&#xA0;3,&#xA0;8,&#xA0;3,&#xA0;9,&#xA0;5)&#xA0;<br/>
</span></code><br/>
<b><big><a name="Check Objective are Equal" id="Check Objective are Equal">Check Objective are Equal</a></big></b>
<br/>
If the dual and primal objectives are equal, then 
this must be the solution (theorem 5.1);
<code><span style='white-space: nowrap'><br/>
c^T&#xA0;*&#xA0;x&#xA0;=&#xA0;(6,&#xA0;3,&#xA0;8,&#xA0;3,&#xA0;9,&#xA0;5)&#xA0;*&#xA0;(0,&#xA0;40,&#xA0;400,&#xA0;0,&#xA0;20,&#xA0;210)^T&#xA0;=&#xA0;4550<br/>
b^T&#xA0;*&#xA0;y&#xA0;=&#xA0;(480,&#xA0;400,&#xA0;230,&#xA0;420,&#xA0;250)&#xA0;*&#xA0;(0,&#xA0;1,&#xA0;2,&#xA0;7,&#xA0;3)^T&#xA0;&#xA0;&#xA0;=&#xA0;4550<br/>
</span></code><br/>
<b><big><a name="Neos Input" id="Neos Input">Neos Input</a></big></b>
<br/>
You may find that 
<a href="problem1_6.htm" target="_top"><span style='white-space: nowrap'>problem1_6.htm</span></a>
 gives better copy and paste results
than <a href="problem1_6.xml" target="_top"><span style='white-space: nowrap'>problem1_6.xml</span></a>
:
<code><font color="blue">
<span style='white-space: nowrap'><br/>
&lt;document&gt;<br/>
<br/>
&lt;category&gt;lp&lt;/category&gt;<br/>
&lt;solver&gt;Clp&lt;/solver&gt;<br/>
&lt;inputMethod&gt;MPS&lt;/inputMethod&gt;<br/>
<br/>
&lt;comments&gt;&lt;![CDATA[<br/>
Problem&#xA0;1.6&#xA0;in&#xA0;Vasek&#xA0;Chvatal's&#xA0;book:&#xA0;Linear&#xA0;Programming<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;maximize&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;c^T&#xA0;*&#xA0;x&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;w.r.t&#xA0;x&#xA0;&gt;=&#xA0;0<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;subject&#xA0;to&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;A&#xA0;*&#xA0;x&#xA0;&lt;=&#xA0;b<br/>
<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x1&#xA0;&#xA0;&#xA0;x2&#xA0;&#xA0;&#xA0;x3&#xA0;&#xA0;&#xA0;x4&#xA0;&#xA0;&#xA0;x5&#xA0;&#xA0;&#xA0;x6<br/>
z&#xA0;&#xA0;c^T&#xA0;=&#xA0;&#xA0;&#xA0;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0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;250<br/>
ENDATA<br/>
*]]&gt;&lt;/MPS&gt;<br/>
<br/>
&lt;param&gt;&lt;![CDATA[<br/>
maximize<br/>
primalSimplex<br/>
solution&#xA0;-<br/>
]]&gt;&lt;/param&gt;<br/>
<br/>
&lt;/document&gt;<br/>
</span>
</font></code>
<br/>
<b><big><a name="Neos Output" id="Neos Output">Neos Output</a></big></b>

<code><font color="blue">
<span style='white-space: nowrap'><br/>
%%%%%%%%%%%%%%%%%%%%&#xA0;CLP&#xA0;Results&#xA0;%%%%%%%%%%%%%%%%%%%%<br/>
<br/>
Load&#xA0;Avg:&#xA0;(&#xA0;3.2&#xA0;,&#xA0;3.27&#xA0;,&#xA0;3.49&#xA0;)<br/>
Coin&#xA0;LP&#xA0;version&#xA0;1.02.02,&#xA0;build&#xA0;Mar&#xA0;20&#xA0;2006<br/>
command&#xA0;line&#xA0;-&#xA0;/home/neos/neos-bin/clp&#xA0;clp.mps&#xA0;-&#xA0;<br/>
At&#xA0;line&#xA0;4&#xA0;NAME&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;CE-2.1<br/>
At&#xA0;line&#xA0;5&#xA0;ROWS<br/>
At&#xA0;line&#xA0;12&#xA0;COLUMNS<br/>
At&#xA0;line&#xA0;36&#xA0;RHS<br/>
At&#xA0;line&#xA0;42&#xA0;ENDATA<br/>
Problem&#xA0;CE-2.1&#xA0;has&#xA0;5&#xA0;rows,&#xA0;6&#xA0;columns&#xA0;and&#xA0;12&#xA0;elements<br/>
Model&#xA0;was&#xA0;imported&#xA0;from&#xA0;./clp.mps&#xA0;in&#xA0;0&#xA0;seconds<br/>
Switching&#xA0;to&#xA0;line&#xA0;mode<br/>
Clp:Clp:Clp:Presolve&#xA0;5&#xA0;(0)&#xA0;rows,&#xA0;6&#xA0;(0)&#xA0;columns&#xA0;and&#xA0;12&#xA0;(0)&#xA0;elements<br/>
Perturb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