In JuMP, depending on the solver, there are some functionalities that are available, and some which are not, see for instance here.
How should I test that before creating a Model(optimizer)
?
As an example:
if optimizer == Lazy Constraints Callbacks are available # How to test a Solver functionnality availability
### do some stuff like Model(Optimizer) and call Lazy Constraints Callbakcs
else
@info "The optimiser you selected does not support Lazy Constraints Callbacks"
return
end
Wishing you a happy weekend