document.write( "Question 1137172: A furniture company constructs and finishes tables and chairs. Each table nets a profit of $100 & each chair a profit of $60. During 1 week the company has 305 work-hours for assembly operations and 355 work-hours for finishing. Each chair requires 3h to be assembled and 90 min of finishing. Each table requires 4h for assembly and 2h for finishing.
\n" ); document.write( " How many tables and chairs should the company produce over the week to maximize profits?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #755012 by ikleyn(52797)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Let X be the number of tables, and\r\n" );
document.write( "\r\n" );
document.write( "let Y be the number of chairs.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The objective function (profit)  is\r\n" );
document.write( "\r\n" );
document.write( "R(X,Y) = 100X + 60Y.   (1)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The restrictions are :\r\n" );
document.write( "\r\n" );
document.write( "4X +   3Y <= 305       (2)     (restriction on the assembly time)   and\r\n" );
document.write( "2X + 1.5Y <= 355       (3)     (restriction on the finishing time).\r\n" );
document.write( "X >= 0;  Y >= 0.       (4)     (non-negativity).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "You need to maximize the objective function (profit) under given restrictions.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The feasible domain is shown below.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It is  a quadrilateral in the first quadrant  (X >= 0,  Y >= 0)  restricted \r\n" );
document.write( "by the red line  4X +   3Y = 305  and the green line  2X + 1.5Y = 355.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Plots  4X + 3Y = 305  (red) and 2X + 1.5Y = 355 (green)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now I need to make couple of important notices.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "1.  The potential solutions are the points in this quadrilateral with integer coordinates X and Y.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Therefore, I show in the plot the grid of points with integer coordinates. But, due to technical restrictions, \r\n" );
document.write( "    my grid is with the step 15 in both axes.\r\n" );
document.write( "\r\n" );
document.write( "    Actually, I'd should to show you the grid with the step 1 in both axes, but it would be not impossible to see on the screen.\r\n" );
document.write( "\r\n" );
document.write( "    Therefore my grid is with the step 15, and I ask you to stretch your imagination and to think that it is the grid with the step 1. \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "2.  Next, from the plot you can see that working constrain is, actually, the green line.\r\n" );
document.write( "\r\n" );
document.write( "    The other, the red line, only constrains the set of possible solution, but does not work as real constrain in the search \r\n" );
document.write( "    of the maximal profit.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "3.  The blue line in the plot is the line  100X + 60Y = const.\r\n" );
document.write( "\r\n" );
document.write( "    The left side represent the profit function, but it is not a real profit function: it is some its  \"ghost\"/\"phantom\" - \r\n" );
document.write( "    - its section by the plane P = const.\r\n" );
document.write( "\r\n" );
document.write( "    Actually, we should move this blue line PARALLEL TO ITSELF from the \"far outside\" area of quadrant QI  closer \r\n" );
document.write( "    and closer to the origin until this line touches for the first time a grid point in the feasible domain.\r\n" );
document.write( "\r\n" );
document.write( "    Then the value of the profit function at this point will be the maximal profit, and the point itself with its coordinates\r\n" );
document.write( "    will give us the solution in terms of tables and chairs.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "4.  From the plot, it is clear that it will happen at high values of X close to x-intercept of the green line  x= \"305%2F4\" = 76.25.\r\n" );
document.write( "\r\n" );
document.write( "    The simplest way to find this value of X is to express Y = \"%28305-4X%29%2F3\" from (2)  and then find its \r\n" );
document.write( "     integer solution in X and Y in that domain.\r\n" );
document.write( "\r\n" );
document.write( "    It can be done MOMENTARILY (I used Excel, and it gave me integer solution  (X,Y) = (74,3) ).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Thus the optimal solution is the point X = 74 tables and Y = 3 chairs.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "If they follow this optimal solution, their weekly profit will be MAXIMAL, P(X,Y) = 100*X + 60*Y = 100*74 + 60*3 = 7580.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "For similar solved problem see the lesson\r
\n" ); document.write( "\n" ); document.write( "    - Solving minimax problems by the Linear Programming method, Problem 6\r
\n" ); document.write( "\n" ); document.write( "in this site.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "From this lesson, learn the technique and the methodology of solving minimax problems using the Linear Programming method.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "/\/\/\/\/\/\/\/\/\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Another way to solve this problem is to find  (free of charge, preferably)  Internet site/solver for solving
\n" ); document.write( "Linear Programming problems.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then all you need is to input the setup equations and inequalities into the solver and press the  \"Solve\"  button.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you do it,  do not forget to inform the solver that you are looking for  integer solutions.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "But in any case,  you have the setup from me together with detailed explanation on how the method works.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );