help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Hi all


From: Patrik Dufresne
Subject: Re: [Help-glpk] Hi all
Date: Tue, 7 Aug 2012 08:24:24 -0400

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 <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/help-glpk


reply via email to

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