summaryrefslogtreecommitdiff
path: root/tests/general_tests/symphonymat/symphonymat_logical2.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/symphonymat/symphonymat_logical2.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/symphonymat/symphonymat_logical2.sce')
-rw-r--r--tests/general_tests/symphonymat/symphonymat_logical2.sce11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/general_tests/symphonymat/symphonymat_logical2.sce b/tests/general_tests/symphonymat/symphonymat_logical2.sce
index 6bdd1b3..4f3923f 100644
--- a/tests/general_tests/symphonymat/symphonymat_logical2.sce
+++ b/tests/general_tests/symphonymat/symphonymat_logical2.sce
@@ -1,4 +1,5 @@
-// Check for size of Objective Coefficient
+// An example with equality constraints and variable bounds
+
// A basic case :
// Objective function
@@ -22,9 +23,6 @@ b = [ 55;26;30;57]
// Row Matrix for telling symphony that the is integer or not
intcon = [];
-// Calling Symphony
-[x,f,status,output] = symphonymat(c,intcon,A,b,[],[],lb,ub)
-disp("x",x,"f",f,"status",status,"output",output);
// Output
//Problem loaded into environment.
//
@@ -51,3 +49,8 @@ disp("x",x,"f",f,"status",status,"output",output);
// 1.6
//
// x
+
+// Calling Symphony
+[x,f,status,output] = symphonymat(c,intcon,A,b,[],[],lb,ub)
+disp("x",x,"f",f,"status",status,"output",output);
+