How to execute for-loop iterations in parallels in MATLAB using Gurobi as a solver?
AnsweredHello,
I have a MIP problem, which I decomposed into subproblems, and I want to solve these subproblems using Gurobi in MATLAB. The only thing that changes in each subproblem is the objective function, and all the constraints are the same for all the subproblems.
When I try the "parfor," I get an error that it can not run due to the way variable "modela" used (I attached the loop). Can anyone help me with it?
Thanks
0
-
Hi,
It should read \(\texttt{modelsense}\) instead of \(\texttt{modelsence}\).
Best regards,
Jaromił0
Please sign in to leave a comment.
Comments
1 comment