← All lessons

Linear programming

Step 1 of 36
The idea

You're a farmer

You own 8 acres. You can plant wheat or barley.

  • Each acre of wheat earns 50,000.
  • Each acre of barley earns 30,000.

All wheat looks best until the catch. Wheat needs 20 litres of pesticide per acre, barley only 10 litres, and the government allows only 100 litres in total.

So what mix earns the most? Answering questions like this is linear programming (LP). This is problem 1 on your class sheet.