[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: About reading the relative mip gap from the glp_pr
From: |
Nathann Cohen |
Subject: |
Re: [Help-glpk] [Fwd: About reading the relative mip gap from the glp_prob C struct] |
Date: |
Tue, 1 Sep 2015 13:00:47 +0200 |
> It does not seem to be very practical for what I want to do, however:
> given that the gap will be known only *inside* of the callback
> function, is there a "natural" way to write the gap "outside" of the
> function's scope so that it can be read right after the call to
> glp_intopt?
My mistake. The callback function is given a "void *" pointer meant
precisely for this kind of situation. I used it, and it works
perfectly.
Nathann
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-glpk] [Fwd: About reading the relative mip gap from the glp_prob C struct],
Nathann Cohen <=