summaryrefslogtreecommitdiff
path: root/tests/general_tests/qpipopt/qpipopt_x01.sce
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general_tests/qpipopt/qpipopt_x01.sce')
-rw-r--r--tests/general_tests/qpipopt/qpipopt_x01.sce4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/general_tests/qpipopt/qpipopt_x01.sce b/tests/general_tests/qpipopt/qpipopt_x01.sce
index 6a57269..bb37c50 100644
--- a/tests/general_tests/qpipopt/qpipopt_x01.sce
+++ b/tests/general_tests/qpipopt/qpipopt_x01.sce
@@ -15,7 +15,6 @@ nbVar = 6;
nbCon = 5;
x0 = repmat(0,5,1);
param = list("MaxIter", 300, "CpuTime", 100);
-[xopt,fopt,exitflag,output,lambda]=qpipopt(nbVar,nbCon,Q,p,lb,ub,conMatrix,conLB,conUB,x0,param)
//Error
// WARNING: qpipopt: Ignoring initial guess of variables as it is not equal to the number of variables
@@ -41,3 +40,6 @@ param = list("MaxIter", 300, "CpuTime", 100);
// - 4.9884023
// 0.6054943
// - 3.1155623
+
+[xopt,fopt,exitflag,output,lambda]=qpipopt(nbVar,nbCon,Q,p,lb,ub,conMatrix,conLB,conUB,x0,param)
+