Intlinprog does not stop at time limit

4 vues (au cours des 30 derniers jours)
Paolo Lazzeroni
Paolo Lazzeroni le 13 Jan 2016
Commenté : Sean de Wolski le 27 Jan 2016
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.

Réponse acceptée

Sean de Wolski
Sean de Wolski le 13 Jan 2016
It won't generate new subproblems after MaxTime but existing ones will still finish.
  2 commentaires
Paolo Lazzeroni
Paolo Lazzeroni le 19 Jan 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 le 27 Jan 2016
ctrl+c and if that doesn't work, force quitting MATLAB.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Linear Plant Specification dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by