CME Group Interview Question

Programming to solve an optimization problem.