help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Re: starting solution


From: glpk xypron
Subject: [Help-glpk] Re: starting solution
Date: Wed, 13 Oct 2010 20:33:53 +0200

Hello Tobias,

> Apropos, is it possible to specify a starting solution? I couldn't find
> anything about that.

Specification of a starting solution is not possible is glpsol.

When you use the GLPK API you can use the callback hook of the
integer solver for this purpose.

The callback routine is passed to the MIP solver through the control parameter 
structure glp_iocp.

In the callback routine call glp_ios_reason. 

If the reason is GLP_IHEUR return, set your starting solution with 
glp_ios_heur_sol.

Best regards

Xypron


-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome



reply via email to

[Prev in Thread] Current Thread [Next in Thread]