python - Pyomo (PySP) 正在将“\”更改为“/”
问题描述
当我在 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
将“\”符号更改为“/”符号,因此它无法识别我给出的路径。你知道我该如何解决这个问题吗?
非常感谢您的帮助。
解决方案
推荐阅读
- python - 递归替换python3字典中的字符
- javascript - 无法在 Deno 中加载依赖的 txt 文件
- android - 如何实现砖墙式布局以显示列表?- 安卓工作室
- solr - 删除停用词html标签并计算句子中单词的频率
- python - 将列表中的 n 个数字相加并返回总数
- twig - 用于 table.html.twig 的 drupal 8 模板建议
- c - 未使用的参数“状态”的用途是什么?
- java - springdata jpa中的OneToMany关系与外键也是复合主键的一部分
- node.js - Angular 应用程序无法通过 Socket.IO 与 Flask 通信
- angular - 如何使用 ngModel 在 div 的 innerhtml 属性上实现 2 路数据绑定