If you attempt to use the GAMS/XPRESS solver with a link license and you haven't set up the XPRESS portion of the licensing, you will get a licensing error with a message describing the problem. For example, with the 64-bit GAMS distribution 23.9.5 I get the following log output when attempting to solve the rotdk model from the GAMS Model Library:
... --- Executing XPRESS: elapsed 0:00:00.043 FICO-Xpress Jul 4, 2012 23.9.5 LEX 36376.36401 LEG x86_64/Linux *** Xpress licensing error 1: The license file () could not be read. No such file or directory. Please ensure you have installed it according to the instructions in the FICO Xpress READMEs. *** The GAMS-specific licensing went OK, but as an XPRESS-Link licensee, *** you are responsible for setting up the XPRESS-specific portion of the licensing ...
FICO has provided us with a standalone (aka library or developer) license to use in testing that GAMS/XPRESS functions correctly when used with a GAMS/XPRESS-Link license. To make GAMS/XPRESS aware of this license we need only set the XPRESS environment variable. This can be done in a number of ways, including on the command line:
$export XPRESS=/home/sdirkse
With this setting, the solve proceeds as usual. The log indicates that licensing has succeeded.
... --- Executing XPRESS: elapsed 0:00:00.062 FICO-Xpress Jul 4, 2012 23.9.5 LEX 36376.36401 LEG x86_64/Linux Xpress Optimizer 23.01 Xpress Optimizer 64-bit v23.01.05 (Hyper capacity) (c) Copyright Fair Isaac Corporation 1983-2012. All rights reserved Reading Problem rotdk ...
If you attempt to use the GAMS/XPRESS solver with a link license and you haven't set up the XPRESS portion of the licensing, you will get a licensing error with a message describing the problem. For example, with the 64-bit GAMS distribution 24.1.3 I get the following log output when attempting to solve the rotdk model from the GAMS Model Library:
... --- Executing XPRESS: elapsed 0:00:00.085 FICO-Xpress 24.1.3 r41464 Released Jul 26, 2013 WEI x86_64/MS Windows *** Xpress licensing error 259: This is an OEM license but no OEM number was specified. This license may only be used in software from 'GAMS Development Corp. for GAMS'. If you are an end-user please contact your software vendor, mentioning this error message. *** The GAMS-specific licensing went OK, but as an XPRESS-Link licensee, *** you are responsible for setting up the XPRESS-specific portion of the licensing --- Restarting execution ...
FICO has provided us with a standalone (aka library or developer) license to use in testing that GAMS/XPRESS functions correctly when used with a GAMS/XPRESS-Link license. To make GAMS/XPRESS aware of this license it must be copied into the GAMS system directory: setting an environment variable to point to the file in another location is not sufficient. If you use a GAMS system 24.1 or older, the GAMS system directory already contains
a GAMS-specific license xpauth.ini
. Copy your license xpauth.xpr
next to this one. On newer systems we have switched the name of the license file we ship to xpauth.xpr
, the same name used by XPRESS. In this case you might consider copying this xpauth.xpr
to xpauth.xpr.bak
or similar before overwriting it with your own XPRESS license file.
With the license copied into the GAMS system directory, the solve proceeds as usual. The log indicates that licensing has succeeded.
... --- Executing XPRESS: elapsed 0:00:00.110 FICO-Xpress 24.1.3 r41464 Released Jul 26, 2013 WEI x86_64/MS Windows Xpress Optimizer 24.01 Xpress Optimizer 64-bit v24.01.04 (Hyper capacity) (c) Copyright Fair Isaac Corporation 1983-2013. All rights reserved ...