Intlinprog does not stop at time limit

2 views (last 30 days)
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.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!