[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Retreiving a callback when integer-feasible solutions ar
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Retreiving a callback when integer-feasible solutions are found in the feasibility-pump heuristic. |
Date: |
Tue, 29 Mar 2011 19:58:45 +0400 |
> Even though I have setup the GLP_IBINGO callback reason code to
> interrupt when an integer-feasible solution is found in the search
> tree which works well, it doesn’t message when an integer-feasible
> solution is found by the feasibility-pump heuristic either at the
> start of the search or during.
> Is there another reason code I am missing?
Currently primal heuristics do not raise events. You can catch
GLP_ICUTGEN; if glp_ios_curr_node returns 1, you are at the point when
fp heuristic has just finished on the root node, and if glp_mip_status
returns GLP_FEAS, some solution has been found by fp and stored into the
problem object.