switch-model / switch

A Modern Platform for Planning High-Renewable Power Systems
http://switch-model.org/
Other
129 stars 85 forks source link

Error while using Gurobi #131

Open puneetchitkara opened 4 years ago

puneetchitkara commented 4 years ago

What could be the source of this error?

Deterministic concurrent LP optimizer: primal simplex, dual simplex, and barrier Showing barrier log only...

Root barrier log...

Elapsed ordering time = 5s Ordering time: 139.02s

Barrier performed 0 iterations in 568.30 seconds Error termination

Explored 0 nodes (0 simplex iterations) in 570.04 seconds Thread count was
1 (of 12 available processors)

Solution count 0

Solve interrupted (error code 10001) Best objective -, best bound -, gap -
Traceback (most recent call last):
  File "<stdin>", line 5, in <module> File
  "C:\Users\Public\Software\lib\site-
  packages\pyomo\solvers\plugins\solvers\GUROBI_RUN.py", line 114, in
  gurobi_run
    model.optimize()
  File "model.pxi", line 833, in gurobipy.Model.optimize
gurobipy.GurobiError: Out of memory

Traceback (most recent call last): File "C:\Users\Public\Software\Scripts\switch-script.py", line 11, in load_entry_point('switch-model', 'console_scripts', 'switch')() File "c:\users\puneet chitkara\switch\switch_model\main.py", line 39, in main main() File "c:\users\puneet chitkara\switch\switch_model\solve.py", line 161, in main results = solve(instance) File "c:\users\puneet chitkara\switch\switch_model\solve.py", line 731, in solve results = model.solver_manager.solve(model, opt=model.solver, solver_args) File "C:\Users\Public\Software\lib\site-packages\pyomo\opt\parallel\async_solver.py", line 28, in solve return self.execute(*args, *kwds) File "C:\Users\Public\Software\lib\site-packages\pyomo\opt\parallel\manager.py", line 107, in execute ah = self.queue(args, kwds) File "C:\Users\Public\Software\lib\site-packages\pyomo\opt\parallel\manager.py", line 122, in queue return self._perform_queue(ah, *args, *kwds) File "C:\Users\Public\Software\lib\site-packages\pyomo\opt\parallel\local.py", line 58, in _perform_queue results = opt.solve(args, **kwds) File "C:\Users\Public\Software\lib\site-packages\pyomo\opt\base\solvers.py", line 600, in solve "Solver (%s) did not exit normally" % self.name)