OptTek Systems interview question

Solve an optimization problem and code it up in Java.