The Gurobi method for optimization requires a license for the Gurobi Optimizer commercial solver.
Get a free trial or academic license
Request a free trial or academic license from Gurobi Optimization.
Purchase a license
Alternatively, purchase a commercial license from Gurobi Optimization.
Verify the license
Evaluate an example with the Gurobi method in the Wolfram Language to verify the license: