Optimization problems with solutions pdf