|void||GRBterminate (||GRBmodel||*model )|
Generate a request to terminate the current optimization. This routine can be called at any time during an optimization (from a callback, from another thread, from an interrupt handler, etc.). Note that, in general, the request won't be acted upon immediately.
When the optimization stops, the Status
attribute will be equal to
model: The model to terminate.
if (time_to_quit) GRBterminate(model);