Skip to content

Commit

Permalink
Revert to code around cplex settings bug
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlofberg committed Jun 24, 2017
1 parent ed21de8 commit fd94521
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions extras/sdpsettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -608,12 +608,13 @@

function cplex = setup_cplex_options
try
% if strfind(version,'2016')
% cplex = cplexoptimset;
% else
v = version;
if strfind(v,'2016') || strfind(v,'2017')
cplex = cplexoptimset;
else
cplex = cplexoptimset('cplex');
cplex.output.clonelog = 0;
% end
end
catch
cplex.presol = 1;
cplex.niter = 1;
Expand Down

0 comments on commit fd94521

Please sign in to comment.