document.write( "Question 1023709: Hi, Would you please be able to help me. I need to understand the formula to add into a graphing tool for the following problem:
\n" );
document.write( "A minibus operator is contracted to transport 50 Olympians from the Olympic Village to the Athletic Stadium. He has three type A minibuses and four type B minibuses available. A type A minibus carries 15 people and a type B minibus carries 10 people. Only five drivers are available. It costs $100 to operate a type A minibus and $80 to operate a type B minibus. He wishes to minimise the costs involved to transport the 50 Olympians.
\n" );
document.write( "I've completed the following:
\n" );
document.write( "Variables: Let x represent type A mini bus; Let y represent type B mini bus; Let c represent the minimum cost.
\n" );
document.write( "Constraints:
\n" );
document.write( "x <= 3 (At most 3 type A mini buses available)
\n" );
document.write( "y <= 4 (At most 4 type B mini buses available)
\n" );
document.write( "x + y = 5 (Limit on number of drivers)
\n" );
document.write( "15x + 10y = 50 (Limit on number of passengers who can be carried in both mini buses)
\n" );
document.write( "Objective Function: C = 100x + 80y
\n" );
document.write( "Graphs - I've set the Axis to x: -1 to 10 and y: -1 to 10 and entered the above relations and constraints but don't know how to enter the formula to determine the minimum cost and I don't understand how corner points work.
\n" );
document.write( "Thank you so much for any help you can offer.
\n" );
document.write( "Chris\r
\n" );
document.write( "\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #639199 by Theo(13342)![]() ![]() You can put this solution on YOUR website! you did pretty good in setting up the problem.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "x + y = 5 should be x + y <= 5, since it is possible that the constraints can be satisfied with less than 5 driver.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "15x + 10y = 50 can also be3 15x + 10y >= 50 since there is no restriction that says exactly 50 olympians need to be carried.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "x has to be >= 0 and y has to be >= 0.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "these constraints are usually there but not always specified.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the constraint equations that you need to graph are:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "x <= 3 \n" ); document.write( "y <= 4 \n" ); document.write( "x + y <= 5 which is modeled as y <= 5 - x. \n" ); document.write( "15x + 10y >= 50 which is modeled as y >= (50 - 15x) / 10 \n" ); document.write( "x >= 0 \n" ); document.write( "y >= 0\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you graph the equality portion and then you shade the inequality portion as required.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "your graphed equations would look like this.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " ![]() \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the shaded area represents your region of feasibility.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it is on or above the line x = 0 and on or to the right of the line y = 0.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it is on or to the left of the line x = 3 and on or below the line y = 4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it is on or below the line y = 5 - x.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it is on or above the line y = (50 - 15x) / 10.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the corner points of the region of feasibility are:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "intersection of the line y = (50 - 15x) / 10 and y = 4 = (2/3,4).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "intersection of the line y = 5-x and y = 4 = (1,4).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "intersection of the line x = 3 and y = 5-x = (3,2).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "intersection of the line x = 3 and y = (50 - 15x) / 10 = (3,1/2).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "as can be seen on the graph, those are the corner points of your region of feasibility.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "now that you've found the region of feasbility, all that is left to do is to analyze the objective function at those intersection points.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "your objective function should be maximum or minimum at those intersection points.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the constraint equations also need to be satisfied at those corner points if you graphed correctly.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the added wrinkle is that not all of the corner points are integers, and your solution needs to be integers.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you can't rent a fraction of a bus.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "let's look at the points in turn.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the points are (2/3,4), (1,4), (3,2), (3,1/2).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the point (2/3,4) is not possible. \n" ); document.write( "it either has to be (0,4) or (1,4). \n" ); document.write( "(0,4) won't do because then you can only carry 40 olympians. \n" ); document.write( "the point would have to be (1,4). \n" ); document.write( "(1,4) can carry 15 + 40 = 55 olympians. \n" ); document.write( "that's more than enough so the constraints of carrying are satisfied. \n" ); document.write( "it also satisfies all the other constraints since you have 5 or less drivers x is between 0 and 3, and y is between 0 and 4. \n" ); document.write( "so (1,4) is a valid intersection point.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "(1,4) also happens to be another intersection point on the graph, so we'll just use that and forget about (2/3,4).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "(3,2) is a valid point on the graph. \n" ); document.write( "it carries 3 * 15 + 2 * 10 = 65 olympians. \n" ); document.write( "that satisfies the requirement that 50 or more olympians be carried. \n" ); document.write( "the point doesn't make much sense since it's more type B buses than needed, but it is a valid point because it does satisfy all the requirements. \n" ); document.write( "x is between 0 and 3 and y is between 0 and 4 and it is on or below the line y = 5-x and it is on or above the line y = (50-15x)/10. \n" ); document.write( "so it's another valid point that satisfies all the constraints.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the last point is (3,1/2). \n" ); document.write( "since you can't have 1/2 a bus, then we can round that up or down. \n" ); document.write( "down doesn't make sense since only 45 olympians can be carried. \n" ); document.write( "1 makes more sense, so we'll go with (3,1).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "(3,1) satisfies all the constraints so it's a valid point.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "we have 3 valid points of intersection, otherwise known as the corner points of the feabibility region.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "they are (1,4), (3,2), (3,1).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "what's left is to evaluate the objective function at these corner points.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "at (1,4), the cost is 100 * 1 + 80 * 4 = 420 \n" ); document.write( "at (3,2), the cost is 300 + 160 = 560. \n" ); document.write( "at (3,1), the cost is 300 + 80 = 380.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the minimum cost is at (3,1).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "that's when they rent 3 type A buses and 1 type B bus.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "they will carry 55 olympians which is greater than or equal to 50.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you can pick any other point within the feasibility region and it will not be less than 380 in cost.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "at least that's the theory.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "unfortunately, the point (2,2) is in the feasibility region, but it is not one of the corner points.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the cost would be 2 * 100 + 2 * 80 = 360. \n" ); document.write( "50 olympians can be carried. \n" ); document.write( "only 4 drivers are required.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "why this was not one of the corner points is beyond me.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it is on the line y = (50 - 15x) / 10, however, and it does satisfy all the other constraint, so it is definitely in the feasibility region.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it does appear to be the minimum cost solution even though it's not on one of the corner points.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "this is something you might want to bring up with your instructor.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "i can't explain it.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the method that i showed you is correct, however, despite that wrinkle.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the only change i would make is to have 15x + 10y = 50 rather than 15x + 10y >= 50.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "this would force the solution to be on the line.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the feasibility region would have to be on the line only.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the region of feasibility would just be on the line.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the point (2,2) is still not on a corner of the feasibility region since the only corner points would now be (2/3,4) and (3,1/2).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "bottom line is i have no idea what the instructor was trying to show you with this problem.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "talk to him / her about it.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "see what he or she says.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "let me know what the answer is if you do get an answer.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "this problem is not the usual type of problem.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "most of the time they work out and the solution is at the corner points.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it doesn't appear to be so with this problem.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "i don't see anything in here that would make (2,2) a corner point, even though (2,2) is cheaper (360 versus 380) and it does carry 50 olympians (2*15 + 2*10 = 50), and it does require 5 or less drivers (4 actually).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it's possible i did something wrong, but i'll be damned if i can see it, and i have done many of these in the past successfully.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |