summaryrefslogtreecommitdiff
path: root/tests/example1.sce
diff options
context:
space:
mode:
Diffstat (limited to 'tests/example1.sce')
-rw-r--r--tests/example1.sce12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/example1.sce b/tests/example1.sce
deleted file mode 100644
index 29d8b33..0000000
--- a/tests/example1.sce
+++ /dev/null
@@ -1,12 +0,0 @@
-// This example has been taken from the MATLAB quadprog page
-// http://in.mathworks.com/help/optim/ug/quadprog.html
-
-H = [1 -1; -1 2];
-f = [-2; -6];
-A = [1 1; -1 2; 2 1];
-b = [2; 2; 3];
-lb=[0,0];
-ub=[%inf, %inf];
-options=list('MaxIterations',1);
-
-[xopt,fopt,status,output]=intqpipopt(H,f,[],A,b,[],[],lb,ub,[],options)