CVXPY Documentation

prob.solve()returns the optimal value and updates prob.status, prob.value, and the valuefield of all the variables in the problem. 2.1.1Changing the problem Problemsare immutable, meaning they cannot be changed after they are created. To change the objective or con-straints, create a new problem. # Replace the objective. ................
................