diff options
author | Harpreet | 2015-11-17 11:34:37 +0530 |
---|---|---|
committer | Harpreet | 2015-11-17 11:34:37 +0530 |
commit | 6a389f6a51bdd88f89706b1c32276d9e1b71ef22 (patch) | |
tree | b289d8f89b5def5b51e5723dcf00631635e4776a /qpipopt/qpipopt_logical_2.sce~ | |
parent | 5b9c0073b8722373d41ef19285bdbbade39fd848 (diff) | |
download | OR-toolbox-test-cases-6a389f6a51bdd88f89706b1c32276d9e1b71ef22.tar.gz OR-toolbox-test-cases-6a389f6a51bdd88f89706b1c32276d9e1b71ef22.tar.bz2 OR-toolbox-test-cases-6a389f6a51bdd88f89706b1c32276d9e1b71ef22.zip |
qpipoptmat added
Diffstat (limited to 'qpipopt/qpipopt_logical_2.sce~')
-rw-r--r-- | qpipopt/qpipopt_logical_2.sce~ | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/qpipopt/qpipopt_logical_2.sce~ b/qpipopt/qpipopt_logical_2.sce~ new file mode 100644 index 0000000..5c5694b --- /dev/null +++ b/qpipopt/qpipopt_logical_2.sce~ @@ -0,0 +1,33 @@ +//Find x in R^6 such that: +// Check for the Q to be a symmetric matrix +conMatrix= []; +conLB=[]; +conUB = []; +lb=[]; +ub=[]; +p=[2 -35 -47]'; +Q =[5 -2 -1; -2 4 3; -1 3 5]; +nbVar = 3; +nbCon = 0; +[xopt,fopt,exitflag,output,lambda]=qpipopt(nbVar,nbCon,Q,p,lb,ub,conMatrix,conLB,conUB) + +//Output +// lambda = +// +// lower: [0,0,0] +// upper: [0,0,0] +// constraint: [0x0 constant] +// output = +// +// Iterations: 1 +// exitflag = +// +// 0 +// fopt = +// +// - 249. +// xopt = +// +// 3. +// 5. +// 7. |