Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A problem has the rules and , with and . First find the largest value of over the region , , . Then say how many feasible points the problem has.
If the rules clash, there is no feasible solution. If the lines are parallel to an edge, both corners of that edge, and every point between them, give the optimal value. linprog minimises, so negate to maximise and turn rules round by multiplying by .
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. The values of . At it is . At it is . At it is .
Step 2. The largest. It is .
Step 3. Compare. The second rule needs , but no point of the first region reaches more than . So no point obeys both.
Answer: the largest value is and there are feasible points. There is no feasible solution.
Log in to join the discussion.
Loading…