[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Help-glpk] Retreiving a callback when integer-feasiblesolutions are
From: |
Kelly, Jeff (ON0F) |
Subject: |
RE: [Help-glpk] Retreiving a callback when integer-feasiblesolutions are found in the feasibility-pump heuristic. |
Date: |
Tue, 29 Mar 2011 12:50:04 -0400 |
Andrew;
Thanks, does this mean that even if multiple I-F's are found prior to the
search tree that I will only be able to recover the last heuristic solution?
Jeff
-----Original Message-----
From: Andrew Makhorin [mailto:address@hidden
Sent: Tuesday, March 29, 2011 11:59 AM
To: Kelly, Jeff (ON0F)
Cc: address@hidden
Subject: Re: [Help-glpk] Retreiving a callback when integer-feasiblesolutions
are found in the feasibility-pump heuristic.
> 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.