document.write( "Question 1192581: Solve the following linear programming problems using simplex method.
\n" ); document.write( "Maximize Z = 3x+4y
\n" ); document.write( "subject x+y <= 4, 2x+y <= 5, x >= 0,y >= 0.
\n" ); document.write( "

Algebra.Com's Answer #824460 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Solve the following linear programming problems using simplex method.
\n" ); document.write( "Maximize Z = 3x+4y
\n" ); document.write( "subject x+y <= 4, 2x+y <= 5, x >= 0,y >= 0.
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            I see a great progress on your side  ( ! )\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            I see that after my criticism,  you learned on how to formulate the problem correctly  ( ! )\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            It means that I can work with you and teach you the subject.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "In coordinate plane, construct the feasibility domain for the given constraints.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, in the first quadrant, you plot the lines y = 4-x  and y = 5-2x.\r\n" );
document.write( "\r\n" );
document.write( "They are shown below in the Figure as red line and green line, respectively.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    \"graph%28+400%2C+400%2C+-1%2C+5%2C+-1%2C+5%2C%0D%0A++++++++++4-x%2C++5-2x%0D%0A%29\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "        The lines  y = 4-x (red)  and   y = 5-2x (green).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The feasibility domain is the quadrilateral in QI, which is below these lines.\r\n" );
document.write( "\r\n" );
document.write( "It is the area, where you look and search for the maximum of the objective function.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The quadrilateral has vertices \r\n" );
document.write( "\r\n" );
document.write( "    P0 = (0,0)    - the origin of the coordinate system;\r\n" );
document.write( "\r\n" );
document.write( "    P1 = (0,4)    - y-intercept of the red line;\r\n" );
document.write( "\r\n" );
document.write( "    P2 = (1,3)    - intersection of red line and green line;\r\n" );
document.write( "\r\n" );
document.write( "    P3 = (2.5,0)  - x-intercept of the green line.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The given objective function is a linear function of x and y over the feasibility quadrilateral.\r\n" );
document.write( "\r\n" );
document.write( "It it obvious that it gets its maximum value in some of the four vertices.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So you check the value of the objective fubction in vertices and find one of them where it has the maximum.\r\n" );
document.write( "\r\n" );
document.write( "See the Table below, which I prepared for you:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Point     coordinates   calculation of the      the value of the\r\n" );
document.write( "                 (x,y)      objective function      objective function\r\n" );
document.write( "                            Z(x,y) = 3x + 4y        at the vertex\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "     P0         (0,0)       3*0 + 4*0                    0\r\n" );
document.write( "\r\n" );
document.write( "     P1         (0,4)       3*0 + 4*4                   16\r\n" );
document.write( "\r\n" );
document.write( "     P2         (1,3)       3*1 + 4*3                   15\r\n" );
document.write( "\r\n" );
document.write( "     P3         (2.5,0)     3*2.5 + 4*0                  7.5\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "From the table, you see that the objective function has the maximum value in vertex P1.\r\n" );
document.write( "\r\n" );
document.write( "It means that the objective function has the maximum at the point P(0,4) at x= 0, y= 4.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  The solution to the given LP problem is the point P(0,4) at x= 0, y= 4.\r\n" );
document.write( "\r\n" );
document.write( "         The maximum value is 16.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved and thoroughly explained.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "============\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To see other similar problems solved by the Linear Programming method,  look into the lesson\r
\n" ); document.write( "\n" ); document.write( "    - Solving minimax problems by the Linear Programming method \r
\n" ); document.write( "\n" ); document.write( "in this site.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Also,  look into the solutions of other similar problems in the archive to this forum under the links\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Linear-equations/Linear-equations.faq.question.1148776.html\r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/word/misc/Miscellaneous_Word_Problems.faq.question.1142297.html \r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Inequalities/Inequalities.faq.question.1142000.html \r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Inequalities/Inequalities.faq.question.1141781.html \r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Sequences-and-series/Sequences-and-series.faq.question.1137172.html\r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Graphs/Graphs.faq.question.1136382.html\r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Coordinate-system/Coordinate-system.faq.question.1134444.html\r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Graphs/Graphs.faq.question.1131906.html\r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/coordinate/word/Linear_Equations_And_Systems_Word_Problems.faq.question.1131043.html\r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/word/finance/Money_Word_Problems.faq.question.1129285.html\r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Finance/Finance.faq.question.1128383.html \r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Linear-equations/Linear-equations.faq.question.1123217.html \r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/playground/test.faq.question.1112482.html\r
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Finance/Finance.faq.question.1102103.html\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );