diff options
Diffstat (limited to 'tests/general_tests/qpipopt')
-rw-r--r-- | tests/general_tests/qpipopt/qpipopt_infeasible.sci | 8 | ||||
-rw-r--r-- | tests/general_tests/qpipopt/qpipopt_logical_1.sce | 2 | ||||
-rw-r--r-- | tests/general_tests/qpipopt/qpipopt_logical_2.sce | 2 | ||||
-rw-r--r-- | tests/general_tests/qpipopt/qpipopt_maxiter.sce | 1 | ||||
-rw-r--r-- | tests/general_tests/qpipopt/qpipopt_x01.sce | 1 | ||||
-rw-r--r-- | tests/general_tests/qpipopt/qpipopt_zeros.sce | 2 |
6 files changed, 10 insertions, 6 deletions
diff --git a/tests/general_tests/qpipopt/qpipopt_infeasible.sci b/tests/general_tests/qpipopt/qpipopt_infeasible.sci index 49bb233..b01ee0d 100644 --- a/tests/general_tests/qpipopt/qpipopt_infeasible.sci +++ b/tests/general_tests/qpipopt/qpipopt_infeasible.sci @@ -19,15 +19,17 @@ lb = -1*ub; // constraint: [0x0 constant] // output = // -// Iterations: 0 +// Iterations: -1 +// ConstrViolation: 0.3752562 // exitflag = // // 5 // fopt = // -// 0. +// - 21.80307 // xopt = // -// [] +// 5.6247453 +// 5.6247438 [xopt,fopt,exitflag,output,lamda] = qpipopt(nbVar,nbCon,H,f,lb,ub,A,conLB,conUB) diff --git a/tests/general_tests/qpipopt/qpipopt_logical_1.sce b/tests/general_tests/qpipopt/qpipopt_logical_1.sce index 52d5493..54ba0a0 100644 --- a/tests/general_tests/qpipopt/qpipopt_logical_1.sce +++ b/tests/general_tests/qpipopt/qpipopt_logical_1.sce @@ -27,7 +27,7 @@ param = list("MaxIter", 300, "CpuTime", 100); // lambda // // Iterations: 13 -// +// ConstrViolation: 9.968D-09 // output // // 0 diff --git a/tests/general_tests/qpipopt/qpipopt_logical_2.sce b/tests/general_tests/qpipopt/qpipopt_logical_2.sce index 7a75ebe..d00b07b 100644 --- a/tests/general_tests/qpipopt/qpipopt_logical_2.sce +++ b/tests/general_tests/qpipopt/qpipopt_logical_2.sce @@ -21,7 +21,7 @@ nbCon = 0; // lambda // // Iterations: 1 -// +// ConstrViolation: 0 // output // // 0 diff --git a/tests/general_tests/qpipopt/qpipopt_maxiter.sce b/tests/general_tests/qpipopt/qpipopt_maxiter.sce index 5851630..4c35c9e 100644 --- a/tests/general_tests/qpipopt/qpipopt_maxiter.sce +++ b/tests/general_tests/qpipopt/qpipopt_maxiter.sce @@ -26,6 +26,7 @@ param = list("MaxIter", 1); // output = // // Iterations: 1 +// ConstrViolation: 1.3770464 // exitflag = // // 1 diff --git a/tests/general_tests/qpipopt/qpipopt_x01.sce b/tests/general_tests/qpipopt/qpipopt_x01.sce index bb37c50..b387a94 100644 --- a/tests/general_tests/qpipopt/qpipopt_x01.sce +++ b/tests/general_tests/qpipopt/qpipopt_x01.sce @@ -26,6 +26,7 @@ param = list("MaxIter", 300, "CpuTime", 100); // output = // // Iterations: 13 +// ConstrViolation: 9.968D-09 // exitflag = // // 0 diff --git a/tests/general_tests/qpipopt/qpipopt_zeros.sce b/tests/general_tests/qpipopt/qpipopt_zeros.sce index 9604c4d..993993a 100644 --- a/tests/general_tests/qpipopt/qpipopt_zeros.sce +++ b/tests/general_tests/qpipopt/qpipopt_zeros.sce @@ -22,7 +22,7 @@ nbCon = 0; // lambda // // Iterations: 0 -// +// ConstrViolation: 0 // output // // 0 |