A few pointers
- wrap your code in triple-backticks like so
```julia
# code goes here
```
- copy the text of the error, rather than a screenshot since screenshots are usually really hard to read.
- Your error says
cbgetmipcutcntnot defined. That probably means that you changed the Gurobi source file, but didn’t restart Julia (or use something like https://github.com/timholy/Revise.jl). -
You need to implement the functionIt’s actually already wrapped Gurobi.jl/grb_callbacks.jl at 120d606da08facffb206d73d932dbb0bf7d7001d · jump-dev/Gurobi.jl · GitHubcbget_mip_cutcnt. This should be as simple as adding a new tuple to the list in this line with the value(:cbget_mip_cutcnt, XXXX), whereXXXis the callback code you can look up in the Gurobi documentation http://www.gurobi.com/documentation/7.5/refman/callback_codes.html#sec:CallbackCodes.