From 33bdd144438436b759bc8d0b0beba715f0e39e5d Mon Sep 17 00:00:00 2001 From: Harpreet Date: Thu, 10 Sep 2015 12:37:16 +0530 Subject: output added --- tests/unit_tests/symphony_base.tst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/unit_tests/symphony_base.tst') diff --git a/tests/unit_tests/symphony_base.tst b/tests/unit_tests/symphony_base.tst index fd11db0..a1f9e2b 100644 --- a/tests/unit_tests/symphony_base.tst +++ b/tests/unit_tests/symphony_base.tst @@ -76,12 +76,9 @@ conub = [ 25; 1.25; 1.25] isInt = [repmat(%t,1,4) repmat(%f,1,4)]; // Calling Symphony -[x,f,iter] = symphony(8,3,c,isInt,lb,ub,conMatrix,conlb,conub,1); +[x,f,status,output] = symphony(8,3,c,isInt,lb,ub,conMatrix,conlb,conub,1); -//In Symphony Library for optimal solution status = 227 -status = sym_getStatus(); - -assert_close ( x , [1 1 0 1 7.25 0 0.25 3.5] , 1.e-7 ); +assert_close ( x , [1 1 0 1 7.25 0 0.25 3.5]' , 1.e-7 ); assert_close ( f , [ 8495] , 1.e-7 ); assert_checkequal( status , 227 ); -- cgit