{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW7_Solutions

# HW7_Solutions - ORIE 3300/5300 ASSIGNMENT 7 SOLUTION Fall...

This preview shows pages 1–4. Sign up to view the full content.

ORIE 3300/5300 ASSIGNMENT 7 SOLUTION Fall 2008 Problem 1 (a) Run the AMPL for each scenario (with respect to data for revenue), we get three different production and sales strategies: Scenario 1: =============== Make [*,*] (tr) : bands coils := 1 5990 1407 2 6000 1400 3 1400 3500 4 2000 4200; Inv [*,*] (tr) : bands coils := 0 10 0 1 0 1100 2 0 0 3 0 0 4 0 0; Sell [*,*] (tr) : bands coils := 1 6000 307 2 6000 2500 3 1400 3500 4 2000 4200; Scenario 2: =============== Make [*,*] (tr) : bands coils := 1 2285.71 4000 2 4428.57 2500 3 1400 3500 4 2000 4200; 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Inv [*,*] (tr) : bands coils := 0 10 0 1 0 0 2 0 0 3 0 0 4 0 0; Sell [*,*] (tr) : bands coils := 1 2295.71 4000 2 4428.57 2500 3 1400 3500 4 2000 4200; Scenario 3: =============== Make [*,*] (tr) : bands coils := 1 0 5600 2 6000 1400 3 4000 1680 4 6500 1050; Inv [*,*] (tr) : bands coils := 0 10 0 1 0 1600 2 0 500 3 0 0 4 0 0; Sell [*,*] (tr) : bands coils := 1 10 4000 2 6000 2500 3 4000 2180 4 6500 1050; (b) Modify the model and data files as follows: 2
Model file set PROD; # products param T > 0; # number of weeks param S >0; # number of scenarios param prob{1..S} >=0, <=1; check: 0.99999 < sum{s in 1..S} prob[s] <1.00001; param rate {PROD} > 0; # tons per hour produced param inv0 {PROD} >= 0; # initial inventory param avail {1..T} >= 0; # hours available in week param market {PROD,1..T} >= 0; # limit on tons sold in week param prodcost {PROD} >= 0; # cost per ton produced param invcost {PROD} >= 0; # carrying cost/ton of inventory param revenue {PROD,1..T, 1..S} >= 0; # revenue per ton sold for each scenario var Make {PROD,1..T, 1..S} >= 0; # tons produced var Inv {PROD,0..T, 1..S} >= 0; # tons inventoried var Sell {p in PROD, t in 1..T, s in 1..S} >= 0, <= market[p,t];

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}