linprog to ouput variables at each iteration
Show older comments
I am optimizing a large problem (~1 million variables) using linprog (large-scale: interior point).
I would like to know the variables at each interal iteration within linprog. Is there some special flag I can pass in options for this?
Answers (2)
Alan Weiss
on 9 May 2013
0 votes
Sorry, there is no way that I know to do this. Nonlinear solvers have an OutputFcn option that allows you to do this kind of reporting, but linprog does not.
Alan Weiss
MATLAB mathematical toolbox documentation
Nick L
on 25 Jan 2014
0 votes
Is there a way to code a work-around? Can linprog be inside a while loop and the iterations be limited to 1? And then use the output of the 1-iteration linprog as the new starting point each time within the loop. Just an idea.
Categories
Find more on Linear Programming and Mixed-Integer Linear Programming 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!