intlinprog - MaxTime and LPMaxIter
2 views (last 30 days)
Show older comments
Ming-Fung Francis
on 4 Nov 2014
Answered: Ming-Fung Francis
on 5 Nov 2014
Dear Everyone, Could I ask how to set the intlinprog option in order to have BOTH MaxTime and LPMaxIter set to Inf (or as large as it can). Seems the two variables are interrelated (change one would effect the other). Thanks, Francis
0 Comments
Accepted Answer
Sean de Wolski
on 4 Nov 2014
You cannot set them to inf but you can set them to a large number.
>> opts = optimoptions('intlinprog','MaxTime',inf,'LPMaxIter',inf)
opts =
intlinprog options:
Set by user:
LPMaxIter: Inf
MaxTime: Inf
Default:
...
Now whether that's a good idea or not...
0 Comments
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!