diff options
author | Harpreet | 2015-11-26 13:13:46 +0530 |
---|---|---|
committer | Harpreet | 2015-11-26 13:13:46 +0530 |
commit | 2af2dd71492d5485bd921cfe7b832811881947bb (patch) | |
tree | 3b4934f40a140f5ac54046ab3a530798c36708bb /tests/unit_tests/qpipopt_base.tst | |
parent | 8cf5063387ba60907e8e114b128abe5555922ad7 (diff) | |
download | symphony-2af2dd71492d5485bd921cfe7b832811881947bb.tar.gz symphony-2af2dd71492d5485bd921cfe7b832811881947bb.tar.bz2 symphony-2af2dd71492d5485bd921cfe7b832811881947bb.zip |
lsqlin added
Diffstat (limited to 'tests/unit_tests/qpipopt_base.tst')
-rw-r--r-- | tests/unit_tests/qpipopt_base.tst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit_tests/qpipopt_base.tst b/tests/unit_tests/qpipopt_base.tst index ffe546a..5587ddc 100644 --- a/tests/unit_tests/qpipopt_base.tst +++ b/tests/unit_tests/qpipopt_base.tst @@ -70,7 +70,7 @@ nbVar = 2; nbCon = 3; [xopt,fopt,exitflag,output,lambda] = qpipopt(nbVar,nbCon,Q,p,lb,ub,conMatrix,conLB,conUB) -assert_close ( x , [0.6666667 1.3333333]' , 1.e-7 ); -assert_close ( f , [ - 8.2222223] , 1.e-7 ); +assert_close ( xopt , [0.6666667 1.3333333]' , 1.e-7 ); +assert_close ( fopt , [ - 8.2222223] , 1.e-7 ); -assert_checkequal( exitflag , 0 ); +assert_checkequal( exitflag , int32(0) ); |