Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Lecture 9: Applications of (Integer) Linear Optimization

Open In Colab

This lecture broadens the range of real-life problems you can cast as (integer) linear optimization, and introduces the modeling tricks that make that possible, partly for their own sake and partly as inspiration for modeling your own problems. Why Linearity Matters, and What Integrality Buys Back, in Integer Optimization, explains why we lean so heavily on these models in the first place; this lecture puts that into practice.

Learning outcomes

On completion of this lecture, you will be able to:

  • recognize and formulate the transportation and transshipment problems;

  • formulate set cover, set covering, and shift-scheduling problems as ILO models;

  • formulate a single-machine scheduling problem as an ILO model, and model fixed costs and either/or conditions with big-M constraints and binary indicator variables.

Applications in This Lecture

Exercises collects the larger, independent exercises for all three.

Every application is introduced in the same steps, which you can also follow when you model a problem of your own:

  1. a practical motivation;

  2. the modeling: a problem definition with generic notation and a concrete example, followed by the decision variables, the objective, the constraints and the complete (I)LO model, all in generic notation;

  3. the model for the example, written out with its numbers;

  4. solving the example in pulp;

  5. possible extensions.