This section https://github.com/jump-dev/Gurobi.jl?tab=readme-ov-file#mathoptinterface-api doesn't mention nonlinear objectives and constraints, but Gurobi supports (at least a subset) of these.