How do I reduce the running time when I call thousands of 'intlinprog' ?
2 ビュー (過去 30 日間)
古いコメントを表示
- 'intlinprog' is used in a subfunction that is called many times, and the running time is too long. I want to get a faster running time, so what can i do?
2 件のコメント
回答 (1 件)
Bruno Luong
2022 年 7 月 15 日
編集済み: Bruno Luong
2022 年 7 月 15 日
You can try to call multiple problems at once by
- Concatenate f, intcon, b, beq, lb, yb, x0,
- Make matrices A, Aeq block diagonal (possibly sparse format is better).
Not sure if it saves time or the solution is not degraded though.
参考
カテゴリ
Help Center および File Exchange で Parallel and Cloud についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!