Hide navigation sidebar
Hide table of contents sidebar
Back to top
Toggle table of contents sidebar

# Callbacks

As you might imagine, since the actual optimization task runs on a remote system in a Compute Server environment, Gurobi callbacks give different behavior than they do when the task runs locally. In particular, callbacks are both less frequent and more restrictive to avoid communication overhead and a loss in performance.

You will receive `MESSAGE`, `BARRIER`, `SIMPLEX`, `PRESOLVE`, `MIP`, `MIPSOL`, and `MULTIOBJ` callbacks; you will not receive `MIPNODE` callbacks. As a result, you will only have access to a subset of the callback information that you would be able to obtain when running locally. Also, callbacks can’t be used in batch mode.

You can still request that the optimization shall be terminated from any of the callbacks you receive, though. Please refer to the Callback Codes section for more information on the various callback codes.

Help and Feedback

Press `/` or click to search this documentation | Gurobi website | Gurobi community forum
Go to other Gurobi documentation | Gurobi download | Contact support