Optimal Solutions and Optimal Values

What you will be able to do

Given a solved or solvable optimization problem, the learner can report the optimal solution and the optimal value as distinct objects, can state when the optimal set contains more than one point, and can recognize when no optimal solution exists.

Orientation

"The best is 480" and "the best plan is six benches and two stools" answer different questions. One of them can be unique while the other is not.

Exam answers lose marks here more often than anywhere else in the subject, because the two are reported in the same sentence and the question usually asks for only one of them.

Intuition

The optimal solution and the optimal value

Two different things come out of an optimization problem.

The optimal solution is a choice: which quantities to set, and to what. It is a point.

The optimal value is what that choice scores: the number the objective returns there. It is a single number.

Asking what should we do? wants the first. Asking how much can we make? wants the second. They can come apart: several different choices may score exactly the same best number, so there can be many optimal solutions but never more than one optimal value.

Definition

Optimal solution and optimal value

For a problem minimizing f over a feasible set F :

A point x ⋆ ∈ F is an optimal solution if f ( x ⋆ ) ≤ f ( x ) for every x ∈ F .

The optimal value is the number f ( x ⋆ ) , written min x ∈ F f ( x ) .

The set of all optimal solutions is the optimal set, arg ⁡ min x ∈ F f ( x ) . It may contain one point, many points, or none at all.

The optimal value is unique whenever it exists: if x ⋆ and y ⋆ are both optimal, then f ( x ⋆ ) ≤ f ( y ⋆ ) and f ( y ⋆ ) ≤ f ( x ⋆ ) , so f ( x ⋆ ) = f ( y ⋆ ) . The two choices differ; the number they score cannot.

Example

Reporting the right object

One optimal solution. Minimise x subject to x ≥ 2 . The optimal solution is x = 2 ; the optimal value is 2. Here they happen to be the same number, which is exactly why this case teaches the distinction badly on its own.

Many optimal solutions, one optimal value. Maximise x + y subject to x + y ≤ 4 , x , y ≥ 0 . Every point on the segment from ( 4 , 0 ) to ( 0 , 4 ) is optimal, infinitely many optimal solutions. The optimal value is 4 for all of them.

No optimal solution, though feasible points exist. Minimise x subject to x > 0 . Every feasible point has a smaller feasible point below it, so no choice attains a minimum. The greatest lower bound is 0, but 0 is not feasible: there is no optimal solution and no optimal value.

How to report. What should we produce? answers with a point: 4 chairs and 0 tables. What is the maximum profit? answers with a number: 160. Giving a point where a number was asked, or a number where a point was asked, does not answer the question.

Contrast

Two answers that look alike

Maximise 3 x 1 + 3 x 2 subject to x 1 + x 2 ≤ 10 , x 1 , x 2 ≥ 0 .

Not a complete answer. The optimum is 30.

This gives the value and calls it the optimum. If the question asked what to produce, it has not been answered, and it hides that the answer is not a single choice.

Not a correct answer. The optimal solution is 30.

30 is a number, not a point. No choice of x 1 and x 2 has been named.

A complete answer. Every point with x 1 + x 2 = 10 and x 1 , x 2 ≥ 0 is an optimal solution, for instance ( 10 , 0 ) , ( 0 , 10 ) , or ( 5 , 5 ) . The optimal value is 30.

The test: a solution is something you could act on, and a value is something you could put in a budget. If your answer to what should we do is a number, you have reported the wrong object.

Next step

Practice Optimal Solutions and Optimal Values

Practice this

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.