summaryrefslogtreecommitdiff
path: root/tests/general_tests/symphonymat/symphonymat_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/symphonymat/symphonymat_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/symphonymat/symphonymat_logical1.sce')
-rw-r--r--tests/general_tests/symphonymat/symphonymat_logical1.sce10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/general_tests/symphonymat/symphonymat_logical1.sce b/tests/general_tests/symphonymat/symphonymat_logical1.sce
index 70ad9f8..ced5e26 100644
--- a/tests/general_tests/symphonymat/symphonymat_logical1.sce
+++ b/tests/general_tests/symphonymat/symphonymat_logical1.sce
@@ -1,3 +1,5 @@
+// An example with equality constraints, variable bounds and options to set
+
// Objective function
c = [350*5,330*3,310*4,280*6,500,450,400,100]';
@@ -18,9 +20,6 @@ intcon = [1 2 3 4 4];
options = list("time_limit",250);
-// Calling Symphony
-[x,f,status,output] = symphonymat(c,intcon,[],[],Aeq,beq,lb,ub,options)
-disp("x",x,"f",f,"status",status,"output",output);
//Output
//setting of double parameter function executed successfully
//Problem loaded into environment.
@@ -53,3 +52,8 @@ disp("x",x,"f",f,"status",status,"output",output);
// 3.5
//
// x
+
+// Calling Symphony
+[x,f,status,output] = symphonymat(c,intcon,[],[],Aeq,beq,lb,ub,options)
+disp("x",x,"f",f,"status",status,"output",output);
+