# Data for Killer Drugs Doozey problem (Problem 2 from Homework 3) param nChem := 4; set Ingreds := A B C; param DailyDemand := 900; param MinWeight := A 0.08 B 0.10 C 0.07; param Compos : A B C := 1 0.04 0.08 0.03 2 0.07 0.11 0.09 3 0.14 0.09 0.12 4 0.04 0.05 0.11 ; param Cost := 1 9 2 12 3 17 4 8 ; param MinChem := 1 0 2 0 3 200 4 0 ; param MaxChem := 1 0 2 0 3 0 4 500 ; # A safer way to set the MaxChem limits might be to set the # unspecified MaxChem[j] values as the DailyDemand. Notice how the # Use_MaxChem constraint is specified in the model file---the # constraint is written only when MaxChem[j] > 0.