Objective Line
What is the objective line?
- The objective function (for an LP problem with two decision variables) is of the form
- Rearranged, this is of the form ''
- So for a particular value of , there is a straight line graph
- This is the objective line
How does an objective line indicate where the optimal solution is?
- In a linear programming problem, is usually unknown
- It is the quantity that is to be maximised or minimised
- In maximisation problems, increasing the value of
- 'moves' the objective line away from the origin
- and towards the upper boundaries of the feasible region
- In minimisation problems, decreasing the value of
- 'moves' the objective line closer to the origin
- and towards the lower boundaries of the feasible region
- Therefore, the optimal solution to a linear programming problem occurs
- when an objective line passes through a vertex of the feasible region
- The vertex at which this occurs will depend on the gradient of the objective line
How do I find the optimal solution to a linear programming problem using an objective line?
- Whether maximising or minimising, for the objective function
- Choose a value of that is a multiple of and
- Plot the objective line
- This is usually easiest by considering the two points where and where
- Using your ruler, keep it parallel to the objective line just drawn
- Move it away from the origin for a maximisation problem
- Move it towards the origin for a minimisation problem
- The last vertex of the feasible region that your ruler passes through will be the optimal solution to the problem
Examiner Tip
- To show your working (and understanding) draw an objective line each time your ruler passes through a vertex of the feasible region
Worked example
The constraints of a linear programming problem and the feasible region (labelled ) are shown in the graph below.
The objective function, is to be maximised.
Showing your method clearly, use the objective line method to determine the optimal solution to the problem.
To get started, choose a value of that is both a multiple of 30 and 40, e.g. 120
Now plot the objective line with equation
Rearrange if you prefer, but by choosing a multiple of 30 and 40, it is easy to see this line will pass through the points (0, 3) and (4, 0)
After plotting an initial line, slide your ruler parallel and 'up' the graph away from the origin (maximising problem)
Draw an objective line when your ruler passes through a vertex of the feasible region - (8, 0), (4, 6) and (2, 8)
The optimal solution is the last vertex the objective line passes through - which in this case is (2, 8)
The optimal solution is and is maximised at