summaryrefslogtreecommitdiff
path: root/tests/general_tests/qpipoptmat
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general_tests/qpipoptmat')
-rw-r--r--tests/general_tests/qpipoptmat/qpipoptmat_logical2.sce2
-rw-r--r--tests/general_tests/qpipoptmat/qpipoptmat_logical3.sce2
-rw-r--r--tests/general_tests/qpipoptmat/qpipoptmat_logical4.sce2
-rw-r--r--tests/general_tests/qpipoptmat/qpipoptmat_logical5.sce8
4 files changed, 4 insertions, 10 deletions
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_logical2.sce b/tests/general_tests/qpipoptmat/qpipoptmat_logical2.sce
index 137c7bb..fd5714d 100644
--- a/tests/general_tests/qpipoptmat/qpipoptmat_logical2.sce
+++ b/tests/general_tests/qpipoptmat/qpipoptmat_logical2.sce
@@ -1,5 +1,5 @@
//Find x in R^6 such that:
-// A simple example with constraints
+// An example with equality, inequality constraints, variable bounds, intial guess and param
Aeq= [1,-1,1,0,3,1;
-1,0,-3,-4,5,6;
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_logical3.sce b/tests/general_tests/qpipoptmat/qpipoptmat_logical3.sce
index 3565d34..64eca68 100644
--- a/tests/general_tests/qpipoptmat/qpipoptmat_logical3.sce
+++ b/tests/general_tests/qpipoptmat/qpipoptmat_logical3.sce
@@ -1,5 +1,5 @@
//Find x in R^6 such that:
-// A simple example with constraints
+// An example with equality, inequality constraints, variable bounds and intial guess
Aeq= [1,-1,1,0,3,1;
-1,0,-3,-4,5,6;
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_logical4.sce b/tests/general_tests/qpipoptmat/qpipoptmat_logical4.sce
index bad5b8c..0d74230 100644
--- a/tests/general_tests/qpipoptmat/qpipoptmat_logical4.sce
+++ b/tests/general_tests/qpipoptmat/qpipoptmat_logical4.sce
@@ -1,5 +1,5 @@
//Find x in R^6 such that:
-// A simple example with constraints
+// An example with equality and inequality constraints
Aeq= [1,-1,1,0,3,1;
-1,0,-3,-4,5,6;
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_logical5.sce b/tests/general_tests/qpipoptmat/qpipoptmat_logical5.sce
index 2c78091..0a88414 100644
--- a/tests/general_tests/qpipoptmat/qpipoptmat_logical5.sce
+++ b/tests/general_tests/qpipoptmat/qpipoptmat_logical5.sce
@@ -1,15 +1,9 @@
//Find x in R^6 such that:
-// A simple example with constraints
+// A simple example with inequality constraints
-Aeq= [1,-1,1,0,3,1;
--1,0,-3,-4,5,6;
-2,5,3,0,1,0];
-beq=[1; 2; 3];
A= [0,1,0,1,2,-1;
-1,0,2,1,1,0];
b = [-1; 2.5];
-lb=[-1000; -10000; 0; -1000; -1000; -1000];
-ub=[10000; 100; 1.5; 100; 100; 1000];
param = list("MaxIter", 300, "CpuTime",100);
//and minimize 0.5*x'*H*x + f'*x with
f=[1; 2; 3; 4; 5; 6]; H=eye(6,6);