Set the callback object for a model. The
callback() method on
this object will be called periodically from the Gurobi solver. You
will have the opportunity to obtain more detailed information about
the state of the optimization from this callback. See the
documentation for GRBCallback
for additional information.
Note that a model can only have a single callback method, so this call will replace an existing callback.
|void||setCallback (||GRBCallback||cb )|
cb: New callback object. To disable a previously set callback, call this method with a null argument.