Hi,

The question being "how to stop on a mip value ?". I suggest you to have a
look at the callback function. Implement your own function and check for a
given condition. Read the user manual, section "5.1.1 Using the callback
routine" for more detail about how to use the callback function.

Patrik Dufresne


On Tue, Aug 7, 2012 at 7:10 AM, Andrew Makhorin <[email protected]> wrote:

>
> > I would like to know how to extract the “mip” value in order to use it
> > as a stop condition.
> >
> > Is this possible?
> >
>
> You need to use the api routine glp_mip_obj_val. For more details please
> see the reference manual included in the glpk distribution.
>
>
>
> _______________________________________________
> Help-glpk mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-glpk
>
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to