Intlinprog does not stop at time limit

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

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

2 Comments

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.
ctrl+c and if that doesn't work, force quitting MATLAB.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!