Students may work in groups of up to three people. You may consult only your textbooks, your notes, and me.
Due: Friday, December 5. (20 points)
SigmaPi now want to make the model a better representation of their operations.
In particular, they want to make two modifications:
| Fixed charge | Charge per carton | |
| Washington | $40000 | $300 |
| Michigan | $10000 | $400 |
| New Zealand | $40000 | $100 |
Thus, if 250 cartons of apples are ordered from New Zealand in a particular month then
the cost is $40000 + 250
$100 = $65000.
Add these restrictions to the model and resolve it. Hand in your new model file, highlighting the changes you made. What is the new optimal value? How many cartons and bushels are bought? What is the unmet demand?
AMPL hints:
var make {SET} binary;
var make {SET} >= 0, <= 100, integer;
sell['generic','Birmingham',t]where
http://www.rpi.edu/~mitchj/ILOG11.htmIt is also available on RCS. Instructions for using it on RCS are available from
http://www.rpi.edu/~mitchj/cplex11.htmlFrom a unix machine, use ssh rcs-sun.rpi.edu or ssh rcs-ibm.rpi.edu to access RCS. From a Windows machine, you can use SecureCRT; you need to connect to rcs-sun or rcs-ibm to ensure that cplex and ampl are available.
Alternatively, you can submit your model to the NEOS server at
http://www-neos.mcs.anl.gov/neos/I would suggest using either the solver cbc or the solver MINTO. Note that you will need to use a commands file if you want to get output that is nicely formatted and easy to interpret.
A simple commands file is the following:
solve;
display buy;
display sell;