Skip to content

Commit

Permalink
Forgot to check in
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlofberg committed Sep 26, 2018
1 parent 66a7436 commit 7aa2a32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/global/cutsdp.m
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@
p.F_struc = p.F_struc';
p.F_struc = p.F_struc(1:p.K.f+p.K.l+sum(p.K.q),:);
p.sdpsymmetry = [];
%p = detect3x3SymmetryGroups(p);
%[p,p_lp] = addSymmetryCuts(p,p_lp);
p = detect3x3SymmetryGroups(p);
[p,p_lp] = addSymmetryCuts(p,p_lp);

standard_options = p_lp.options;
if p.options.cutsdp.twophase
Expand Down Expand Up @@ -439,7 +439,7 @@
end

if output.problem == 0 && ((integerPhase && pumpPossible) || (integerPhase && (length(p.integer_variables)==length(p.c)) && output.problem == 0))
% p_lp = add3x3sdpsymmetrycut(p,p_lp,x);
p_lp = add3x3sdpsymmetrycut(p,p_lp,x);
end

if upptemp < upper
Expand Down Expand Up @@ -956,7 +956,7 @@ function plotP(p)
dataBlock = p.semidefinite{j}.F_struc(index,:);
used = find(any(dataBlock,1));
dataBlock = dataBlock(:,used);
if used(1) > 0;dataBlock = [zeros(size(dataBlock,1),1) dataBlock];end
if used(1) == 0;dataBlock = [zeros(size(dataBlock,1),1) dataBlock];end
v = used;v = v(v>1)-1;
if all(good(v))
if isempty(groups)
Expand Down

0 comments on commit 7aa2a32

Please sign in to comment.