parent
b57e14a499
commit
b3892896ec
|
|
@ -22,7 +22,7 @@ Init_L=1*sparse(ones(RestraintCount,1));
|
|||
Init_U=1*sparse(ones(RestraintCount,1));
|
||||
Init_Y=sparse(2*busNum,1);%µÈÊ½Ô¼Êø³Ë×Ó
|
||||
Gap=(Init_L'*Init_Z-Init_U'*Init_W);
|
||||
kmax=100;
|
||||
kmax=30;
|
||||
isSetBound=0;
|
||||
largerBound=1;
|
||||
realBound=0;
|
||||
|
|
@ -70,7 +70,7 @@ while(abs(Gap)>1e-4)
|
|||
lower=ones(length(Loadi)*2,1);
|
||||
% if abs(Gap)<1 || isSetBound==1
|
||||
|
||||
if abs(Gap)<1000
|
||||
if abs(Gap)<0.01
|
||||
largerBound=0;
|
||||
realBound=1;
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue