diff options
Diffstat (limited to 'tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci')
-rw-r--r-- | tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci b/tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci new file mode 100644 index 0000000..123f2c9 --- /dev/null +++ b/tests/general_tests/qpipoptmat/qpipoptmat_infeasible.sci @@ -0,0 +1,30 @@ +// qpipopt infeasibility test + +H = [2 0;0 8]; +f = [0 -32]; +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. +// lamda = +// +// lower: [0x0 constant] +// upper: [0x0 constant] +// eqlin: [0x0 constant] +// ineqlin: [0x0 constant] +// output = +// +// Iterations: 0 +// exitflag = +// +// 5 +// fopt = +// +// 0. +// xopt = +// +// [] |