Relative Content

Tag Archive for pythonconstraintscvxpyconvex-optimization

Reformulation of SOCP constraints for convex optimization problem

I am doing a convex optimization problem related to reactive power management
on a network. When trying to compile my problem on CVXPY, I have a problem with two constraints
which do not comply with DCP rules. By doing some research, I saw that there is
a possibility of reformulating them in order to respect the DCP rules in particular by using
the cp.SOC function of CVXPY. The problem is that I don’t see how to do it.
The two constraints are as follows: