Skip to content

Use callback filtering with Gurobi 13.0 #651

@simonbowly

Description

@simonbowly

Gurobi 13.0 adds GRBsetcallbackfuncadv to the C API, which is equivalent to GRBsetcallbackfunc but allows the caller to select only some where codes and disable the others. The major advantage is the ability to filter callbacks the user doesn't need in compute server environments to reduce communication overhead.

Since Gurobi.jl always adds the callback to make interrupts possible (is think?), using wheres=(1<<GRB_CB_POLLING)|(1<<GRB_CB_MESSAGE) if there is no user callback coming from JuMP should be a nice improvement for remote solves.

See: https://docs.gurobi.com/projects/optimizer/en/13.0/reference/releasenotes/changes.html#specify-where-flags-for-callbacks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions