Constrained Optimisation (AQA A-Level Further Maths): Revision Notes
Constrained Optimisation
Introduction to linear programming
Linear programming consists of mathematical methods used to make optimal decisions in various industrial and economic contexts. The goal is to determine the best combination of quantities (variables) to achieve the most favourable outcome. This typically involves maximising profit or minimising cost whilst working within certain limitations.
Linear programming is particularly powerful because it provides a systematic approach to decision-making problems where you need to allocate limited resources efficiently. Common applications include production planning, resource allocation, transportation logistics, and financial portfolio management.
Linear programming formulation
To convert a real-world problem into mathematical language, you must create a linear programming (LP) formulation. This involves three key components—remember them with the mnemonic "DeCO": Decision variables, Constraints, and Objective function.
Decision variables (control variables)
Definition: The quantities that you can vary in the problem.
These are typically denoted by letters such as , , or . For instance, if a manufacturer produces two types of product, you might let represent the quantity of the first product and represent the quantity of the second product.
Constraints
Definition: The limitations or restrictions on the values that the decision variables can take.
Constraints are expressed as inequalities. They reflect practical limits such as:
- Available resources (raw materials, labour hours, machine time)
- Market restrictions (maximum sales capacity)
- Production requirements (minimum quantities needed)
- Physical limitations (non-negative quantities)
There are typically non-negativity constraints which state that , , etc., because negative quantities usually make no practical sense. These appear in virtually every LP problem unless explicitly stated otherwise.
Objective function
Definition: The quantity to be optimised, which is either maximised or minimised.
The objective function is commonly denoted by (for profit in maximisation problems) or (for cost in minimisation problems). It is expressed as a linear combination of the decision variables, such as:
where and are coefficients representing contribution per unit.
The graphical method
When an LP problem has only two decision variables, you can solve it using the graphical method. This visual approach involves several key steps.
Drawing constraint lines
First, represent each constraint as a line on a coordinate plane:
- Convert each inequality to an equation by replacing the inequality symbol with an equals sign
- Find two points on the line (often by setting then )
- Draw the line through these points
- Determine which side of the line satisfies the inequality
Important convention for boundary lines:
- For strict inequalities ( or ), draw the boundary line dotted
- For non-strict inequalities ( or ), draw the boundary line solid (continuous)
Remember: "Less-or-equal solid, less than dotted"
Shade out the regions that do not satisfy each constraint. This process is called shading out. Use the mnemonic "SHADE OUT": Shade the regions that do NOT satisfy constraints.
Identifying the feasible region
Definition: The feasible region is the set of all points that satisfy all the constraints simultaneously.
On your graph, this is the unshaded region where all constraints overlap. It forms a polygon (possibly unbounded) whose corners are called vertices. All allowable combinations of the decision variables lie within this region, including its boundary lines.
Using the objective line
Definition: The objective line is a line connecting all points for which the objective function has a specified value.
To use the objective line:
- Choose any convenient value for the objective function (e.g., )
- Draw the corresponding line on your graph
- All points on this line give the same value of the objective function
Direction of movement—"Max moves right, Min moves left":
- For a maximisation problem, profit increases as the objective line moves away from the origin (maintaining the same gradient)
- For a minimisation problem, cost decreases as the objective line moves toward the origin
Finding the optimal solution
Key principle—"Vertex Victory": The optimal solution occurs at a vertex (corner point) of the feasible region.
To find the optimal value:
- Identify the vertices of the feasible region
- Calculate the objective function value at each vertex
- Select the vertex giving the best value (maximum for maximisation, minimum for minimisation)
Alternatively, imagine sliding the objective line parallel to itself across the graph:
- For maximisation: Move it away from the origin until it's about to leave the feasible region
- For minimisation: Move it toward the origin until it first touches the feasible region
The last point of contact (for maximisation) or first point of contact (for minimisation) identifies the optimal vertex.
Special case: If the objective line is parallel to a boundary of the feasible region, then all points along that boundary segment give the optimal value. In this case, you have multiple optimal solutions.
Worked examples
Worked Example 1: Maximising Profit (Muesli Production)
Problem: A manufacturer produces two types of muesli: Standard and De Luxe.
| Product | Oat mix (kg) | Fruit mix (kg) | Max sales (kg) | Profit (£ per kg) |
|---|---|---|---|---|
| Standard | 0.8 | 0.2 | 3500 | 0.60 |
| De Luxe | 0.6 | 0.4 | 2000 | 0.80 |
| Availability | 3000 | 1000 |
Determine how much of each type to produce to maximise profit.
Step 1: Define decision variables
Let = kg of Standard muesli produced
Let = kg of De Luxe muesli produced
Step 2: Formulate constraints
Upper limits on sales:
Oat mix constraint:
- Standard uses 0.8 kg per kg, De Luxe uses 0.6 kg per kg
- Total available: 3000 kg
Simplifying by dividing by 0.2:
Fruit mix constraint:
- Standard uses 0.2 kg per kg, De Luxe uses 0.4 kg per kg
- Total available: 1000 kg
Simplifying by dividing by 0.2:
Non-negativity:
Step 3: Formulate objective function
Profit:
Complete formulation:
Maximise
Subject to:
Step 4: Solve graphically
First, draw the constraints and as vertical and horizontal lines. Next, add the constraint . Finally, add to identify the complete feasible region.
The feasible region is shown as the unshaded area where all constraints are satisfied.
Step 5: Find the optimal solution
Draw a sample objective line, say :
This gives points like , , or
As increases, the objective line moves to the right. The maximum profit occurs at the last vertex the line touches before leaving the feasible region.
This occurs where the lines and intersect.
Solving simultaneously:
From the first equation:
Substituting into the second:
Therefore
At the point :
Answer: The optimal production plan is 3000 kg of Standard muesli and 1000 kg of De Luxe muesli, giving a profit of £2600.
Worked Example 2: Minimising Cost (Paper Processing)
Problem: A paper recycler has two processing plants.
| Plant | Waste paper (tonnes/hour) | Cardboard (tonnes/hour) | Cost (£/hour) |
|---|---|---|---|
| Plant A | 4 | 1 | 400 |
| Plant B | 5 | 2 | 600 |
| Requirement | 100 | 35 |
There is a union agreement requiring each plant to operate for at least one third of the total run time. A consignment of 100 tonnes of waste paper and 35 tonnes of cardboard must be processed. Minimise the cost.
Step 1: Define decision variables
Let = hours for Plant A
Let = hours for Plant B
Step 2: Formulate constraints
Union agreement (each plant gets at least 1/3 of run time):
- , which simplifies to
- , which simplifies to
Waste paper requirement:
Cardboard requirement:
Non-negativity:
Step 3: Formulate objective function
Cost:
Complete formulation:
Minimise
Subject to:
Step 4: Solve graphically
The feasible region is bounded by the constraint lines, forming a polygon where all constraints are satisfied.
Step 5: Find the optimal vertex
For a minimisation problem, move the objective line toward the origin (to the left, parallel to itself) until it reaches the last point still in the feasible region.
Testing the vertices:
At and :
Substituting:
, so ,
(approximately £11428.57)
At and :
From the second equation:
Substituting:
(approximately £11333.33)
At and :
Substituting:
,
(£12250)
Answer: The minimum cost is £11333.33, achieved by running Plant A for hours and Plant B for hours.
Worked Example 3: Integer Solutions (Chair Manufacturing)
Problem: A manufacturer makes three types of dining chair (A, B, and C). All chairs pass through cutting, assembly, and finishing workshops. Workshop hours available per week: cutting 50 hours, assembly 35 hours, finishing 40 hours.
| Chair type | Cutting (hours) | Assembly (hours) | Finishing (hours) | Profit (£) |
|---|---|---|---|---|
| A | 0.5 | 0.6 | 0.75 | 20 |
| B | 2 | 1 | 0.75 | 60 |
| C | 0.5 | 0.4 | 0.5 | 20 |
Given that half the chairs sold are type C, find the best production plan.
Step 1: Define decision variables
Let = number of type A chairs
Let = number of type B chairs
Let = number of type C chairs
Step 2: Use the additional constraint
Given that half the chairs sold are type C:
This gives
Substituting reduces the problem to two variables.
Step 3: Formulate constraints
Cutting time:
With :
Simplifying: , or
Assembly time:
With :
Simplifying: , or
Finishing time:
With :
Simplifying: , or
Non-negativity and integer constraints: , and are integers
Step 4: Formulate objective function
Profit:
Complete formulation:
Maximise
Subject to:
- are integers
Step 5: Solve graphically
The optimal solution typically occurs at the intersection of and .
Solving simultaneously gives , but we need integers.
Testing integer points near this vertex:
At :
At :
Answer: The maximum profit of £1720 occurs at , , so .
The best production plan is 15 type A chairs, 14 type B chairs, and 29 type C chairs.
Integer solutions:
When solutions must be whole numbers, the optimal vertex from the continuous solution may give non-integer values. In this case, test integer points in the neighbourhood of the optimal vertex to find which gives the best objective function value.
Worked Example 4: Blending Problem (Vegetable Oil)
Problem: A company buys vegetable oil from two sources (A and B), which are already blends of olive oil, sunflower oil, and other oils.
| Source | Olive oil | Sunflower oil | Other | Cost (p per litre) | Minimum order (litres) |
|---|---|---|---|---|---|
| A | 50% | 10% | 40% | 25 | 35000 |
| B | 20% | 60% | 20% | 20 | 50000 |
The company wants a blend with at least 30% olive oil and at least 30% sunflower oil. They need to produce at least 90000 litres per week at minimum cost.
Step 1: Define decision variables
Let = litres of oil A
Let = litres of oil B
Step 2: Formulate constraints
Olive oil requirement (at least 30%):
Multiplying by :
Simplifying: , or
Sunflower oil requirement (at least 30%):
Simplifying: , or
Minimum orders:
Total production:
Step 3: Formulate objective function
Cost: (in pounds)
Complete formulation:
Minimise
Subject to:
Step 4: Solve graphically
For minimum cost, move the objective line toward the origin until it reaches the first point of the feasible region. This occurs at the intersection of and .
Solving:
At :
Answer: The optimal plan is to use 35000 litres of oil A and 55000 litres of oil B to make 90000 litres of blend at a cost of £19750.
Problem-solving strategy
To solve a linear programming problem systematically, follow these five steps:
-
Identify the decision variables and label them (e.g., , , ...)
-
Express the constraints as inequalities representing resource limitations, requirements, and practical bounds
-
Identify the objective function (to be maximised or minimised)
-
If the problem has two variables, solve graphically:
- Draw lines for each constraint and shade out regions not satisfying them
- Identify the feasible region (unshaded area satisfying all constraints)
- Draw a sample position of the objective line
- Slide the objective line parallel to itself to find where it leaves (maximisation) or enters (minimisation) the feasible region
- The optimal solution occurs at a vertex
-
Answer the question in context with appropriate units
For integer solutions: If the optimal vertex gives non-integer values but integer solutions are required, test integer points near that vertex to find which gives the best objective function value.
For three or more variables: Look for relationships that allow you to reduce the number of variables, or use more advanced techniques beyond the graphical method.
Key Points to Remember:
- Linear programming formulation requires three components: decision variables, constraints, and objective function (remember: "DeCO")
- The feasible region contains all points satisfying all constraints simultaneously—it's the unshaded region on your graph
- The optimal solution for an LP problem always occurs at a vertex (corner point) of the feasible region ("Vertex Victory")
- For maximisation, slide the objective line away from the origin; for minimisation, slide it toward the origin ("Max moves right, Min moves left")
- Non-negativity constraints () are standard unless the problem states otherwise
- When integer solutions are required, test integer points near the optimal vertex to find the best whole-number solution
- Use solid lines for or constraints; use dotted lines for or constraints
- Shade out the regions that do NOT satisfy constraints—the remaining unshaded area is your feasible region