Solution to an optimization problem set in an operations research class.