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
Sheet 2/4
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.
Sheet 3/4
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.
Sheet 4/4
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
01of 6
Step 1 of 6: Define the decision
Choose the variables, such as batches of each product per week.
01
02of 6
Step 2 of 6: Write the objective
Express profit or cost as a linear function of the variables.
02
03of 6
Step 3 of 6: List the constraints
Write each resource limit, demand cap and minimum as a linear inequality.
03
04of 6
Step 4 of 6: Solve
Use simplex or a solver to find the optimal corner.
04
05of 6
Step 5 of 6: Read the duals
Identify binding constraints and shadow prices to see where more capacity pays.
05
06of 6
Step 6 of 6: Test and revise
Change inputs, re-solve and check that the plan is workable in practice.
06
Click to unfold
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
01
Define the decision
Choose the variables, such as batches of each product per week.
02
Write the objective
Express profit or cost as a linear function of the variables.
03
List the constraints
Write each resource limit, demand cap and minimum as a linear inequality.
04
Solve
Use simplex or a solver to find the optimal corner.
05
Read the duals
Identify binding constraints and shadow prices to see where more capacity pays.
06
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
The questionWhat kind of tool is it?Assessment · Other format · 59 %
Decision stage
Choose between existing optionslikely
The questionWhat stage of the decision are you at?Assessment · Choose between existing options · 76 %
What it applies to
Processes and operationsvery likely
The questionWhat is the decision about?Assessment · Processes and operations · 99 %
Discipline
Lean, operations and qualityvery likely
The questionWhich discipline does it come from?Assessment · Lean, operations and quality · 98 %
IIIResources required
TimeOne hour or lessThe questionHow much time can you spend on this?Assessment · One hour or less · confidence 54 %
PeopleOne person working aloneThe questionHow many people will take part?Assessment · One person working alone · confidence 65 %
DataQuantitative analysisThe questionWhat data do you have available?Assessment · Quantitative analysis · confidence 89 %
ExpertiseWorks best with a facilitatorThe questionDoes anyone have experience with methods like these?Assessment · Works best with a facilitator · confidence 36 %
Time horizonDays or weeksThe questionHow far ahead do you need to plan?Assessment · Days or weeks · confidence 86 %
ScopeA unit or departmentThe questionWho will this decision affect?Assessment · A unit or department · confidence 81 %
FrequencyOccasionallyThe questionIs this a one-off decision or something you expect to repeat?Assessment · Occasionally · confidence 72 %
The team’s own knowledge is enoughThe questionCan you speak to customers, users or people outside your organisation?Assessment · The team’s own knowledge is enough
IITen axes
The dot shows which end the model favours. A hollow dot means no clear preference.
DirectionExecutionThe questionAre you setting direction or improving day-to-day operations?Assessment · Execution · confidence 68 %
Top-downBottom-upThe questionShould leadership set the direction, or should the answer come from the people doing the work?Assessment · Top-down · confidence 91 %
PeopleProcessesThe questionIs this mainly a people problem or a process problem?Assessment · Processes · confidence 94 %
Generate optionsNarrow down optionsThe questionDo you need to generate more options or narrow them down?Assessment · Narrow down options · confidence 95 %
Step-by-step analysisIntuition and experienceThe questionWould you rather work through the evidence step by step or draw on the group’s experience?Assessment · Step-by-step analysis · confidence 83 %
A strict sequence of stepsA flexible frameworkThe questionWould you prefer a precise set of steps or a framework you can adapt?Assessment · Mostly prescribed steps · confidence 52 %
Protect what we havemixedTake a riskThe questionDo you need to protect what you have or take a chance on something new?Assessment · no clear preference (probability is spread across several levels)
Improve what we haveFundamental changeThe questionDo you want to improve what you have or change it fundamentally?Assessment · Improve what we have · confidence 88 %
Inside the organisationOutside the organisationThe questionWhere do you expect to find the answer, inside your organisation or in the market?Assessment · Inside the organisation · confidence 82 %
Understand firstmixedAct nowThe questionDo you need to understand the situation first or act now and learn as you go?Assessment · no clear preference (probability is spread across several levels)
IVUseful when
We don’t have enough time, money or people to do everythingThe questionWhich of these situations sounds familiar?Assessment · a situation I face → useful · 93 %
We don’t know whether it pays off, what it’s worth or how to price itThe questionWhich of these situations sounds familiar?Assessment · a situation I face → useful · 90 %
Applicable traits
How it compares optionsCompares costs and benefitsThe questionHow does it compare options?Assessment · Compares costs and benefits · 91 %
CriteriaUses one criterion or an overall impressionThe questionDo you need to weigh several criteria at once?Assessment · Uses one criterion or an overall impression · 94 %
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.
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
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) ↗