Topic 5 · Lesson 1 of 5
Formulating linear programming problems
The three parts
- Decision variables: what you are choosing, with units, for example " = the number of tables made each week". Define them clearly.
- Objective function: what to maximise or minimise, written in terms of the variables, for example "maximise ".
- Constraints: the limits, as linear inequalities, including non-negativity (). Simplify each one by dividing through by any common factor.
Turning words into inequalities
- "At most 60 hours" or "no more than": . "At least" or "no fewer than": .
- Use the same units throughout: if one machine time is in minutes and the limit is in hours, convert.
- Ratios are the commonest trap. "At least twice as many chairs as tables" means (test it: 10 chairs and 5 tables should be allowed). "Tables must be at most a third of the total" means , which simplifies to .
- "At least 30% of the total must be type A": , so .
Worked example
Formulating
A firm makes trays of type X and trays of type Y. Type X uses 1 kg of resin and type Y uses 1 kg; 7 kg is available. Type X takes 1 hour of moulding and Y takes 3 hours; there are 15 hours. Type X takes 2 hours of finishing and Y takes 1 hour; there are 12 hours. Profit is £3 per X and £2 per Y.
Show solutionHide solution
Maximise subject to , , , .
Practise this topic
Quiz me on this topic10 questions, marked as you go.Make a practice paperPick the marks and difficulty. Print it with a mark scheme.
Both are part of Premium.