Dist - SHIPPING SETS AND PARAMETERS s set whse'warehouses Locations from which demand is satisfied set dctr'distribution centers within whse

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
### SHIPPING SETS AND PARAMETERS ### # set whse 'warehouses'; # Locations from which demand is satisfied s set dctr 'distribution centers' within whse; # Locations from which product may be shipped param sc 'shipping cost' {dctr,whse} >= 0; # Shipping costs, to whse from dctr, in $ / 100 lb param huge 'largest shipping cost' > 0; # Largest cost allowed for a usable shipping route param msr 'minimum size restriction' {dctr,whse} logical; # True indicates a minimum-size restriction on # direct shipments using this dctr --> whse route param dsr 'direct shipment requirement' {dctr} >= 0; # Minimum total demand, in pallets, needed to # allow shipment on routes subject to the # minimum size restriction ### PLANT SETS AND PARAMETERS ### # set fact 'factories' within dctr; # Locations where product is manufactured param rtmin 'regular-time total minimum' >= 0; # Lower limit on (average) total regular-time # crews employed at all factories param rtmax 'regular-time total maximum' >= rtmin; # Upper limit on (average) total regular-time # crews employed at all factories param otmin 'overtime total minimum' >= 0; # Lower limit on total overtime hours at all factories param otmax 'overtime total maximum' >= otmin; # Upper limit on total overtime hours at all factories param rmin 'regular-time minimums' {fact} >= 0; # Lower limits on (average) regular-time crews param rmax 'regular-time maximums' {f in fact} >= rmin[f]; # Upper limits on (average) regular-time crews param omin 'overtime minimums' {fact} >= 0; # Lower limits on overtime hours param omax 'overtime maximums' {f in fact} >= omin[f]; # Upper limits on overtime hours param hd 'hours per day' {fact} >= 0; # Regular-time hours per working day param dp 'days in period' {fact} > 0; # Working days in the current planning period ### PRODUCT SETS AND PARAMETERS ### # set prod 'products'; # Elements of the product group param wt 'weight' {prod} > 0; # Weight in 100 lb / 1000 cases param cpp 'cases per pallet' {prod} > 0; # Cases of product per shipping pallet param tc 'transshipment cost' {prod} >= 0; # Transshipment cost in $ / 1000 cases param pt 'production time' {prod,fact} >= 0; # Crew-hours to produce 1000 cases param rpc 'regular-time production cost' {prod,fact} >= 0; # Cost of production on regular time, # in $ / 1000 cases
Background image of page 1

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

View Full DocumentRight Arrow Icon
param opc 'overtime production cost' {prod,fact} >= 0; # Cost of production on overtime, in $ / 1000 cases ### DEMAND SETS AND PARAMETERS ### # param dt 'total demand' {prod} >= 0; # Total demands for products, in 1000s param ds 'demand shares' {prod,whse} >= 0.0, <= 1.0; # Historical demand data, from which each # warehouse's share of total demand is deduced param dstot {p in prod} := sum {w in whse} ds[p,w]; # Total of demand shares; should be 1, but often isn't param dem 'demand' {p in prod, w in whse} := dt[p] * ds[p,w] / dstot[p]; # Projected demands to be satisfied, in 1000s set rt 'shipping routes available' := {d in dctr, w in whse: d <> w and sc[d,w] < huge and (w in dctr or sum {p in prod} dem[p,w] > 0)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/01/2011 for the course CO 370 taught by Professor Henry during the Winter '11 term at Waterloo.

Page1 / 8

Dist - SHIPPING SETS AND PARAMETERS s set whse'warehouses Locations from which demand is satisfied set dctr'distribution centers within whse

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online