How to execute for-loop iterations in parallels in MATLAB using Gurobi as a solver?
回答済みHello,
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
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi,
It should read \(\texttt{modelsense}\) instead of \(\texttt{modelsence}\).
Best regards,
Jaromił0
投稿コメントは受け付けていません。
コメント
2件のコメント