gurobipy.GurobiError: Unknown attribute 'DualVio'
回答済みWhen I run my python code with gurobipy I get the following error message can someone please help.
Academic license - for non-commercial use only - expires 2021-06-29
Using license file /home/ogr5/gurobi.lic
Traceback (most recent call last):
File "/home/ogr5/Belgeler/projeler/GreenHub/carb_with.py", line 171, in <module>
detmas.optimize()
File "src/gurobipy/model.pxi", line 847, in gurobipy.Model.optimize
gurobipy.GurobiError: Unknown attribute 'DualVio'
-
正式なコメント
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?. -
Can you please share which version of Gurobi you're using and post a minimal working code example that reproduces the issue?
0 -
I use Gurobi 9.1.2 with Conda environment (Python 3.8).
0 -
Can you please post a minimal working code example that reproduces the issue?
0 -
Dear Eli,
Thank you for your quick responses.
Since it is not easy to get the same error via a minimal example, I tried running a basic model from Gurobi online example library. The problem I tried to solve is Tic Tac Toe. You can find the link to the example via https://www.gurobi.com/resource/3d-tic-tac-toe-jupyter-notebook/.
I am using Ubuntu 18.04. The example is coded and tested under conda environment.
The error I get when I run this simple example is as follows:
GurobiError Traceback (most recent call last) <ipython-input-8-152a7c8a416d> in <module> ----> 1 model.optimize() src/gurobipy/model.pxi in gurobipy.Model.optimize() GurobiError: Unknown attribute 'VBasis'
0 -
Hi Nazmi,
Gurobi 9.5 was recently released. Included in this release is a fix for the bug you observed regarding unknown attribute/parameter. There is no need to change the locale anymore.
We hope this fix works well for you. Thank you for reporting this bug and please let us know if you see any other issues in the future.
Best regards,
Maliheh
0
投稿コメントは受け付けていません。
コメント
6件のコメント