juliaxpress-optimizer

using Xpress failed


when I type using Xpress it show me two errors. One is

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

and another is

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

I tried to solve it by Pkg.build("Xpress") but it show me

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")


Solution

  • Please follow the installation instructions mentioned here: https://github.com/jump-dev/Xpress.jl#install which go into the perquisites installs required before you can successfully type using Xpress.