summaryrefslogtreecommitdiff
path: root/tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci
diff options
context:
space:
mode:
authorHarpreet2016-01-05 12:22:43 +0530
committerHarpreet2016-01-05 12:22:43 +0530
commitdad86bd42cdc2a0e56df9e0591879e5d26fd56fa (patch)
treece56ce617425627652308e2a592527cd9aa2a396 /tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci
parentd5356061fbd3a9b3052dee25bd9c82c375c42e22 (diff)
downloadFOSSEE-Optimization-toolbox-dad86bd42cdc2a0e56df9e0591879e5d26fd56fa.tar.gz
FOSSEE-Optimization-toolbox-dad86bd42cdc2a0e56df9e0591879e5d26fd56fa.tar.bz2
FOSSEE-Optimization-toolbox-dad86bd42cdc2a0e56df9e0591879e5d26fd56fa.zip
constrviolation and licence file added
Diffstat (limited to 'tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci')
-rw-r--r--tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci b/tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci
index 123f2c9..8964422 100644
--- a/tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci
+++ b/tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci
@@ -6,7 +6,6 @@ A = [-1 0; 0, -1; 1 1];
b = [-6 -6 11];
ub = [%inf %inf];
lb = -1*ub;
-[xopt,fopt,exitflag,output,lamda] = qpipoptmat(H,f,A,b,[],[],lb,ub)
//Output
//Converged to a point of local infeasibility.
@@ -18,13 +17,17 @@ lb = -1*ub;
// ineqlin: [0x0 constant]
// output =
//
-// Iterations: 0
+// Iterations: 105
+// ConstrViolation: 0.3752562
// exitflag =
//
// 5
// fopt =
//
-// 0.
+// - 21.80307
// xopt =
//
-// []
+// 5.6247453
+// 5.6247438
+
+[xopt,fopt,exitflag,output,lamda] = qpipoptmat(H,f,A,b,[],[],lb,ub)