LINEAR PROGRAMMING
Download
1 / 52

Linear Programming - PowerPoint PPT Presentation


  • 1710 Views
  • Updated On :

LINEAR PROGRAMMING. These visual aids will assist in class participation for the section on Linear Programming. They have no new information and less detail than the Word Document. Concepts and geometric interpretations Basic assumptions and limitations Post-optimal, results analysis

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Linear Programming' - Olivia


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Slide1 l.jpg

LINEAR PROGRAMMING

These visual aids will assist in class participation for the section on Linear Programming. They have no new information and less detail than the Word Document.

  • Concepts and geometric interpretations

  • Basic assumptions and limitations

  • Post-optimal, results analysis

  • Model formulations

  • (Details in Notes, textbook, and references)


Slide2 l.jpg

LINEAR PROGRAMMING

Multiple choice question: Why study Linear Programming?

1. The professor cannot formulate N-L models

2. Linear programming is the most frequently used optimization method.

3. Linear programming was developed in the 1940’s

4. Formulation and solution knowledge will also help when addressing non-linear models

5. Excellent software is available


Slide3 l.jpg

LINEAR PROGRAMMING

Models must conform to these restrictions

  • Linearity

  • Divisibility

  • Certainty


Slide4 l.jpg

LINEAR PROGRAMMING

Models must conform to these restrictions

  • Linearity

  • Divisibility

  • Certainty


Slide5 l.jpg

LINEAR PROGRAMMING

Models must conform to these restrictions

  • Linearity

  • Divisibility

  • Certainty


Slide6 l.jpg

LINEAR PROGRAMMING

Linear programming is formulated using the general problem statement. How do we satisfy the modelling limitations?

Objective function

Equality constraints

Inequality constraints

Variable Bounds


Slide7 l.jpg

LINEAR PROGRAMMING

Linear programming is formulated using the general problem statement. We must learn some formulation “tricks”.

Objective function

Equality constraints

Inequality constraints

Variable Bounds


Slide8 l.jpg

LINEAR PROGRAMMING

Linear programming requires inequality constraints. Remember that they require the lhs (lefthand side) to be less than or greater than or equal to the rhs (right hand side).


Slide9 l.jpg

LINEAR PROGRAMMING

Corner Point: A solution for a linear program is a corner point that is located at the intersection of inequality constraints. A point is a corner point (p) if every line segment in the set (feasible region) containing p has p as an endpoint. When explaining linear programming, various references use the following terms, all having the same meaning: corner point, extreme point, and vertex.


Slide10 l.jpg

LINEAR PROGRAMMING

The best corner-point solution must be the optimal value of the objective function! Thus,if the problem has one optimal solution, it must be a corner point (vertex); if it has multiple optimal solutions, at least two must be located at corner points (vertices).


Slide11 l.jpg

LINEAR PROGRAMMING

Linear programming is a convex optimization problem; therefore, in linear programming a local optimum is a global optimum!


Slide12 l.jpg

LINEAR PROGRAMMING

Using the Corner Point concept as the foundation for a solution method.

Let’s just calculate the objective function value at all corner points and select the best. With 20 variables and ten constraints, 185,000 corner points exist! And, that is a small problem.

Back to the drawing board!


Slide13 l.jpg

LINEAR PROGRAMMING

Using the Corner Point concept as the foundation for a solution method.

We want to convert this general formulation to a system of linear equations - we know how to solve these!


Slide14 l.jpg

LINEAR PROGRAMMING

Using the Corner Point concept as the foundation for a solution method.

We will add “slack” variables to all inequalities to convert them to equalities.

What do the slack variables measure?


Slide15 l.jpg

LINEAR PROGRAMMING

Using the Corner Point concept as the foundation for a solution method.

We have the LP problem in “Standard Form”. Note that the system has more variables than equations.




Slide18 l.jpg

LINEAR PROGRAMMING

Using the Corner Point concept as the foundation for a solution algorithm - the Simplex Tableau.

The Simplex method moves for among feasible corner points to find the best. But, it requires an initial feasible corner point. The “Big-M” method adds artificial variables.

Po = c1x1 + …. + cnxn the original objective

Pa = c1x1 + …. + cnxn + Mxa1 + ….+Mxam the modified objective

The artificial variables get us started, but they must not appear in the optimal solution.


Slide19 l.jpg

LINEAR PROGRAMMING

The artificial variables give us an initial solution in canonical form.


Slide20 l.jpg

LINEAR PROGRAMMING

Using the Corner Point concept as the foundation for a solution method - the Simplex Algorithm.

Start here

1. Are we optimal; if yes, we are done

2. If not optimum, move along an edge to an adjacent feasible corner point. Select the corner point that has the largest rate of change of the objective.


Slide21 l.jpg

LINEAR PROGRAMMING

Using the Corner Point concept as the foundation for a solution method - the Simplex Algorithm.

Start here

1. Are we optimal;

2. Move along an edge to an adjacent corner point.

3. This adds one variable to the basis and removes another variable from the basis.


Slide22 l.jpg

Iteration 1

Iteration 3

Iteration 2

LINEAR PROGRAMMING

Using the Corner Point concept as the foundation for a solution method - the Simplex Algorithm.


Slide23 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Extensions

  • Variables can be positive, zero, or negative

  • x = x’ – x’’ with x’  0 and x’’  0

  • Variables can have upper bounds

  • (We can do this without adding constraints)

  • Efficient Calculations

  • - Do not recalculate a big matrix every time

  • - Restart from a previous solution


Slide24 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • NO FEASIBLE SOLUTION

  • Diagnosis -

  • Remedial Action -


Slide25 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • NO FEASIBLE SOLUTION

  • Diagnosis - At least one artificial variable in optimal basis - software reports this as infeasible.

  • Remedial Action - reformulate, if appropriate


Slide26 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • UNBOUNDED SOLUTION

  • Diagnosis -

  • Remedial Action -


Slide27 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • UNBOUNDED SOLUTION

  • Diagnosis - The distance to the next corner point is infinity - software will report.

  • Remedial Action - Reformulate, which is always possible - realistic variables never go to 


Slide28 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • ALTERNATIVE OPTIMA

  • Diagnosis -

  • Remedial Action -


Slide29 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • ALTERNATIVE OPTIMA

  • Diagnosis 1 - The basis can change with no change in objective.

  • One or more non-basic variables has a zero marginal cost.

  • Software does not report warning


Slide30 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • ALTERNATIVE OPTIMA

  • Diagnosis 2 - One or more active constraint rhs can be changed without affecting the objective.

  • An active constraint has a zero marginal value.

  • Software does not report warning

Constraint rhs can be changed with no change to OBJ


Slide31 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • ALTERNATIVE OPTIMA

  • Remedial action- We have found the best value of the objective function!

  • We likely prefer one of the different sets of x values. We would like to know all solutions and select the “best”, using other criteria.


Slide32 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • CONSTRAINT

  • DEGENERACY

  • Diagnosis -

  • Remedial Action -


Slide33 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • CONSTRAINT

  • DEGENERACY

  • Diagnosis - The marginal value of an active constraint rhs depends upon the direction of change.

  • The range of the (non-zero) marginal value is 0.0 in one direction.


Slide34 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm Weird Events

  • CONSTRAINT

  • DEGENERACY

  • Remedial action- The solution is correct.

  • The sensitivity information is not reliable!

  • If you need sensitivity information, introduce the change (rhs, cost, etc.) and rerun the optimization.


Slide35 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm - Great News - Sensitivity

We always want to answer “what if” questions. Much valuable information is available with the optimal solution!

1. Sensitivity = z/ with all x = constant

2. Sensitivity = z/ with all basic variables, xB, allowed to change so the results represent an optimal solution, i.e., corner point, for the modified problem.

The sensitivity is reported using the optimal basis and evaluates the range and effects of parameter changes within the basis, i.e., without requiring a basis change.


Slide36 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm - Great News - Sensitivity

Change to rhs, e.g., max production rate, min flow, etc.

One-at-a-time changes to a rhs parameter

0

Resulting change in basic variables; non-basic are not changed if bi small


Slide37 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm - Great News - Sensitivity

One-at-a-time changes to a rhs parameter

How much can we change constraint 1 without changing the basis?


Slide38 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm - Great News - Sensitivity

One-at-a-time changes to a rhs parameter - Software products report the value and range of the sensitivity for every constraint! Outside of the range, the basis changes; what do we do?

Remember to check for constraint degeneracy!

Check the units!!!!!


Slide39 l.jpg

LINEAR PROGRAMMING

The LP Simplex Algorithm - Great News - Sensitivity

Sensitivity to one change in cost - basic variable


Slide40 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs


Slide41 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Straightforward model represents effects of dominant variables and ignores all other effects.


Slide42 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Base-Delta models include the effects of secondary variables over a limited range

Fi =  (F) +  (T-T0) +  (P-P0)

 is the “yield” at T0 and P0


Slide43 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Disjunctive Programming provides alternative models for the same system.


Slide44 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Separable Programming extends the range over which the linear models are accurate by using piecewise linear models.


Slide45 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Goal Programming provides a method for “getting close” to desired conditions that are not possible. This is a penalty function.

We want to achieve three properties and the total flow by mixing two flows.

What do we do?


Slide46 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Goal Programming

Extra variables are added to ensure “math” feasibility; they measure the amount of infeasibility related to the original problem.

They are penalized to minimize infeasibility.


Slide47 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Linearizing Transformations - Some properties can be transformed to behave linearly.


Slide48 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Flow-property relationships- When properties combine linearly and the properties do not depend on the variables (flows), a special formulation can be used.

Non-linear

Linear


Slide49 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Mini-Max Problem- Often, we have a range of outcomes possible from alternative systems.

These could systems could be

- Alternative decisions (e.g., investments)

- possible outcomes from an uncertain system

Here, we would like to consider every system and minimize the worst case, i.e., the maximum of the minimums.


Slide50 l.jpg

LINEAR PROGRAMMING

Formulating Models for LPs

Mini-Max Problem- Minimize the worst case, i.e., the maximum of the minimums from all systems.

fi = a set of linear equations and inequalities with the parameters i yielding an objective function fi

i = The parameters associated with outcome I

x = The optimization variables, which are used in every model I


Slide51 l.jpg

LINEAR PROGRAMMING

  • The LP solution method offers the following:

  • whether the feasible region is unbounded (giving an objective value of ).

  • whether feasible region does not exist (no solution).

  • the unique optimum value of the objective at a corner point, or the existence of multiple optima.


Slide52 l.jpg

LINEAR PROGRAMMING

  • The LP solution method offers the following:

  • excellent sensitivity information regarding the effects of changes in selected parameters.

  • Excellent software

  • Extremely fast solutions

We will seek to formulate an optimization problem as an LP, when the method provides adequate accuracy for the problem being solved.


ad