Docsity

Basics of Linear Programming Problems | AGEC 622, Study notes of Agricultural engineering

Partial preview of the text

Download Basics of Linear Programming Problems | AGEC 622 and more Study notes Agricultural engineering in PDF only on Docsity!

Basics of

Linear Programming (LP) Problems

Notes for AGEC 622

Bruce McCarl Regents Professor of Agricultural Economics Texas A&M University

Basic LP Problem

McCarl and Spreen Chapter 2

A LP problem is a linear form of mathematical programming

This formulation may also be expressed in matrix notation.

Max CX Subject to AX < b X > 0

0

...

......

...

...

.. ...

...

1 2 3

1 1 2 2 3 3

21 1 32 2 33 3 3 3

21 1 22 2 23 2 2 2

11 1 12 2 13 3 1 1

1 1 2 2 3 3

≥

      • ≤
      • =
      • ≥
      • ≤

n

m m m mn n m

n n

n n

n n

n n

X X X X

a X a X a X a X b

a X a X a X a X b

a X a X a X a X b

st a X a X a X a X b

Max c X c X c X c X

&&& &&& &&& &&& &&& &&&

Basic LP Application

Joe’s Van Shop

Joe is limited to the number of vans he can convert. The shop can work on no more than 12 vans in a week, so:

X (^) fancy + X (^) fine < 12

Labor is also limiting. Joe has seven employees who work eight hours per day, five days a week. Therefore, he has at most 280 hours of labor available in a week. Joe has found that a fancy van will take 25 labor hours to make, while a fine van takes 20.

25 X (^) fancy + 20 X (^) fine < 280

Joe can also only convert nonnegative numbers of vans. So:

X (^) fancy , X (^) fine > 0

Basic LP Application

Joe’s Van Shop

So Joe’s LP problem is:

Maximize 2000 X (^) fancy + 1700X (^) fine s.t. X (^) fancy + X (^) fine < 12 25 X (^) fancy + 20 X (^) fine < 280 X (^) fancy , X (^) fine > 0

Such a problem can be solved a number of ways.

The answer is:

Z=profits=$ 22800 X (^) fancy = 8 X (^) fine = 4

This solution uses all of our labor and capacity. We also get shadow prices.

Capacity value = $500 per van Labor value = $60 per hour

Assumptions of LP

Attributes of model objective function appropriateness decision variable appropriateness constraint appropriateness

Math in model proportionality additivity divisibility certainty

Assumptions - Attributes of model

Objective Function Appropriateness

The objective function is the proper and sole criteria for choosing among the feasible values of the decision variables.

Decision Variable Appropriateness

The decision variables are all fully manipulatable within the feasible region and are under the control of the decision maker.

All appropriate decision variables have been included in the model.

Assumptions - Math in model

Proportionality

The contribution per unit of a variable to any equation is constant. There are no economies of scale

Additivity

Contributions of variables to an equation are additive. The objective function and resource use equals the sum of contributions of each variable times levels. This rules out interaction or multiplicative terms in the objective function or the constraints.

Divisibility

All decision variables can take on any nonnegative value including fractional ones. In other words, the decision variables are continuous.

Certainty

All parameters are known constants. The optimum solution is predicated on perfect knowledge of all

parameter values.