This is one reason that JuMP 0.19 will no longer support solver-independent callbacks – they aren’t solver independent. See: