How can I write the code for optimization problem with adding new constraints that use all optimal solutions in each iteration?
I currently deals with optimization problems with a convex constraint function by cvx.
I consider approximating the function by point-wise maximum function composed of the tangent lines that can be obtained at optimal solutions in each iteration.
However, I am not sure how I can use the previous information and add the constraint in each iteration.