How can we find the best decision when choices are limited by constraints?
Formulate and solve linear programming problems graphically to optimise an objective function.
Defining variables, writing constraints, graphing feasible regions, and using the corner-point method to maximise or minimise an objective in TCE Mathematics Applications.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
What this dot point is asking
Linear programming (LP) is a method for making the best decision when resources are limited. Every LP problem has the same skeleton: things you control (variables), a quantity to optimise (objective), and limits you cannot break (constraints).
Formulating the problem
Read the problem and define and precisely, including units. Each resource limit becomes one inequality. Almost every LP problem also includes the non-negativity constraints and , because you cannot make a negative number of items.
Graphing the feasible region
Each inequality defines a half-plane. Graph its boundary line (treat the inequality as an equation), then shade the side that satisfies it. Test a point such as : if it makes the inequality true, shade that side. The feasible region is where all the shaded half-planes overlap; every point in it satisfies every constraint at once.
Solving by corner points
Find the coordinates of each corner (vertex), often by solving the two boundary lines that meet there simultaneously. Substitute each corner into the objective function and compare the values.
The sliding-line method
An alternative is to draw the objective line for any convenient value of , then slide it parallel to itself in the direction of increasing . The last corner it touches before leaving the feasible region is the optimum. This gives the same answer as testing corners and is a good visual check.
When you report an answer, give both the optimal variable values and the optimal objective value, and check that integer answers make sense if the items must be whole (you cannot sell half a chair).