I'm trying to solve a problem with B & C, and I would like to know if CBL (Java API) offers an option (say callback function) related to feasbility checking of integer solutions
(not fractional ones).
Thank you in advance.
Yes, the BCL Java API supports for the callback mechanism provided by Optimizer Java API.
You can refer to the Xpress-BCL Reference Manual, chapter "Using the Optimizer with BCL Java" for an example of using the Optimizer callbacks. Another example is available e.g. in the file XPRESSDIR/examples/bcl/Java/UGExpl/foliocb.java.
Note that both the examples above show how to use the "intsol" callback, which notifies new solutions AFTER they have been accepted. If you need to validate the feasibility of the new solutions before they are accepted, and eventually reject them, then you should use the "preintsol" callback instead. In this case, you should implement the XPRSpreIntSolListener interface and register your listener through the addPreIntSolListener method (instead of XPRSintSolListener and addIntSolListener, respectively). Please see the Xpress-Optimizer Reference Manual JavaDoc for more details.
Retrieving data ...