The error message "Model too large for size-limited Gurobi license" or "Model too large for restricted Gurobi license" is shown when Gurobi uses a restricted, 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 a commercial user, then you should contact info@gurobi.com or request an evaluation license. We will work with you to find the license type that will best suit your needs.
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.
If you already have a full Gurobi license (academic or commercial), please be sure the license file is in the default location. You can learn more in How do I put the license file in an alternative location?