Hi I've attempted to reproduce the results of your paper. It seems that the model provided is too large for the version of gurobi which is being referenced. It might be worth mentioning in the readme or provide an option for a open source solver if one doesn't have the right gurobi license, thoughts?
Output when running: snakemake -call --configfile custom_config_s1.yaml
Set parameter LogFile to value "results\paper-DKDEPT/logs/2025/p1/cfe100/DKDEPT/0_solver.log"
Gurobi Optimizer version 11.0.1 build v11.0.1rc0 (win64 - Windows 11.0 (22631.2))
CPU model: AMD Ryzen 9 3900X 12-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 12 physical cores, 24 logical processors, using up to 4 threads
Traceback (most recent call last):
File "C:\Users\scott\source\repos\space-time-optimization.snakemake\scripts\tmp0_0rtvyg.solve_network.py", line 1492, in
solve_network(
File "C:\Users\scott\source\repos\space-time-optimization.snakemake\scripts\tmp0_0rtvyg.solve_network.py", line 1397, in solve_network
n.optimize.solve_model(
File "C:\Users\scott\miniconda3\envs\247-env\Lib\site-packages\pypsa\optimization\optimize.py", line 649, in solve_model
status, condition = m.solve(solver_name=solver_name, **solver_options, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\scott\miniconda3\envs\247-env\Lib\site-packages\linopy\model.py", line 1060, in solve
result = func(
^^^^^
File "C:\Users\scott\miniconda3\envs\247-env\Lib\site-packages\linopy\solvers.py", line 634, in run_gurobi
m.optimize()
File "src\gurobipy\model.pxi", line 893, in gurobipy.Model.optimize
gurobipy.GurobiError: Model too large for size-limited license; visit https://gurobi.com/unrestricted for more information
Thanks!
Hi I've attempted to reproduce the results of your paper. It seems that the model provided is too large for the version of gurobi which is being referenced. It might be worth mentioning in the readme or provide an option for a open source solver if one doesn't have the right gurobi license, thoughts?
Output when running: snakemake -call --configfile custom_config_s1.yaml
Set parameter LogFile to value "results\paper-DKDEPT/logs/2025/p1/cfe100/DKDEPT/0_solver.log"
Gurobi Optimizer version 11.0.1 build v11.0.1rc0 (win64 - Windows 11.0 (22631.2))
CPU model: AMD Ryzen 9 3900X 12-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 12 physical cores, 24 logical processors, using up to 4 threads
Traceback (most recent call last):
File "C:\Users\scott\source\repos\space-time-optimization.snakemake\scripts\tmp0_0rtvyg.solve_network.py", line 1492, in
solve_network(
File "C:\Users\scott\source\repos\space-time-optimization.snakemake\scripts\tmp0_0rtvyg.solve_network.py", line 1397, in solve_network
n.optimize.solve_model(
File "C:\Users\scott\miniconda3\envs\247-env\Lib\site-packages\pypsa\optimization\optimize.py", line 649, in solve_model
status, condition = m.solve(solver_name=solver_name, **solver_options, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\scott\miniconda3\envs\247-env\Lib\site-packages\linopy\model.py", line 1060, in solve
result = func(
^^^^^
File "C:\Users\scott\miniconda3\envs\247-env\Lib\site-packages\linopy\solvers.py", line 634, in run_gurobi
m.optimize()
File "src\gurobipy\model.pxi", line 893, in gurobipy.Model.optimize
gurobipy.GurobiError: Model too large for size-limited license; visit https://gurobi.com/unrestricted for more information
Thanks!