approximation algorithm homework