summaryrefslogtreecommitdiff
path: root/tests/general_tests/qpipoptmat/qpipoptmat_zeros.sce
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general_tests/qpipoptmat/qpipoptmat_zeros.sce')
-rw-r--r--tests/general_tests/qpipoptmat/qpipoptmat_zeros.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_zeros.sce b/tests/general_tests/qpipoptmat/qpipoptmat_zeros.sce
new file mode 100644
index 0000000..ee9cfc9
--- /dev/null
+++ b/tests/general_tests/qpipoptmat/qpipoptmat_zeros.sce
@@ -0,0 +1,35 @@
+// A simple example without constraints
+
+f=[0]';
+H =[0];
+
+//Output
+//
+//Optimal Solution Found.
+//
+// lower: 0
+// upper: 0
+// eqlin: [0x0 constant]
+// ineqlin: [0x0 constant]
+//
+// lambda
+//
+// Iterations: 0
+//
+// output
+//
+// 0
+//
+// exitflag
+//
+// 0.
+//
+// fopt
+//
+// 0.
+//
+// xopt
+
+
+[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f);
+