diff options
Diffstat (limited to 'tests/general_tests/qpipoptmat/qpipoptmat_H1.sce')
-rw-r--r-- | tests/general_tests/qpipoptmat/qpipoptmat_H1.sce | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_H1.sce b/tests/general_tests/qpipoptmat/qpipoptmat_H1.sce index 0bc90df..b4f2e3a 100644 --- a/tests/general_tests/qpipoptmat/qpipoptmat_H1.sce +++ b/tests/general_tests/qpipoptmat/qpipoptmat_H1.sce @@ -14,9 +14,11 @@ x0 = repmat(0,6,1); param = list("MaxIter", 300, "CpuTime", 100); f=[1; 2; 3; 4; 5; 6]; H=eye(4,4); x0 = repmat(0,6,1); -[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f,A,b,Aeq,beq,lb,ub,[],param) // Error //qpipoptmat: The number of rows and columns in H must be equal the number of elements of f //at line 215 of function qpipoptmat called by : //[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f,A,b,Aeq,beq,lb,ub,[],param) + +[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f,A,b,Aeq,beq,lb,ub,[],param) + |