Solver (gurobi) returned non-zero return code (-9)
Awaiting user inputIn Python I get this error log:
ERROR: Solver (gurobi) returned non-zero return code (-9)
ERROR: Solver log: Using license file /usr/src/app/gurobi/gurobi.lic Set parameter TokenServer to value <IP-address>
Read LP format model from file /tmp/tmp4dtoduxa.pyomo.lp
Reading time = 1.77 seconds x131401: 175200 rows, 131401 columns, 359157 nonzeros
Changed value of parameter MIPGap to 0.01
rev: 0.0001 Min: 0.0 Max: inf Default: 0.0001
Changed value of parameter TimeLimit to 567.650916
Prev: inf Min: 0.0 Max: inf Default: inf
Gurobi Optimizer version 9.0.2 build v9.0.2rc0 (linux64) Optimize a model
with 175200 rows, 131401 columns and 359157 nonzeros Model fingerprint:
0x815f4f85 Variable types: 113881 continuous, 17520 integer (17520 binary)
Coefficient statistics:
Matrix range [9e-01, 1e+03] Objective range [2e-01, 5e-01] Bounds
range [1e+00, 1e+00] RHS range [5e-04, 3e+04]
Found heuristic solution: objective 56388.819091 Presolve removed 122627
rows and 60529 columns (presolve time = 5s) ... Presolve removed 122627
rows and 60529 columns Presolve time: 5.30s Presolved: 52573 rows, 70872
columns, 157107 nonzeros Found heuristic solution: objective 40717.930934
Variable types: 55569 continuous, 15303 integer (15303 binary)
Root simplex log...
Iteration Objective Primal Inf. Dual Inf. Time
0 -2.7083186e+01 8.944771e+07 0.000000e+00 12s
1580 -2.4864828e+01 2.863677e+06 0.000000e+00 15s
12942 5.5852210e+01 0.000000e+00 0.000000e+00 16s
12942 852210e+01 0.000000e+00 0.000000e+00 16s
Root relaxation: objective 5.585221e+01, 12942 iterations, 10.35 seconds
Nodes | Current Node | Objective Bounds | Work
Expl Unexpl | Obj Depth IntInf | Incumbent BestBd Gap | It/Node
Time
0 0 55.85221 0 8 40717.9309 55.85221 100% - 17s
H 0 0 72.8267054 55.85221 23.3% - 17s
0 0 58.45197 0 6 72.82671 58.45197 19.7% - 18s
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/model_utils/optimization_handlers.py", line 842, in solve_problem
solver_results_raw = solver.solve(problem, tee=task.backend.solver_verbose)
File "/usr/local/lib/python3.8/site-packages/pyomo/opt/base/solvers.py", line 599, in solve
raise pyutilib.common.ApplicationError(
pyutilib.common._exceptions.ApplicationError: Solver (gurobi) did not exit normally
Does the error code indicate a problem with the license?
I run the code in Docker containers with token server client licenses.
0
-
How much memory is the Docker container allowed to use? You could try monitoring memory usage within the container to see if Gurobi runs out of available memory.
0
Please sign in to leave a comment.
Comments
1 comment