Empty General Constraint with Infinite Constant
Ran my model and received this response:
Optimize a model with 100 rows, 7500 columns and 52500 nonzeros
Model fingerprint: 0x862fc4f5
Model has 3750 general constraints
Variable types: 7500 continuous, 0 integer (0 binary)
Coefficient statistics:
Matrix range [2e-01, 1e+00]
Objective range [1e+00, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+01, 6e+03]
Presolve removed 100 rows and 3750 columns
Presolve time: 0.00s
Explored 0 nodes (0 simplex iterations) in 0.00 seconds
Thread count was 1 (of 8 available processors)
Solution count 0
Best objective -, best bound -, gap -
Traceback (most recent call last):
File "final_project.py", line 101, in <module>
m.optimize()
File "model.pxi", line 833, in gurobipy.Model.optimize
gurobipy.GurobiError: Empty general constraint with infinite constant
Please let me know what other information I can provide?
I don't know of any infinite values in my model, nor of any empty general constraints.
Thanks
Sam
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
投稿コメントは受け付けていません。
コメント
1件のコメント