summaryrefslogtreecommitdiff
path: root/tests/general_tests/qpipopt/qpipopt_infeasible.sci
diff options
context:
space:
mode:
authorHarpreet2015-12-29 00:38:48 +0530
committerHarpreet2015-12-29 00:38:48 +0530
commiteb9ca1191c94059cd7adcf69805906c809fe9712 (patch)
treef98e728341812b8a0eb46aa4159b062a22225f05 /tests/general_tests/qpipopt/qpipopt_infeasible.sci
parent0eee95dfb1edec6ce52ec3065a3adb1bf169c9f9 (diff)
downloadFOSSEE-Optimization-toolbox-eb9ca1191c94059cd7adcf69805906c809fe9712.tar.gz
FOSSEE-Optimization-toolbox-eb9ca1191c94059cd7adcf69805906c809fe9712.tar.bz2
FOSSEE-Optimization-toolbox-eb9ca1191c94059cd7adcf69805906c809fe9712.zip
Bugs fixed 4
Diffstat (limited to 'tests/general_tests/qpipopt/qpipopt_infeasible.sci')
-rw-r--r--tests/general_tests/qpipopt/qpipopt_infeasible.sci33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/general_tests/qpipopt/qpipopt_infeasible.sci b/tests/general_tests/qpipopt/qpipopt_infeasible.sci
new file mode 100644
index 0000000..49bb233
--- /dev/null
+++ b/tests/general_tests/qpipopt/qpipopt_infeasible.sci
@@ -0,0 +1,33 @@
+// qpipopt infeasibility test
+
+H = [2 0;0 8];
+f = [0 -32];
+A = [-1 0; 0, -1; 1 1];
+conUB = [-6 -6 11];
+conLB = -1*[%inf %inf %inf];
+nbVar = 2;
+nbCon = 3;
+ub = [%inf %inf];
+lb = -1*ub;
+
+// Output
+//Converged to a point of local infeasibility.
+// lamda =
+//
+// lower: [0x0 constant]
+// upper: [0x0 constant]
+// constraint: [0x0 constant]
+// output =
+//
+// Iterations: 0
+// exitflag =
+//
+// 5
+// fopt =
+//
+// 0.
+// xopt =
+//
+// []
+
+[xopt,fopt,exitflag,output,lamda] = qpipopt(nbVar,nbCon,H,f,lb,ub,A,conLB,conUB)