使用 Xpress 失败

using Xpress failed

当我键入 using Xpress 时,它显示了两个错误。一个是

LoadError: XPRESS cannot be loaded. Please run Pkg.build("Xpress")

另一个是

Failed to precompile Xpress [9e70acf3-d6c9-5be6-b5bd-4e2c73e3e054] to C:\Users\cys\.julia\compiled\v1.6\Xpress\jl_7C6D.tmp.

我试图通过 Pkg.build("Xpress") 解决它,但它告诉我

ERROR: Error building `Xpress`:
ERROR: LoadError: Unable to locate Xpress installation.
Please check your enviroment variable XPRESSDIR.
Note that Xpress must be obtained separately from fico.com.

using XpressPkg.build("Xpress")

请按照此处提到的安装说明进行操作:https://github.com/jump-dev/Xpress.jl#install 在您成功键入 using Xpress.

之前,它会进入必要的安装要求