Intlinprog does not stop at time limit

4 visualizzazioni (ultimi 30 giorni)
Hi, I'm trying to implement intlinprog function in a my iterative procedure and I'm imposing time limit at 120s in order to impose a stop criteria for intlinprog in each iteration. However sometime the time limit is not respected (intlinprog execute for much more than 120s) and Matlab (2015b on MacOs) seems blocked. Any suggestion about the reason of this behaviour? Thanks. Paolo.

Risposta accettata

Sean de Wolski
Sean de Wolski il 13 Gen 2016
It won't generate new subproblems after MaxTime but existing ones will still finish.
  2 Commenti
Paolo Lazzeroni
Paolo Lazzeroni il 19 Gen 2016
Thanks for your suggestion. Do you have any idea how to stop anyway intlinprog after 120s (for example)? Because the subproblem generation can run up to 24 hours.
Sean de Wolski
Sean de Wolski il 27 Gen 2016
ctrl+c and if that doesn't work, force quitting MATLAB.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Linear Plant Specification in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by