How do I reduce the running time when I call thousands of 'intlinprog' ?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
- '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 Kommentare
Antworten (1)
Bruno Luong
am 15 Jul. 2022
Bearbeitet: Bruno Luong
am 15 Jul. 2022
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.
Siehe auch
Kategorien
Mehr zu Parallel and Cloud finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!