summaryrefslogtreecommitdiff
path: root/macros/symphony_call.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/symphony_call.sci')
-rw-r--r--macros/symphony_call.sci8
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/symphony_call.sci b/macros/symphony_call.sci
index 36abafc..38b6051 100644
--- a/macros/symphony_call.sci
+++ b/macros/symphony_call.sci
@@ -14,6 +14,9 @@ function [xopt,fopt,iter] = symphony_call(nbVar,nbCon,objCoef,isInt,LB,UB,conMat
//Opening Symphony environment
sym_open();
+ //Setting Options for the Symphpony
+ setOptions(options);
+
//Choosing to launch basic or advanced version
if(~issparse(conMatrix)) then
sym_loadProblemBasic(nbVar,nbCon,LB,UB,objCoef,isInt,objSense,conMatrix,conLB,conUB);
@@ -24,9 +27,6 @@ function [xopt,fopt,iter] = symphony_call(nbVar,nbCon,objCoef,isInt,LB,UB,conMat
end
- //Setting Options for the Symphpony
- setOptions(options);
-
op = sym_solve();
xopt = [];
@@ -41,7 +41,7 @@ function [xopt,fopt,iter] = symphony_call(nbVar,nbCon,objCoef,isInt,LB,UB,conMat
end
status = sym_getStatus();
-
+
// //Closing Symphony Environment
// sym_close();