CE 191: Civl and Environmental Engineering Systems...

Post on 24-Jun-2020

24 views 1 download

Transcript of CE 191: Civl and Environmental Engineering Systems...

CE 191: Civl and Environmental Engineering Systems Analysis

LEC 03 : Graphical Solutions to LP

Professor Scott MouraCivl & Environmental EngineeringUniversity of California, Berkeley

Fall 2013

Last Modified: September 22, 2013

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 1

Graphical Solutions of Linear Programs

Example:

min J = 140x1 + 160x2

s. to 2x1 + 4x2 ≤ 285x1 + 5x2 ≤ 50

x1 ≤ 8x2 ≤ 6x1 ≥ 0x2 ≥ 0

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 2

Construction of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 3

Construction of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 4

Construction of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 5

Construction of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 6

Construction of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 7

Construction of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 8

Construction of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 9

Feasible Set Final Result

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 10

Isolines

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 11

Isolines

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 12

Isolines

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 13

Gradient of the cost function

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 14

Uniqueness (or not) of the cost function

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 15

Features of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 16

Features of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 17

Features of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 18

Features of the feasible set

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 19

Feasible set is unbounded

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 20

Objective function might be unbounded too

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 21

Objective function might be bounded

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 22

Optimum may be non-unique

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 23

Feasible set might be empty

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 24

Feasible set might be empty

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 25

Feasible set might be empty

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 26

Feasible set might be empty

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 27

Constraint domination

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 28

Constraint domination

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 29

Constraint domination

dominated

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 30

Graphical solution of LPs: A General Method

Write your LP

Successively eliminate half spaces corresponding to constraints

Is the feasible set empty?

YES→ problem infeasible→ FINISHED

NO→ is the feasible set bounded?

NO→ is solution finite?

NO→ solution is unbounded→ FINISHED

YES→ is there a unique solution?

YES→ corner point solution→ FINISHED

NO→ boundary solution→ FINISHED

YES→ is there a unique solution?

YES→ corner point solution→ FINISHED

NO→ boundary solution→ FINISHED

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 31

Additional Reading

RevelleChapter 3 - A Graphical Solution Procedure and Further Examples

Prof. Moura | UC Berkeley CE 191 | LEC 03 - Graphical Solns of LP Slide 32