Title: Linear%20Programming%20Formulation
1Linear Programming Formulation
- I. PRODUCT MIX
- II. DIET
- III. FINANCE
- IV. MARKETING
- V. TRANSPORTATION
- VII. Data Envelopment Analysis
2PRODUCT MIX EXAMPLE
34 TYPES OF SHIRTS
- X1 NUMBER BOXES OF SWEATSHIRTS WITH PRINTING ON
FRONT - X2 NUMBER BOXES SWEATSHIRTS PRINTING ON BOTH
SIDES - X3 NUMBER BOXES T SHIRTS FRONT
- X4 NUMBER BOXES T SHIRTS BOTH
4 SHIRT PRODUCTION
- ENOUGH CAPACITY FOR 1200 STANDARD SIZED BOXES
- BUT STANDARD SIZE HOLDS DOZEN T SHIRTS, WHILE A
BOX OF A DOZEN SWEAT SHIRTS IS 3 TIMES THE SIZE
OF A STANDARD SIZE BOX - 3X13X2X3X4 lt 1200
5 PROCESSING TIME
TYPE HOUR PER BOX
X1 .1
X2 .25
X3 .08
X4 .21
6ALL PRODUCTION WITHIN 72 HOURS
7BUDGET25000
TYPE COST PER BOX
X1 36
X2 48
X3 25
X4 35
836X148X225X335X4lt25000
9CAPACITY500 FOR SWEATSHIRTS AND FOR TSHIRTS
10PROFIT PER BOX
TYPE PROFIT
X1 90
X2 125
X3 45
X4 65
11OBJECTIVE FUNCTION
12DIET PROBLEM
13DECISION VARIABLES
- X1NUMBER CUPS OATMEAL
- X2NUMBER EGGS
- X3NUMBER CUPS MILK
- X4NUMBER SLICES WHEAT TOAST
14MINIMIZE COST
FOOD COST
OATMEAL .10
EGG .10
MILK .16
TOAST .07
15OBJECTIVE FUNCTION
16AT LEAST 420 CALORIES
FOOD CALORIES
OATMEAL 100
EGG 75
MILK 100
TOAST 65
17100X175X2100X365X4gt420
18NO MORE THAN 30 CHOLESTEROL
FOOD CHOL
OATMEAL 0
EGG 270
MILK 12
TOAST 0
19270X212X3lt30
20FINANCE EXAMPLE
21DECISION VARIABLES
- X1 IN MUNI BONDS
- X2 IN CERTIF OF DEPOSIT (CD)
- X3 IN T BILLS
- X4 IN STOCK
22RETURN ON INVESTMENT
INVESTMENT ANNUAL RETURN
MUNI .085
CD .05
T .065
STOCK .13
23OBJECTIVE FUNCTION
- MAX .085X1.05X2.065X3.13X4
24NO MORE THAN 20 OF TOTAL INVESTMENT IN MUNI
- GIVEN TOTAL INVESTMENT 70,000
- YOU CALCULATE (.20)(70000)14000
- X1 lt 14000
25CD CONSTRAINT
- AMOUNT INVESTED IN CD SHOULD NOT EXCEED AMOUNT
INVESTED IN OTHER 3 ALTERNATIVES - X2ltX1X3X4
26AT LEAST 30 OF INVESTMENT IN T BILL AND CD
- GIVEN 70,000 INVESTMENT
- YOU CALCULATE (.30)(70000)21000
- X2X3 gt 21000
27RATIO CONSTRAINT
- MORE SHOULD BE INVESTED IN
CDs AND T BILLS THAN IN MUNI AND STOCKS BY A
RATIO OF AT LEAST 1.2 TO 1 - X2 X3 gt 1.2
X1X4 - NOTE EXCEL REQUIRES LINEAR CONSTRAINT
- X2X3 gt 1.2x11.2x4
28INVEST ENTIRE 70,000
29MARKETING EXAMPLE
30DECISION VARIABLES
- X1 NUMBER OF TV COMMERCIALS
- X2 NUMBER OF RADIO COMMERCIALS
- X3 NUMBER OF NEWSPAPER AD
31AUDIENCE
MEDIUM NUMBER OF PEOPLE (EXPOSURE)
TV 20000
RADIO 12000
PAPER 9000
32OBJECTIVE FUNCTION
33BUDGET CONSTRAINT 100,000
MEDIUM COST
TV 15,000
RADIO 6,000
PAPER 4,000
3415000X16000X24000X3 lt 100000
35TV CONSTRAINT
- TV STATION HAS TIME AVAILABLE FOR 4 COMMERCIALS
- X1 lt 4
36RADIO CONSTRAINT
- RADIO STATION HAS TIME AVAILABLE FOR 10
COMMERCIALS - X2 lt 10
37AD AGENCY CONSTRAINT
- AGENCY HAS STAFF AVAILABLE FOR PRODUCING NO MORE
THAN A TOTAL OF 15 ADS - X1X2X3 lt 15
38TRANSPORTATION EXAMPLE
- LOGISTICS, SUPPLY CHAIN MANAGEMENT
39DECISION VARIABLES
- X1A NUMBER OF UNITS SHIPPED FROM WAREHOUSE 1 TO
STORE A - X1B NUMBER OF UNITS SHIPPED FROM WAREHOUSE 1 TO
STORE B - X1C TO STORE C
- X2A FROM WAREHOUSE 2 TO STORE A
-
- X3C FROM W 3 TO STORE C
40COST TO SHIP FROM WAREHOUSE TO STORE
WARE-HOUSE TO STORE SUPPLY
A B C
1 16 18 11 300
2 14 12 13 200
3 13 15 17 200
DEMAND 150 250 200
41OBJECTIVE FUNCTION
- MIMINIZE COST
- MIN 16X1A 14X2A 13X3A
- 18X1B 11X1C17X3C
42CONSTRAINTS
432 CASES
- TOTAL SUPPLYgt TOTAL DEMAND
- SHIPMENTS lt SUPPLY
- SHIPMENTS DEMAND
- THIS EXAMPLE
- TOTAL SUPPLY lt TOTAL DEMAND
- SHIPMENTS SUPPLY
- SHIPMENTS lt DEMAND
44SUPPLY CONSTRAINTS
- (1) WAREHOUSE 1 X1AX1BX1C lt 300
- (2) W. 2 X2AX2BX2C lt 200
- (3) W. 3 X3AX3BX3C lt 200
45DEMAND CONSTRAINTS
- (A)STORE A X1AX2AX3A 150
- (B) STORE B X1BX2BX3B 250
- (C) STORE C X1CX2CX3C 200
46DEA Data Envelopment Analysis
- Compares service units for efficiency
- Inputs teacher/student ratio funds/student
- Outputs test scores
- LP will compare efficiency of 1 school with
other school.
47Inputs
Teacher/student ratio Funds/student
Carey school .08 340
Delancey school .06 460
48Outputs
School Reading test score Math test score
C 81 79
D 81 73
49Decision Variables
- X1 opportunity cost of output 1 (reading score)
- X2 o.c. of output 2 ( math score)
- Y1 o.c. of input 1 (teacher/student ratio)
- Y2 o.c. of input 2 (funds/student)
50Objective Function
- MAXIMIZE Value of Delancey outputs
- We will measure Delancey efficiency
- Data from previous slide output
- MAX 81x1 73x2
51Constraint 1
- Scale Delancey inputs to one, so answer is an
efficiency ratio - Data from previous slide input
- .06y1 460y2 1
52Constraint 2
- Efficiency value of outputs/value of inputs
- Max efficiency 100, so
- value of outputs lt value of inputs
- Carey constraint Carey outputs lt Carey inputs
81x1 79x2 lt .08y1
340y2 - Delancey constraint Del outputs lt Del inputs
81x1 73x2 lt .06y1 460y2
53 output
- Case 1 Maximum objective function value 1, so
Delancey is efficient - Case 2 Maximum objective function value lt 1, so
Delancey is not efficient
54EXCEL USE SOLVER FOR LP