Solution: Constrained Optimization
Explore constrained optimization by studying the portfolio optimization example and learning to derive and solve the dual problem. Understand the use of Lagrange multipliers, convex duality, and the projected gradient descent algorithm to address constraints efficiently. Gain practical skills to implement and stabilize optimization with NumPy, tackling numerical challenges commonly found in machine learning tasks.
We'll cover the following...
Explanation
In the portfolio optimization problem,
An EMP can be written as a standard minimization problem as follows:
where
In the portfolio optimization problem