A Primer on Mixed Integer Linear Programming Using Matlab, AMPL and CPLEX at Stanford University Steven Waslander, May 2 nd, 2005.