Question 304905
<pre><font size = 3><b>
 7     3    2    1     0     0      5
 4     1    1    0     1     0     20
-5   -10   -1    0     0     1      0

Put in ordinary variables x, y, z, P, 
slack variables s<sub>1</sub>, s<sub>2</sub>, and + signs between 
terms where necessary to show addition:  

 7x +  3y + 2z + 1s<sub>1</sub> + 0s<sub>2</sub> + 0P =  5
 4x +  1y + 1z + 0s<sub>1</sub> + 1s<sub>2</sub> + 0P = 20
-5x - 10y - 1z + 0s<sub>1</sub> + 0s<sub>2</sub> + 1P =  0

Erase the terms with 0 coefficients,
and the 1 coefficients:

{{{system(7x + 3y + 2z + s[1]  =  5,
 4x + y + z +  s[2]  = 20,
-5x - 10y - z + P  =  0)}}}

Erase the slack variables in the first two equations
and change the {{{"="}}} signs to {{{""<=""}}}'s. Also, solve
the bottom equation for P

{{{system(7x + 3y + 2z <=  5,
 4x + y + z   <= 20,
P = 5x + 10y + z )}}} 

The problem is:

Maximize {{{P = 5x + 10y + z}}}

subject to the constraints:

{{{system(7x + 3y + 2z <=  5,
 4x + y + z   <= 20, x>=0, y>=0, z>=0)}}}

Edwin</pre>