The introduction of second-order cone relaxation constraints significantly increases the solution time #1391
-
Hello professor, in the process of modeling network optimization and reconstruction with the goal of maximizing power supply recovery and optimizing power flow as the main focus, the second-order cone relaxation constraint is not considered. This problem is modeled as a MIP, which can be solved within a few seconds. However, after introducing the second-order cone relaxation constraint, the solution time significantly increased, and even 6 hours were not enough to complete the solution. There may be some unreasonable aspects in the model construction.
%% Variables Pij=sdpvar(NL,1,'full'); % Branch active power, from nodes with smaller numbers to larger ones fl_PF = sdpvar(NL,1,'full'); % Virtual fault flow % Recovery of node load after failure puti=sdpvar(1,1,'full'); % Active power absorbed by the substation node from the upper-level grid x1 = sdpvar(NN,1,'full'); % Optimal active load shedding % Definition of virtual voltage upper limit without considering current %% Define virtual fault flow constraints for i = 1:NN %% Second-order cone relaxation for i=1:NN
end % Branch power and current transmission constraints con=[con,(Pij(2:NL,1)<=0.5)&(Pij(2:NL,1)>=-0.5)]; con=[con,(Pij(2:NL,1)<=0.5)&(Pij(1,1)>=0)]; con = [con,DGp<=0.1,DGp>=0]; %% Linear relaxation of optimal cutting load at nodes for i = 1:NN con = [con,q == fn_PF]; con=[con,-Msxyi<=Pij,Msxyi>=Pij]; con=[con,(fl_PF(:,:)>=0)&(fl_PF(:,:)<=1)]; con = [con,sum(pll)==sum(DGp)+puti-sum(I.*r)]; %% Radiative constraint
con=[con,lxy(:)<=sxyi(:)]; for i = 1:NL for i=1:NN
end con=[con,Pij_sup(2:NL,1)<=0.3715,Pij_sup(2:NL,1)>=-0.3715]; %DG output constraint con=[con,-Msxyi<=Pij_sup,Msxyi>=Pij_sup]; con=[con,V2<=V2_sup]; |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
MISOCP is much less mature than MILP and can thus take much longer to solve |
Beta Was this translation helpful? Give feedback.
Installing the latest version of mosek but without the SCOP module, the solver(mosek) not applicable . Is it because the yalmip version is incompatible?