Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Model.terminate()
terminate ( )
Generate a request to terminate the current optimization. This method is
typically called from within a user callback (see
Callbacks for more information).
When the optimization stops, the Status
attribute will be equal to GRB_INTERRUPTED
.
Example usage:
model.terminate()