当我在Anaconda Prompt(Windows操作系统)中使用runef
命令(PySP)
时
(base) D:\Downloads\Documents\models_Opt_estocastica> runef --solve --solver=gurobi
我遇到了错误:
"runef: IO ERROR:
path does not exist: D:/Downloads/Documents/models_Opt_estocastica/ReferenceModel.py
问题在于Pyomo
将“ \”符号更改为“ /”符号,因此它无法识别我给出的路径。你有什么想法我可以解决这个问题吗?
非常感谢您的帮助。