フィルターのクリア

How to execute for-loop iterations in parallels in MATLAB using Gurobi as a solver?

3 ビュー (過去 30 日間)
Nazanin Madani
Nazanin Madani 2020 年 6 月 26 日
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 件)

カテゴリ

Help Center および File ExchangeParallel for-Loops (parfor) についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by