summaryrefslogtreecommitdiff
path: root/tests/general_tests/symphonymat/symphonymat_intcon1.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_intcon1.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_intcon1.sce')
-rw-r--r--tests/general_tests/symphonymat/symphonymat_intcon1.sce12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/general_tests/symphonymat/symphonymat_intcon1.sce b/tests/general_tests/symphonymat/symphonymat_intcon1.sce
index 0c24f4c..ded8469 100644
--- a/tests/general_tests/symphonymat/symphonymat_intcon1.sce
+++ b/tests/general_tests/symphonymat/symphonymat_intcon1.sce
@@ -1,4 +1,4 @@
-// Check for size of Objective Coefficients
+// Check if the user provides a value greater than the number of variables in intcon
// Objective function
c = [350*5,330*3,310*4,280*6,500,450,400,100]';
@@ -17,10 +17,12 @@ beq = [ 25, 1.25, 1.25]
intcon = [1 2 3 10];
+//Error
+//Symphonymat: The values inside intcon should be less than the number of variables
+//at line 238 of function symphonymat called by :
+//[x,f,status,output] = symphonymat(c,intcon,[],[],Aeq,beq,lb,ub)
+
// Calling Symphony
[x,f,status,output] = symphonymat(c,intcon,[],[],Aeq,beq,lb,ub)
-//Error
-//Symphonymat: Objective Coefficients should be a column matrix
-//at line 160 of function symphonymat called by :
-//[x,f,status,output] = symphonymat(c,intcon,[],[],Aeq,beq,lb,ub)
+