Homework #4 Solutions

Слайд 2

Page 93, #10 Indices m = mines {1-3} c = customers

Page 93, #10

Indices
m = mines {1-3}
c = customers {1-4}
e = elements

{ash, sulfur}
Data
PRODm = production cost/ton ($) of coal from mine m
CAPm = production capacity of mine m
PROPem = proportion of e per ton in mine m coal
LIMe = maximum proportion of e in all coal shipped
COSTmc = cost/ton ($) to ship from m to c
DEMANDc = tons demanded by customer c
TOTmc = PRODm + COSTmc = total production plus shipping cost
Variables
xmc = tons of coal shipped from m to c
Objective

Constraints

Слайд 3

Page 104, #3 Indices m = months {1-3} c = cake

Page 104, #3

Indices
m = months {1-3}
c = cake type {bf, ch}
Data
DEMANDcm

= demand for cake c in month m
COSTcm = cost for cake c in month m
HOLDc = holding cost/month for cake c
CAP = max cakes baked/month
Variables
xcm = # of cakes c baked in month m
incm = inventory of c at the end of month m
Objective

Constraints

(Algebraic)