This error message is shown when Gurobi uses a size-limited license, and the model size exceeds these limits, i.e., 2000 variables, 2000 linear constraints, and 200 quadratic constraints.
This typically happens when Gurobi is installed for Python using the package distributor pip. This installation process automatically includes a size-limited license.
What can you do?
If you are an academic user, then you may be able to benefit from our free academic license program. You can find more information on our academic program page.