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.

 Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 13 Jan. 2016

0 Stimmen

It won't generate new subproblems after MaxTime but existing ones will still finish.

2 Kommentare

Paolo Lazzeroni
Paolo Lazzeroni am 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 am 27 Jan. 2016
ctrl+c and if that doesn't work, force quitting MATLAB.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by