Optimal Solution

Download Report

Transcript Optimal Solution

Linear Programming

Optimal Solutions and Models Without Unique Optimal Solutions http://business.fullerton.edu/isds/jlawrence/SPRING%20 2004/B-Spring%2004/B- PowerPoint%20Excel%20HW.htm

Finding the Optimal Point - Review

X2 1000

Move the objective function line parallel to itself until it touches the last point of the feasible region.

900 800 700 600 500 400 300 200 100 0

OPTIMAL POINT

100 200 300 400 500 600 700 800 X1

Minimization Objective Function

X2 1000 900 800 700 600 500 400 300 200 100 0

OPTIMAL POINT

100 200 300 400 500 600 700 800 X1

X2 1000

Different Objective Function

900 800 700 600 500 400 300 200 100 0

OPTIMAL POINT

100 200 300 400 500 600 700 800 X1

X2 1000

Another Objective Function

900 800 700 600 500 400 300 200 100 0

OPTIMAL POINT

100 200 300 400 500 600 700 800 X1

Still Another Objective Function

X2 1000 900 800 700 600 500 400 300 200 100 0

OPTIMAL POINT

100 200 300 400 500 600 700 800 X1

Extreme Points and Optimal Solutions

Fundamental Linear Programming Theorem: If a linear programming model has an optimal solution, then an extreme point will be optimal.

Why not simply list all extreme points?

More cumbersome than solving the model in most cases.

Model may not have an optimal solution.

X2 1000 900 800 700 600 500 400 300 200 100 0

Models With No Solutions Infeasibility Max 8X s.t.

2X 3X 1 X 1 1 1 X 1 + 5X 2 + 1X 2 ≤ 1000 + 4X 2 ≤ 2400 - X 2 ≤ 350 X 1 , X 2 ≥ 800 ≥ 0

.

No points in common.

No points satisfy all constraints simultaneously.

No Solutions!

Problem is INFEASIBLE.

100 200 300 400 500 600 700 800 X1

Infeasibility

• • •

A problem is

infeasible

when there are no solutions that satisfy all the constraints.

Infeasibility can occur from

– – –

Input Error Misformulation Simply an inconsistent set of contraints Excel – When Solve is clicked:

X2 1000 900 800 700 600 500 400 300 200 100 0

Models With An “Unbounded” Solution Max 8X 1 s.t.

+ 5X 2 X 1 - X 2 ≤ 350 X 1 ≥ 200 X 2 ≥ 200 Unbounded Feasible Region Can increase indefinitely

Unbounded Solution

100 200 300 400 500 600 700 800 X1

Models With An Unbounded Feasible Region – Optimal Solution

X2 1000 900 800 700

Min

s.t.

8X 1 + 5X 2 X 1 - X 2 ≤ 350 X 1 ≥ 200 X 2 ≥ 200

600 500 400

Unbounded Feasible Region

300 200 100

OPTIMAL POINT

0 100 200 300 400 500 600 700 800 X1

• • • • •

Unboundedness An unbounded feasible region extends to infinity in some direction.

If the problem is unbounded, the feasible region must be unbounded.

If the feasible region is unbounded, the problem may or may not be unbounded.

An unbounded solution means you left out some constraints – you cannot make an “infinite” profit.

Excel – When Solve is clicked Means the problem is

unbounded

X2 1000

Multiple Optimal Solutions

900 800 700 600

Optimal Extreme Point MAX 8X1 + 4X2 s.t.

All points on the boundary between 2X 3X 1 1X 1 1 X 1 + 1X 2 + 4X - 1X 2 , X 2 2 ≤ 1000 ≤ 2400 ≤ 350 ≥ 0 optimal extreme points are also optimal

500 400 300

Optimal Extreme Point

200 100 0 100 200 300 400 500 600 700 800 X1

Multiple Optimal Solutions

• •

When an objective function line is parallel to a constraint the problem

can

have multiple optimal solutions.

The constraint must not be a redundant constraint but must be a boundary constraint.

The objective function must move in the direction of the constraint —

In the previous example if the objective function had been

MIN

8X 1 + 4X 2 , then it is moved in the opposite direction of the constraint and (0,0) would be the optimal solution.

Multiple optimal solutions allow the decision maker to use secondary criteria to select one of the optimal solutions that has another desirable characteristic (e.g. Max X 1 or X 1 = 3X 2 , etc.)

Generating the Multiple Optimal Solutions

Any weighted average of optimal solutions is also optimal.

In the previous example it can be shown that the two optimal extreme points are (320,360) and (450, 100).

Thus .5(320,360) + .5(450,100) = (385,230) is also an optimal point that is half-way between these two points.

.8(320,360) + .2(450,100) = (346,308) is also an optimal point that is 8/10 of the way up the line toward (320,360).

Multiple Optimal Solutions in Excel

Excel – Identification of multiple solutions Sensitivity Report If an Allowable Decrease or an Allowable Increase of an Objective Function Coefficient is 0.

We discuss how to generate and choose an appropriate alternate optimal solution using Excel later.

Review

When a linear programming model is solved it:

Has a unique optimal solution

Has multiple optimal solutions

Is Infeasible

Is unbounded

Identification of each

By graph

By Excel

If a linear program has an optimal solution, then an extreme point is optimal.