Question 1205182
x = gallons of 90 octane gas
y = gallons of low sulfur diesel
objective function is profit = 3.6x + 4.15y which you want to maximize
constraint inequalities are:
x + y <= 1150
.75x + .93y <= 900
y = 2x


using the desmox.com calculator, you would:
graph the opposite of the inequalities.
the area on the graph that is not shaded is the region of feasibility.
the maximum profit will be at the corner points of the feasible region.


here's the graph.


<img src = "http://theo.x10hosting.com/2023/120111.jpg">


note that if you add the requirement that y = 2x, you force the solution to be on the line y = 2x.
the problem states that it is expected that they will sell twice as much diesel as 90 octane.
that is not a hard and fast requirement, but it is reasonable to assume that the maximum solution will be somewhere around that expectation.


without that requirement that y = 2x, your possible solutions are at the following corner points of the graph.
(0,967.742) = 0 * 3.6 + 967.742 * 4.15 = 4016.13
(344.828,689.655) = 344.828 * 3.6 + 689.655 * 4.15 = 4103.45
(941.667,208.333) = 941.667 * 3.6 + 208.333 * 4.15 = 4254.58 *****
(1150,0) = 1150 * 3.6 = 4140


maximum solution without the constraint that y = 2x is at (941.667,208.333) = 4254.58.
with that constraint, the solution is forced to be at (344,828,689.655) = 4103.45 which is the intersection of that line y = 2x with the line that borders the region of feasibility.


if you double the profit of diesel and leave everything else the same, then the maximum solution without the y = 2x constraint becomes 8032.26 at (0, 967.742).
with the constraint, the maximum solution remains at (344.828,689.655) with a total profit of 6965.62.
the same graph applies but the evaluation of the total profit changes.
the profit is not shown on the graph, but is evaluated with the new profit for diesel.
when the profit for diesel becomes 8.3, the profit equations become:
(0,967.742) = 0 * 3.6 + 967.742 * 8.3 = 8032.26 *****
(344.828,689.655) = 344.828 * 3.6 + 689.655 * 8.3 = 6965.52
(941.667,208.333) = 941.667 * 3.6 + 208.333 * 8.3 = 5119.18
(1150,0) = 1150 * 3.6 = 4140
without the y = 2x constraint, the new max profit is 8032.26 at (0,967.742)
with the y = 2x constraint, the new max profit is 6965.52 at (344.828,689.655).