diff options
Diffstat (limited to 'macros/qpipoptmat.sci')
-rw-r--r-- | macros/qpipoptmat.sci | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/macros/qpipoptmat.sci b/macros/qpipoptmat.sci index 4b8e427..3f58e70 100644 --- a/macros/qpipoptmat.sci +++ b/macros/qpipoptmat.sci @@ -336,11 +336,13 @@ function [xopt,fopt,exitflag,output,lambda] = qpipoptmat (varargin) output.Iterations = iter; lambda = struct("lower" , [], .. "upper" , [], .. - "constraint" , []); + "eqlin" , [], .. + "ineqlin" , []); lambda.lower = Zl; lambda.upper = Zu; - lambda.constraint = lmbda; + lambda.eqlin = lmbda(1:nbConEq); + lambda.ineqlin = lmbda(nbConEq+1:nbCon); select status |