Skip to content
GabineteTools for thinking

No. 2391Prioritising options

Linear programming

George B. Dantzig (simplex m… · 1947

Wooden board with brass rules that surround an ochre polygon; a long ruler slides to touch a corner marked with a red bead.

The table / Model card · No. 2391 · Prioritising options

Linear programming

Pick quantities that maximise profit (or minimise cost) when every limit and every effect is a straight-line relationship.

The essentials

What it is

What it solves

With limited machine time, labour, materials or budget, how much of each product, route or option should you choose so the total result is best?

When to use it

Use it for product-mix, blending, scheduling, transport and budgeting decisions where quantities can be treated as continuous and effects are proportional, and when you want to know which constraints cost you the most.

Where it comes from

Leonid Kantorovich and Wassily Leontief worked on early forms of LP in the late 1930s, and George Dantzig independently developed the general formulation for US Air Force planning in 1946-47 and invented the simplex method in 1947. Kantorovich and Tjalling Koopmans shared the 1975 Nobel prize in economics. Dantzig gave his own account in 1982 and a book in 1963; Kantorovich's Management Science paper (1960) is a later English publication of his method.

George B. Dantzig and Leonid Kantorovich · 1947

How it works

Write the goal and the limits as linear expressions of the decision variables. Each constraint cuts off part of the space, and what remains is a convex region where the best point sits at a corner. The simplex method starts at one corner and moves along edges to a neighbour that improves the objective, stopping when no neighbour is better. Solving also yields dual values: the shadow price of a constraint is how much the objective rises if you relax it by one unit. Constraints with a positive shadow price are the real bottlenecks, and those with zero have slack. Modern solvers handle millions of variables, and interior-point methods are an alternative to simplex.

You need

Decision variables, an objective with unit profit or cost, resource limits and the usage of each resource per unit of each variable.

You get

Optimal values of the variables, the optimal objective value, which constraints bind, and shadow prices and allowable ranges.

Case

Illustrative case

Verdana Paints makes Interior (profit 20 per batch) and Exterior (profit 30). Each Interior batch needs 4 mixing hours and 1 packing hour; each Exterior needs 3 and 2. There are 240 mixing hours and 100 packing hours a week. Solving 4I + 3E <= 240 and I + 2E <= 100 gives I = 36 and E = 32 with weekly profit 20 x 36 + 30 x 32 = 1,680, both constraints binding. The shadow prices are 2 per extra mixing hour and 12 per extra packing hour, so adding one packing hour beats adding six mixing hours; the manager hires a packing temp, not a new mixer.

A fictional company used to explain the model.

Caution

When to avoid it

  • Avoid it when relationships are strongly non-linear, when decisions are all-or-nothing (use integer programming) or when inputs are too uncertain to trust the numbers.
  • A LP result is only as realistic as its constraints.

Common mistakes

  • Treating a binding constraint as fixed without questioning it.
  • Ignoring integer requirements and rounding badly.
  • Trusting precise outputs from rough input data.
  • Forgetting to check shadow prices, which carry most of the insight.

Known weaknesses

  • Assumes linear, proportional relationships.
  • Treats all quantities as continuous.
  • Sensitive to poor or uncertain inputs.
  • Models hide trade-offs not written as constraints.

How to apply it in 6 steps

How to apply it

Linear programming

6 steps

Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.

View all 6 steps
  1. Define the decision

    Choose the variables, such as batches of each product per week.

  2. Write the objective

    Express profit or cost as a linear function of the variables.

  3. List the constraints

    Write each resource limit, demand cap and minimum as a linear inequality.

  4. Solve

    Use simplex or a solver to find the optimal corner.

  5. Read the duals

    Identify binding constraints and shadow prices to see where more capacity pays.

  6. Test and revise

    Change inputs, re-solve and check that the plan is workable in practice.

Which decisions it helps with

Decision profile

A tool to choose between options on processes and operations.

Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.

IIdentity

Type of tool
Other formatDoes not fit neatly into the available categories
Decision stage
Choose between existing options
What it applies to
Processes and operations
Discipline
Lean, operations and quality

IIIResources required

  • TimeOne hour or less
  • PeopleOne person working alone
  • DataQuantitative analysis
  • ExpertiseWorks best with a facilitator
  • Time horizonDays or weeks
  • ScopeA unit or department
  • FrequencyOccasionally
The team’s own knowledge is enough

IITen axes

The dot shows which end the model favours. A hollow dot means no clear preference.

  • DirectionExecution
  • Top-downBottom-up
  • PeopleProcesses
  • Generate optionsNarrow down options
  • Step-by-step analysisIntuition and experience
  • A strict sequence of stepsA flexible framework
  • Protect what we havemixedTake a risk
  • Improve what we haveFundamental change
  • Inside the organisationOutside the organisation
  • Understand firstmixedAct now

IVUseful when

  • We don’t have enough time, money or people to do everything
  • We don’t know whether it pays off, what it’s worth or how to price it

Applicable traits

  • How it compares optionsCompares costs and benefits
  • CriteriaUses one criterion or an overall impression
How was this profile calculated?

An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.

A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.

On the axes, mixed means the model favours neither end.

How it works →

Thinking space

Prioritising options

They score, sort or vote options that already exist when there are no resources for everything: weighted matrices, RICE, votes.

Membership: 26 % · also “Workflow and delivery” (21 %)

View in the atlas of spaces →

Each point is a model. Distance reflects answers to the decision questions. Light points share this model’s space.

Similar models

Verified sources

Use the arrow keys to move between sources.

Original work

  1. Dantzig, G. B. (1963). Linear Programming and Extensions. Princeton University Press.Dantzig's textbook that set out the formulation, simplex method and duality. Crossref record shows title, author and ISBN 9781400884179.View source: Linear Programming and Extensions (opens in a new tab) ↗

Key development

  1. Kantorovich, L. V. (1960). Mathematical Methods of Organizing and Planning Production. Management Science.English publication of Kantorovich's production-planning method with linear constraints. Crossref record shows title, author and journal; the Russian original is earlier and not checked here.View source: Mathematical Methods of Organizing and Planning Production (opens in a new tab) ↗
  2. Dantzig, G. B. (1982). Reminiscences about the origins of linear programming. Operations Research Letters.Dantzig's own account of how linear programming and the simplex method arose. Crossref record shows title and author.View source: Reminiscences about the origins of linear programming (opens in a new tab) ↗

The catalogue does not yet list a published critique of this specific model.

Wikipedia article (opens in a new tab) ↗