subject to
and 
\n" );
document.write( "\r\n" );
document.write( "In these linear programming problems we assume that no variables are ever\r\n" );
document.write( "negative, but they can be 0. So all variables here are assumed to be\r\n" );
document.write( "non-negative.
,
.\r\n" );
document.write( "\r\n" );
document.write( "Introduce non-negative slack variables s1 and s2 to turn the\r\n" );
document.write( "inequalities into equations:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Rewrite
as
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Rewrite the system in matrix form using the five variables:\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Next, we will perform the pivot operation. That is a method to make\r\n" );
document.write( "one element in a column (the pivot column) 1, then use the 1 to\r\n" );
document.write( "make all the other elements in the pivot column 0.\r\n" );
document.write( "\r\n" );
document.write( "We will find the pivot indicator, the pivot column, the pivot row,\r\n" );
document.write( "and the pivot element.\r\n" );
document.write( "\r\n" );
document.write( "The pivot indicator is the most negative number on the bottom row.\r\n" );
document.write( "In this case -7 is the most negative number on the bottom row, so\r\n" );
document.write( "the pivot indicator is -7.\r\n" );
document.write( "\r\n" );
document.write( "The pivot column is the column which the pivot indicator is in, so\r\n" );
document.write( "the pivot column is the 1st column.\r\n" );
document.write( "\r\n" );
document.write( "Next we determine the pivot element. To do that, we divide each positive\r\n" );
document.write( "number in the pivot column above the pivot element into the number at the\r\n" );
document.write( "far right, in the column indicated by an \"=\".\r\n" );
document.write( " 8.125 10\r\n" );
document.write( "8)65 7)70\r\n" );
document.write( "\r\n" );
document.write( "8.125 < 10, so 8.125 is the smaller of them, and since it was the 8 that we used\r\n" );
document.write( "to get the smaller quotient, that means 8 is pivot element.\r\n" );
document.write( "\r\n" );
document.write( "The pivot row is the row that the pivot element is on, the 1st row.\r\n" );
document.write( "\r\n" );
document.write( "Now we make the pivot element 1 by dividing the first row through by 8.\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Now we make the 7 in the 1st column into a 0 by multiplying the 1st row by -7\r\n" );
document.write( "and adding it to row 2:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Now we make the -7 in the 1st column into a 0 by multiplying the 1st row by 7\r\n" );
document.write( "and adding it to row 3:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Now there are no negative numbers on the bottom row, so this is the final\r\n" );
document.write( "matrix. Now we convert the matrix back into a system of equations:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The bottom equation contains f that we wish to maximize:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Solve it for f\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "We wish to maximize f. It will be the largest it can possibly be when\r\n" );
document.write( "the two terms subtracted from 455/8 are as small as they can be. They cannot\r\n" );
document.write( "be negative, so the smallest they can be is 0. So if we make both x2 and s1\r\n" );
document.write( "equal to 0, we can keep the whole 455/8 for f and not subtract anything from\r\n" );
document.write( "it.\r\n" );
document.write( "\r\n" );
document.write( "So we choose x2 = 0 and s1 = 0. Substituting:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "So the answer is that f has a maximum value of 455/8, when x1=65/8 and x2=0.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( " \n" );
document.write( "