document.write( "Question 1118359: Please help me to understand how to do \"optimization\"\r
\n" ); document.write( "\n" ); document.write( "Objective function: C = 8x+10y Maximize
\n" ); document.write( "Constraints
\n" ); document.write( "2x+y _< 12
\n" ); document.write( "x+3y _< 21\r
\n" ); document.write( "\n" ); document.write( "X_>0, y_>0\r
\n" ); document.write( "\n" ); document.write( "Then I need to graph it?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #733650 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "Every resource I have ever seen explaining how to solve this kind of problem says that you have to find the value of the objective function at every corner of the feasibility region. That is simply not true.

\n" ); document.write( "Let's look again at your problem, where the constraint functions are \"y%3C=-2x%2B12\" and \"y%3C=%28-1%2F3%29x%2B7\".

\n" ); document.write( "\"graph%28400%2C400%2C-2%2C14%2C-2%2C14%2C-2x%2B12%2C%28-1%2F3%29x%2B7%29\"

\n" ); document.write( "The objective function is \"C+=+8x%2B10y\".

\n" ); document.write( "In slope-intercept form, that is \"y+=+%28-8%2F10%29x%2BC%2F10\".

\n" ); document.write( "We don't know the y-intercept, because we don't know the value of C. But we know the slope of the objective function is -8/10, or -4/5.
\n" ); document.write( "Then to find the maximum value of the objective function you only need to determine which corner point of the feasibility region will be just touched by a line with slope -4/5. And since that slope -4/5 is between the slopes of the two constraint functions (-2 and -1/3), the corner point you want is at the intersection of the two constraint lines.

\n" ); document.write( "After that, you find that the intersection point is (3,6), and you evaluate the objective function at that point only, finding that the maximum value of the objective function is 10(3)+8(6) = 30+48 = 76.

\n" ); document.write( "If the slope of the objective function had been -3, which is smaller than -2, then the maximum value would have been obtained at (6,0); if the slope of the objective function had been -1/5, which is larger than -1/3, the maximum value would have been obtained at (0,12).
\n" ); document.write( "
\n" );