Skip to content

Commit

Permalink
Force using quadprog as model exporter in kkt
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlofberg committed Jun 21, 2023
1 parent 5ac17db commit 680e018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/@lmi/kkt.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
parametricVariables = [parametricVariables(:); temporary_parameters];
end

[aux1,aux2,aux3,model] = export(F,h,sdpsettings('solver','quadprog','relax',2));
[aux1,aux2,aux3,model] = export(F,h,sdpsettings('solver','+quadprog','relax',2));
if isempty(model)
error('KKT system can only be derived for LPs or QPs');
end
Expand Down

0 comments on commit 680e018

Please sign in to comment.