Use convexity, gradients, Lagrange multipliers, duality, and first- and second-order algorithms for continuous optimization.