SourceForge has been redesigned. Learn more.
Close

#4 duals wrong in qpng

open
nobody
None
5
2008-02-14
2008-02-14
Anonymous
No

Two constraints, but only one multiplier returned

K>> H = 2*eye(2);
K>> q = [-2;-8];
K>> A = eye(2);
K>> b = [2;2];
K>> [x,obj,lambda,info] = qpng(H,q,A,b)

x =

1
2

obj =

-13

lambda =

4

info =

status: 1
solveiter: 3
time: 0.0313

Discussion


Log in to post a comment.