On Fri, 28 Jun 2013, chris wrote:

On Sat, Jun 15, 2013 at 9:57 PM, Michael Hennebry <
[email protected]> wrote:

 On Thu, 13 Jun 2013, chia jia wei wrote:

On Wed, Jun 12, 2013 at 7:31 PM, Raniere Silva <[email protected]>**
wrote:

 In the case of solving the problem using glp_simplex, is there any way
to
retrieve the solution in between iterations?

Look up callbacks.

Thanks for the advice.
I've tried to use the simplex algo to obtain an optimal basis.
Then, I made attached the callback listener,  implemented printout of
solution at GLP_IBINGO, and used glp_intopt but i seem to be getting
solutions that do not relate to the original problem data.

I was mistaken.  glp_simplex does not do callbacks.

If, as I previously inferred, you have a continous LP,
one solves it with glp_simplex.
To get the behaviour requested, one would have to edit the source code.
Print every solution after phase 1.

If you have an MILP, GLP_IBINGO is probably what you want.
Why it is not working for you, I do not know.
IIRC there are differences in how one fetches
solutions from glp_simplex and from glp_intopt.

--
Michael   [email protected]
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword."  --  Lily

_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to