C.A.20: Solve optimization problems.