Generate a request to terminate the current optimization. This method is typically called from Model.cbGet. When the optimization stops, the Status attribute will be equal to GRB_INTERRUPTED.
Example usage:
model.terminate()