Forum Discussion
FICO
2 years agoCommunity Manager
How do you get an R script to locate the Xpress license?
I just installed Xpress optimizer (on Linux MInt) and tried out the first_lp_problem.R example. The call to xprs_loadproblemdata() failed with the message "The license file was not found in '.'." Not...
FICO
2 years agoCommunity Manager
In case any other Xpress users trip over this, I found a fix. The problem is that when RStudio is run, it does not see the bash environment variables. I created a text file named ".Renviron" in my home directory (one did not already exist) and added the line "XPAUTH_PATH=/home/paul/Software/XpressMP/bin/xpauth.xpr". This means that RStudio (and the R session it is using) can see the license variable. The other Xpress-related environment variables are not loaded but apparently are not needed.
Related Content
Related Content
- 2Views0likes2Comments