foundations for lp sean eom. in this course, lp is the foundation of all other quantitative models....

27
Foundations for LP Sean Eom

Post on 21-Dec-2015

218 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Foundations for LP

Sean Eom

Page 2: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

In this course, LP is the foundation of all other quantitative models.

Study of LP and related techniques (Integer LP and Goal Programming) requires 2/3 of our time in the semester.

It is critical to understand some building blocks of LP conceps.

Page 3: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Foundational Concepts/tools

Drawing lines on a two-dimensional space

Identifying the feasible area Identifying extreme points and their

values Understanding the properties of the

objective function line

Page 4: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Drawing lines on a two-dimensional space

An LP model consists of the following: Max 3x1 + 3x2

s.t.(subject to)2x1 + 4x2 =< 12

6x1 + 4x2 =< 24x1 , x2 >= 0

Page 5: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

2x1 + 4x2 =< 12

LP constraints must be drawn on a 2D space.

To do so, at minimum two sets of values that are on the constraint line (2x1 + 4x2 = 12) must be found.

For example, x1 = 4, x2 = 1 or x1 = 2, x2 = 2 x1 = 6, x2 = 0 or x1 = 0, x2 = 3

Page 6: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

2x1+4x2=<12

Page 7: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Variations of linear constraints Draw a graph for x1 => .5 (x1 + x2 )

You need to rearrange the constraint. x1 => .5 (x1 + x2 ) x1 -.5 (x1 + x2 ) =>0 x1 -.5x1 -.5x2 ) =>0 .5x1 -.5x2 ) =>0

Page 8: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

6x1 + 4x2 =< 24

At minimum two sets of values that are on the constraint line (6x1 + 4x2 = 24) must be found.

For example, x1 = 2, x2 = 3 or x1 = 4, x2 = 0 x1 = 0, x2 = 6

It is easier for you to find values with (x1 = 0, x2 =? Or x1 = ?, x2 = 0 )

Page 9: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

6x1 + 4x2 =< 24

Page 10: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

All LP constraints on one space

Page 11: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

The Objective Function (Max 3x1 + 3x2 )

The difference between the objective function and constraint lines is the absence of the right-hand side value.

Arbitrary value may be added before drawing the line.

You can use any numbers, but add the smallest number that can be dividable by both coefficients of x1 and x2

In this case, 3.

Page 12: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

3x1 + 3x2 = 3

Page 13: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

All lines on one space

Page 14: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

About the object function line (3x1 + 3x2 = 3)

Page 15: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

About the object function line (3x1 + 3x2 = 3) The objective function line indicates

the $ amount of profits/costs “3x1 + 3x2 = 3” can be interpreted

this way: Any combination of production of the two products along the objective function line produces same profit, $3.

Therefore, it is often called “ISO- profit/cost line. Iso=same.

Page 16: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

3x1 + 3x2 = 6

Page 17: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

3x1 + 3x2 = 60

Page 18: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Interpretation of the objective function line

3x1 + 3x2 = 6 3x1 + 3x2 = 60

The larger right hand side value indicates the larger profit ($)

Page 19: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Figure 1

Page 20: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Figure 2

Page 21: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Figure 3

Page 22: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Feasible area & Extreme points in figure 3

The green colored area is called the feasible area.

There are 4 extreme points in the feasible area.

Extreme points are “corners” (vertices) of the feasible area.

The optimal solution = one of the extreme points

Page 23: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Computing the optimal answer

In figure 3, the optimal point is the intersection of an extreme point and the objective function line.

What is the values of the optimal point (x1=? and x2=?)?

How do you compute them?

Page 24: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Computing the optimal answer Identify the two constraints that

intersect.2x1 + 4x2 =< 12

6x1 + 4x2 =< 24 Ignore in-equality signs

2x1 + 4x2 = 12 (1) 6x1 + 4x2 = 24 (2)

Page 25: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

Computing the optimal answer Eliminate either x1 or x2. In this case, equations 1 and 2

have same objective function coefficient of x2, let’s eliminate x2 first.

2x1 + 4x2 = 12 (1)- ( 6x1 + 4x2 = 24) (2) -4x1 = -12 x1= 3

Use x1= 3 and substitute this value to find x2 using either one of the two equation.2*3 + 4x2 = 126 + 4x2 = 124x2 = 12-6=6x2 = 1.5

Page 26: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and

The final answer is

x1 = 3x2 = 1.5

Z= 3x1 + 3x2 = 3*3 + 3*1.5 =9 + 4.5 =13.5

Page 27: Foundations for LP Sean Eom. In this course, LP is the foundation of all other quantitative models. Study of LP and related techniques (Integer LP and