Optimization is the science of making a best choice in the face of conflicting requirements. Any convex optimization problem has …