Does anyone know how to retrieve the number of generated cuts in the informational callback?

A few pointers

  1. wrap your code in triple-backticks like so
    ```julia
    # code goes here
    ```
  1. copy the text of the error, rather than a screenshot since screenshots are usually really hard to read.
  2. Your error says cbgetmipcutcnt not 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).
  3. You need to implement the function cbget_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), where XXX is the callback code you can look up in the Gurobi documentation http://www.gurobi.com/documentation/7.5/refman/callback_codes.html#sec:CallbackCodes. It’s actually already wrapped Gurobi.jl/grb_callbacks.jl at 120d606da08facffb206d73d932dbb0bf7d7001d · jump-dev/Gurobi.jl · GitHub