Professional Documents
Culture Documents
For a particular application we begin with the problem scenario and data, then: 1) Define the decision variables 2) Formulate the LP model using the decision variables
Write the objective function equation Write each of the constraint equations
Resource Data
Yards available Cost per yard per month $20 1,000 $6 $9 2,000 1,250
Material Silk
Polyester Cotton
Product Data
Type of Tie Silk Polyester Blend 1 Blend 2 $3.55 10,000 14,000 0.08 $4.31 13,000 16,000 0.10 $4.81 6,000 8,500 0.10
Selling Price
(per tie)
Material
Silk Polyester Cotton Total yards
Blend 2 (30/70)
0 0.03 0.07 0.10
Decision Variables
S = number of silk ties to make per month P = number of polyester ties to make per month
B1 = number of poly-cotton blend 1 ties to make per month B2 = number of poly-cotton blend 2 ties to make per month
Min and Max Number of Ties to Make 6,000 < S < 7,000
Data
Advertising Options Radio Newspaper (prime time) Radio
(afternoon)
TV Spot
Audience Reached (per ad) Cost (per ad) Max Ads Per week
5,000
8,500
2,400
2,800
$800 12
$925 5
$290 25
$380 20
Other Restrictions Have at least 5 radio spots per week Spend no more than $1800 on radio
Decision Variables T = number of TV spots per week N = number of newspaper ads per week P = number of prime time radio spots per week A = number of afternoon radio spots per week
Budget is $8000 800T + 925N + 290P + 380A < 8000 At Least 5 Radio Spots per Week P+A>5
No More Than $1800 per Week for Radio 290P + 380A < 1800
Max Number of Ads per Week
T < 12 N< 5
Finally nonnegativity
P < 25 A < 20
T, N, P, A > 0
Go to file 3-3.xls
Data
Investment Trade credits Corp. bonds Gold stocks Platinum stocks Mortgage securities Construction loans
Interest Rate
7% 10% 19% 12% 8% 14%
Constraints
Invest up to $ 5 million
Decision Variables
T = $ invested in trade credit
Objective Function (in $ of interest earned) Max 0.07T + 0.10B + 0.19G + 0.12P + 0.08M + 0.14C
Subject to the constraints:
B < 0.25 (T + B + G + P + M + C)
G < 0.25 (T + B + G + P + M + C)
P < 0.25 (T + B + G + P + M + C)
M < 0.25 (T + B + G + P + M + C) C < 0.25 (T + B + G + P + M + C)
At Least 30% Into Precious Metals G + P > 0.30 (T + B + G + P + M + C) At Least 45% Into Trade Credits And Corporate Bonds T + B > 0.45 (T + B + G + P + M + C)
Decision: How many tellers should begin work at various times of the day? Objective: Minimize personnel cost
Time Period 9 10 10 11 11 12
12 1 12 2-3 34 45
16 18 17 15 10
Take a 1 hour lunch break, half at 11, the other half at noon
Cost $90 per day (salary & benefits) Currently only 12 are available
Part time teller hours cannot exceed 50% of the days minimum requirement (50% of 112 hours = 56 hours)
Decision Variables
F = num. of full time tellers (all work 95)
(9-10)
(10-11)
(11-12) (12-1) (1-2) (2-3) (3-4) (4-5)
F < 12
finally nonnegativity: F, P1, P2, P3, P4, P5 > 0
Go to file 3-6.xls
Data
Item 1
Pounds
2
4500
$3.20 0.064
3
3000
$3.45 0.144
4
3500
$4.15 0.448
5
4000
$3.25 0.048
6
3500
$2.75 0.018
5000
$3.10 0.125
Decision Variables
Wi = number of pounds of item i to load onto truck , (where i = 1,,6)
Objective Function (in $ of load value) Max 3.10W1 + 3.20W2 + 3.45W3 + 4.15W4 + 3.25W5 + 2.75W6
Subject to the constraints:
$ per pound Protein per pound Riboflavin per pound Phosphorus per pound Magnesium per pound
Grain B
Decision Variables
A = pounds of grain A to use B = pounds of grain B to use C = pounds of grain C to use
(riboflavin)
(phosphorus)
5A
Decision Variables
PAt = number of motor A to produce in month t (t=1,,4) PBt = number of motor B to produce in month t (t=1,,4) IAt = inventory of motor A at end of month t (t=1,,4) IBt = inventory of motor B at end of month t (t=1,,4)
Month 1 (January)
2 (February) 3 (March) 4 (April)
1000 1400
1100
1400
Production Data
Motor (values are per motor) A B Production cost Labor hours $10 1.3 $6 0.9
Production costs will be 10% higher in months 3 and 4 Monthly labor hours most be between 2240 and 2560
Inventory Data
Motor A B Inventory cost $0.18 $0.13 (per motor per month) Beginning inventory 0 0 (beginning of month 1) Ending Inventory 450 300 (end of month 4)
Production & Inventory Balance 0 + PA1 800 = IA1 (month 1) 0 + PB1 1000 = IB1 IA1 + PA2 700 = IA2 (month 2) IB1 + PB2 1200 = IB2 IA2 + PA3 1000 = IA3 (month 3) IB2 + PB3 1400 = IB3 IA3 + PA4 1100 = IA4 (month 4) IB3 + PB4 1400 = IB4
(month
(month (month