summaryrefslogtreecommitdiff
path: root/tests/general_tests/qpipoptmat/qpipoptmat_logical1.sce
diff options
context:
space:
mode:
authorHarpreet2015-12-29 00:38:48 +0530
committerHarpreet2015-12-29 00:38:48 +0530
commiteb9ca1191c94059cd7adcf69805906c809fe9712 (patch)
treef98e728341812b8a0eb46aa4159b062a22225f05 /tests/general_tests/qpipoptmat/qpipoptmat_logical1.sce
parent0eee95dfb1edec6ce52ec3065a3adb1bf169c9f9 (diff)
downloadFOSSEE-Optimization-toolbox-eb9ca1191c94059cd7adcf69805906c809fe9712.tar.gz
FOSSEE-Optimization-toolbox-eb9ca1191c94059cd7adcf69805906c809fe9712.tar.bz2
FOSSEE-Optimization-toolbox-eb9ca1191c94059cd7adcf69805906c809fe9712.zip
Bugs fixed 4
Diffstat (limited to 'tests/general_tests/qpipoptmat/qpipoptmat_logical1.sce')
-rw-r--r--tests/general_tests/qpipoptmat/qpipoptmat_logical1.sce9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_logical1.sce b/tests/general_tests/qpipoptmat/qpipoptmat_logical1.sce
index 8832300..50ddc6e 100644
--- a/tests/general_tests/qpipoptmat/qpipoptmat_logical1.sce
+++ b/tests/general_tests/qpipoptmat/qpipoptmat_logical1.sce
@@ -1,9 +1,9 @@
-// Check for the Q to be a symmetric matrix
+// A simple example without constraints
f=[2 -35 -47]';
H =[5 -2 -1; -2 4 3; -1 3 5];
-[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f)
-disp("xopt",xopt,"fopt",fopt,"exitflag",exitflag,"output",output,"lambda",lambda)
+[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f);
+
//Output
//
@@ -33,3 +33,6 @@ disp("xopt",xopt,"fopt",fopt,"exitflag",exitflag,"output",output,"lambda",lambda
// 7.
//
// xopt
+
+disp("xopt",xopt,"fopt",fopt,"exitflag",exitflag,"output",output,"lambda",lambda)
+