Failed to open log file gurobi.log
回答済みI am getting the following error suddenly when I try to write the LP to a file.
Academic license - for non-commercial use only
Traceback (most recent call last):
File "C:/Users/sbasumal/PycharmProjects/Optimal PMU Placement/optimalPMU200Bus.py", line 27, in <module>
mod.write('optimalPMU.sol')
File "model.pxi", line 1109, in gurobipy.Model.write (../../src/python/gurobipy.c:62376)
gurobipy.GurobiError: Unable to write to file 'optimalPMU.sol'
Warning: Failed to open log file 'gurobi.log'
0
-
正式なコメント
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?. -
This looks as though you don't have write privileges in the directory where you are running your code.
Best regards,
Silke0
投稿コメントは受け付けていません。
コメント
2件のコメント