linprog to ouput variables at each iteration

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)

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
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

Asked:

on 9 May 2013

Answered:

on 25 Jan 2014

Community Treasure Hunt

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

Start Hunting!