•
Windows 10
打开
CMD , ****
注意,一定要用管理员身份打开命令行窗口, 因为在安装的时候,
cplex
环境变量路径在系统管理员环境变量中, 不在用户变量中。
•
我的安装目录
C
:\mydoc\CPLEX129\sample\python\examples\cp\basic>
•运行:
Python color.py
![](https://i-blog.csdnimg.cn/blog_migrate/0699b3fffcde717c4cd281d0e96fc35e.png)
•
•
以用户身份打开
Windows
命
令行窗口, 出现这样的错误
•
raise
CpoException
("Can not execute command '{}'. Please check availability of required executable
file.".format
(' '.join(
cmd
)))
docplex.cp.utils.CpoException: Can not execute command 'cpoptimizer.exe -angel'. Please check availability of required executable file