FICO Xpress OptimizationR

Last update 8 September, 2020

8.11
INSTALLATION GUIDEFICO Xpress Installation GuideR©2013–2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac
Corporation ("FICO"). Receipt or possession of this documentation does not convey rights to disclose,
reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation
purposes to determine whether to purchase a license to the software described in this documentation, oras otherwise set forth in a written software license agreement between you and FICO (or a FICO afﬁliate).
Use of this documentation and the software described in it must conform strictly to the foregoing
permitted uses, and no other use is permitted.
The information in this documentation is subject to change without notice. If you ﬁnd any problems in thisdocumentation, please report them to us in writing. Neither FICO nor its afﬁliates warrant that thisdocumentation is error-free, nor are there any other warranties with respect to the documentation except
as may be provided in the license agreement. FICO and its afﬁliates speciﬁcally disclaim any warranties,
express or implied, including, but not limited to, non-infringement, merchantability and ﬁtness for aparticular purpose. Portions of this documentation and the software described in it may contain copyrightof various authors and may be licensed under certain third-party licenses identiﬁed in the software,
documentation, or both.
In no event shall FICO or its afﬁliates be liable to any person for direct, indirect, special, incidental, or
consequential damages, including lost proﬁts, arising out of the use of this documentation or the software
described in it, even if FICO or its afﬁliates have been advised of the possibility of such damage. FICO and
its afﬁliates have no obligation to provide maintenance, support, updates, enhancements, or modiﬁcations
except as required to licensed users under a license agreement.
FICO is a registered trademark of Fair Isaac Corporation in the United States and may be a registeredtrademark of Fair Isaac Corporation in other countries. Other product and company names herein may be
trademarks of their respective owners.
FICO R Xpress Optimization
Deliverable Version: A
Last Revised: 8 September, 2020
Version 8.11

Contents
1

FICO Xpress Installation
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Community License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 Obtaining a Full License File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4 Downloading the Installation Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5 Installing Xpress on Microsoft Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5.1 Installation Prerequisites for Windows Installation . . . . . . . . . . . . . . . . . .
1.6 Installing a Static License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.7 Installing a Floating License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.8 Specifying Additional Installation Options . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.9 Installation on Linux or Unix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.9.1 Prerequisites for Linux Installations . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.9.2 Automated installation on Linux or Unix . . . . . . . . . . . . . . . . . . . . . . . . .
1.10 Installation on Macintosh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.10.1 Environment variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.11 Manual Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.11.1 Manual Microsoft Windows Installation . . . . . . . . . . . . . . . . . . . . . . . . .
1.11.2 Manual Linux/Unix Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.12 Patch Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.12.1 Windows Patch Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.12.2 Linux/Unix Patch Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.12.3 Macintosh Patch Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1
1
1
1
2
2
2
4
5
6
8
9
11
11
12
12
12
13
14
15
15
15

2 FICO Xpress Licensing
2.1 Using a Static License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Using a Floating License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.1 Setting Up the License Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.2 Setting Up the Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.3 Using the Client and Server on the Same Machine . . . . . . . . . . . . . . . . . . .
2.2.4 Stopping the License Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.5 Custom Port Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.6 Connection Retries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.7 Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.8 License Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.9 Replacing the License File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Troubleshooting Licensing Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Licensing Error Messages and Suggested Resolutions . . . . . . . . . . . . . . . . . . . .
2.5 Dongle Licenses (for Microsoft Windows Machines) . . . . . . . . . . . . . . . . . . . . .
2.5.1 Displaying the Dongle Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.2 Installing the HASP Dongle Device Driver . . . . . . . . . . . . . . . . . . . . . . . .
2.5.3 Notes for Xpress Release 13 (and Earlier) Users with Dongles . . . . . . . . . . . .
2.6 Dongle Licenses (for Linux Machines) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6.1 Displaying the Dongle Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6.2 Installing the HASP Dongle Device Driver . . . . . . . . . . . . . . . . . . . . . . . .
2.7 Community License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17
17
17
17
18
18
19
19
19
20
20
21
21
21
23
23
23
23
24
24
24
24

Fair Isaac Corporation Conﬁdential and Proprietary Informationi

Contents

2.8 Redundant Server Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9 Virtualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9.1 Static Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9.2 Floating Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9.3 Application and Enterprise Licensing . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9.4 Virtualization Recommendation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9.5 Using HASP Dongles with VMware . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9.6 Using HASP Dongles with Microsoft Virtual PC . . . . . . . . . . . . . . . . . . . .
2.9.7 Using HASP Dongles with Microsoft Virtual Server . . . . . . . . . . . . . . . . . .

24
25
25
25
25
25
26
27
27

3 Supported Platforms
3.1 Operating System and Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Xpress Solver - Xpress Optimizer and Xpress Nonlinear . . . . . . . . . . . . . . . . . . . .
3.2.1 Python Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 Xpress Mosel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.1 Python Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.2 R support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.3 Data Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 Xpress Solver - Xpress Kalis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5 Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5.1 Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5.2 .NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5.3 Knitro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

28
28
28
28
29
29
30
30
30
30
30
30
31

Creating FICO Xpress Runtime Distributions
Runtime Libraries and Other Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dongles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Floating Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32
32
36
36

Appendix

38

A Contacting FICO
Product support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product education . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sales and maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Related services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FICO Community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About FICO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

38
38
38
38
39
39
39
39

Index

40

Fair Isaac Corporation Conﬁdential and Proprietary Informationii

CHAPTER 1

FICO Xpress Installation
1.1

Introduction
This document describes how to install the FICO Xpress Optimization Suite and the licensing
conﬁguration options for the software.
For installation instructions pertaining to FICO R Xpress Insight, please see the Xpress Insight
Installation guide.
Note: For the purposes of this guide, Option_1 (Node Locked), Option_2 (USB Dongle), and Community
licenses are referred to as "static" licenses. Option_3 (Floating) licenses are referred to as "ﬂoating"licenses.
If you have any problems with your Xpress license, please refer to the sections on 2.3, and 2.4. Thesesections also tell you what information you must supply to FICO Support if you cannot resolve theproblem on your own.

1.2

Community License
The Community license enables development, modelling, and deployment of the industry leading FICO
Xpress Optimization software, free of charge. It can be enabled during installation on Windows; it isautomatically enabled during installation on the Mac. The solvers in the Community license are limited
in problem size. In this edition, the sum of the number of rows (constraints) and columns (variables) is
restricted to 5000, the number of non-linear tokens (measure of the complexity for non-linear
expressions) is restricted to 1000, and the number of user functions (black box optimization) is
restricted to 1. You can unlock these capabilities by purchasing and installing a Full license.

1.3

Obtaining a Full License File
You can obtain a license ﬁle, xpauth.xpr, from FICO Sales (or your Xpress supplier). The full license
ﬁle removes the problem size limits imposed by a Community license. This applies to both new users
and users upgrading from earlier releases. The full license ﬁle removes the restrictions imposed on
problem size by a Community license.
License ﬁles are generated using information from the output from the Xpress Host ID tool. If you arerequesting a static license, run the tool using the following procedure on the machine that will host the
installation; For a ﬂoating license, follow the steps to run the tool on the server.
Using Microsoft Windows, you can run this tool from the Start menu, or by browsing in Windows
Explorer to navigate to the <installationdir>\bin folder and double clicking
xphostid.exe.

Fair Isaac Corporation Conﬁdential and Proprietary Information

1

FICO Xpress Installation



If you use Unix, the tool is installed in the <installationdir>\bin folder as xphostid.

If you are upgrading from an earlier release, you must also supply their ASSC (support) reference
number.
A license authorizes the use of all minor releases within a major release. For example, a license ﬁle for
Xpress 8.4 authorizes the installation of all 8.4 minor releases (8.4.1, 8.4.2, and so forth). A new license
ﬁle is required for a new major release such as Xpress 8.5.

1.4

Downloading the Installation Packages
To install Xpress, use the installer packages available from the downloads area of the FICO Xpress
website. When downloading a new release, make sure that you pick the correct installer for yoursystem and license. For example, if you want to use a Linux 64-bit Xpress, make sure this is the
package you download (and not, for example, Linux 32-bit).
There are three types of installer;an InstallShield Windows version (Windows 32-bit, 64-bit)

an install script version for all the Linux and Unix installers, and

a DMG ﬁle for Macintosh.

To install an Xpress patch rather than a full Xpress installation, see the section 1.12.

1.5

Installing Xpress on Microsoft Windows
Use the Microsoft Windows InstallShield installers, which are contained and run from the self-extracting
zip ﬁles downloaded from the FICO Xpress website.

1.5.1

Installation Prerequisites for Windows Installation
There are no prerequisites for Windows installations.
1. To install the software, double-click the left mouse button on the ﬁle you downloaded; this causes
the self-extracting zip ﬁle to display the following dialog:

2. Click Setup and wait a few moments for the ﬁles to be prepared and the installer to run. Once theﬁles have been extracted from the package, the InstallShield installer displays the following
window:Fair Isaac Corporation Conﬁdential and Proprietary Information

2

FICO Xpress Installation

3. Click Next to continue with the installation. Click Back if you want to return to the previous screen.
4. Next you will be presented with the Xpress licensing agreement as shown below:

It is important that you read this agreement and make sure that you agree to its terms andconditions. Use the scroll bar (highlighted in green) to read the complete agreement. Click Print
to print the agreement text.
5. Click Yes if you agree with the terms. (If you click No, the installer will automatically close.)
6. Accept the default installation location (or navigate to the desired location) then select what typeof license you wish to use:

Fair Isaac Corporation Conﬁdential and Proprietary Information

3

FICO Xpress Installation







1.6

Community License: Choose this to use the software with the free FICO Xpress Community
License for academic and commercial use. The capacity limitations previously listed in 1.2
apply. The software will install for the local machine only.
Static Licensing: Choose this to use the software with a paid or evaluation license. The
software will install for the local machine only. Click Next. See 1.6 to continue theinstallation.
Note that if you select the Static licensing option and plan on using a dongle to license
Xpress, you will be able to move the dongle between machines, but only one machine at atime can access the software.
Floating Licensing: Choose this to use the software with a paid license. The software will
install for the current network. Click Next. See 1.7 to continue the installation.

Installing a Static License
1. Select where you want the software installed. The default location of C:\xpressmp is suitable
for most installations, unless you already have a folder on your C drive named xpressmp, or if
you do not have permission to install software to the default location.

Fair Isaac Corporation Conﬁdential and Proprietary Information

4

FICO Xpress Installation

2. Click Next.
3. To continue the installation, see 1.8.

1.7

Installing a Floating License
1. At this point you will be prompted to specify whether the installation is for the client (the machinethat runs the Xpress software and requests licenses from elsewhere), or the server (the machinethat runs the license manager and grants or refuses licenses to client machines). For more
information see FICO Xpress Licensing.
The following screen will display:

2. Click Yes if you want the XPserver license manager to be run as a Windows service. (This means

Fair Isaac Corporation Conﬁdential and Proprietary Information

5

FICO Xpress Installationthat the license server will be started automatically in the background, which is often the easiest
and best way to run the license manager.)
You can also start the license manager as a standard program by running the runlmgr.bat ﬁle.
For more information see FICO Xpress Licensing.
3. Click Next.
4. For the installer to fully setup your conﬁguration, it needs to know from which server to makelicense requests. If you do not know what the server is called, then ask your system administrator
for the name of the FICO Xpress license server.

If the name of the server is unknown, but you would like to continue with the installation, leave
Server empty and click Next. This creates a license ﬁle with an empty ﬁeld for the server name.
Once the server name is known, you can open the license ﬁle (located in<installationdir>\bin) with any text ﬁle editor and type the server name between thequotes in the line use_server server="".
5. To continue the installation, see 1.8.

1.8

Specifying Additional Installation Options (For Static or Floating License)
1. At this point in the installation, you can specify whether you intend to use dongles as yourlicensing key. (Dongles are small USB objects that look similar to a USB memory stick.) Dongles
can be used if you want to use Xpress on multiple machines, running the software on one
machine at a time. This option is useful when you do not want to lock the license to one particular
computer but rather to one particular dongle.

Fair Isaac Corporation Conﬁdential and Proprietary Information

6

FICO Xpress Installation

2. Specify whether you intend to use dongles:

Select Yes and click Next if you wish to use dongles. This step ensures that the driver
software, required by Windows so that it can understand the dongle, is installed during theXpress installation process.
If you select No and then later decide you do need the dongle drivers, see 2.5. Click Next.

3. Specify whether you want to install the Xpress Kalis constraint programming add-on. This add-on
can be used within the Mosel modeling environment. The default option is to install this add-on,
but you must have a license which allows its use in order to use the Kalis functionality. If you
select to install this option, you must agree to the Artelys Kalis terms and conditions.
Click Install.

The software will now install. This may take a few minutes.

Fair Isaac Corporation Conﬁdential and Proprietary Information

7

FICO Xpress Installation

4. After the software has installed, you will be prompted to point to the license ﬁle and theenvironment variables must be set.



If you have a license ﬁle from FICO Support, click Browse and enter the folder in which thelicense ﬁle (xpauth.xpr) is located. Click Next.
If you do not have a license ﬁle from FICO Support, you can continue; however the license ﬁlecreated in the Xpress installation directory will not be a valid ﬁle, just a temporary
placeholder until you have a valid license.

5. Click Yes if you want to have the Xpress software added as an option on the Windows Start menu.

You have now successfully installed Xpress.
Note: Should the installer fail to function correctly then the software can be installed manually. See 1.11
for details.

1.9

Installation on Linux or Unix
To install Xpress on Linux and Unix variants, use the install script contained within the downloaded tar
archive ﬁle. You must untar the required ﬁles from the downloaded ﬁle. As such, it is recommended
that you not perform this task from your base directory.

Fair Isaac Corporation Conﬁdential and Proprietary Information

8

FICO Xpress Installation

1.9.1

Prerequisites for Linux Installations
Note: If you have an Xpress license, it is recommended that you make a note of the full directory path that
contains the ﬁle (xpauth.xpr) before you begin installation since you will need this information.
1. To extract the ﬁles from the tar archive and start the installation script, enter the following
commands. (For this example the installation is for an 8.4 Linux 64-bit version; as such, your tar
ﬁle may have a slightly different name depending on the Xpress version and system on which you
are installing.)
tar xf xp8.8.0_linux_x86_64_setup.tar
cd xp8.8.0_linux_x86_64_setup./install.sh

After script start up, you will be prompted to answer a series of questions to set up the
installation. (You can exit the installation process at any time by pressing the Ctrl and c at thesame time.)
2. Specify the type of licensing you wish to use: choose from community (free FICO Xpress
Community License for academic and commercial use; the capacity limitations previously listed
in 1.2 apply), static (one computer, or a dongle for a non-server installation) or ﬂoating. Also notethe following when responding to the prompts:In this and all of the other installation questions, valid options are visible in the question text
surrounded by square brackets. For example, at this point there are three options:(c)ommunity or (s)tatic or (f)loating. Therefore valid entries are c or s or f.
When the question requires a yes/no answer, you must type y or n.
When entering a directory path, type the full path, or press Enter to accept the offered default
path.

3. If you opted to install a ﬂoating license, you will be prompted to indicate whether you want a(s)erver or a (c)lient installation. If you will be connecting to another computer (or anotherXPserver Xpress license manager on the same machine) then enter c; if you want to make thismachine the license server then enter s.
4. Determine where to install the software: The default is /opt/xpressmp. Press Enter to accept
the default. To install to a different location, enter the full path, making sure to use forward
slashes "/". You may enter the relative path if you wish, but this may affect how the environment
variables are set later in the installation process. The supported method is to enter the full path.
5. Using the Xpress Kalis constraint programming engine: this is an optional component for use in
the Mosel modeling environment. It requires the relevant licensing option in order to authorize its
use; however, anyone can install the add-on provided they accept the terms and conditions.
If you select the default option (to install Kalis) the Kalis licensing agreement is displayed. Thiscan be scrolled through quickly using the Space bar key, or scrolled through slowly using the up
and down arrow keys or Enter. Pressing q stops the display of the licensing agreement, at which
point you will be asked if you agree to its terms. Press n or y.
6. Add Xpress installation paths to your .bashrc ﬁle: by doing this, Xpress command-line tools canbe accessed from any Bourne shell (bash) you create. If not, you will have to manually source thexpvars.sh ﬁle to use Xpress tools. Press n or y.
7. License ﬁle: you will be prompted to indicate whether you have an Xpress license ﬁle from FICO
Support.

Fair Isaac Corporation Conﬁdential and Proprietary Information

9

FICO Xpress Installation









If you do not have a license, enter n. At this point, you can stop the installation in order toobtain the license ﬁle from FICO Support and then perform the installation once you have it.
Or you can continue with the installation and get the license ﬁle at a later date. If you choose
the latter option, you will need to place the license ﬁle in the bin directory of your Xpress
installation. For instance, in the preceding example, (/opt/xpressmp) you would copy thexpauth.xpr license ﬁle in to the /opt/xpressmp/bin directory.
If you indicated earlier that you have an Xpress license and provided its location, you will beprompted whether you want to copy the license ﬁle to the default directory (which is/opt/xpressmp/bin for this example). This is the default option.
If you decide not to use the default location for the Xpress license, Xpress will still work
correctly; however you should make a careful note of where the license ﬁle is stored in caseit requires updating at a later date.
Once installation is complete, the location you have set for the license ﬁle will be stored in
the XPAUTH_PATH environment variable.

The ﬁles will now be extracted from the tar archive. Depending on the speed of the computer, thismay take only a few seconds or it may take as long as a few minutes.
8. If you indicated earlier that you were installing a ﬂoating client, you will now be prompted for thename of your license server. If you know the name, enter it now. If you do not know the server
name, press Enter and make a note of the onscreen instructions for entering the server name at alater date. (You can alter the server name in the xpauth.xpr license ﬁle using any text editor,
such as Emacs or Vi.)9. On completion, the installer generates two script ﬁles, one for the Bourne shell (xpvars.sh) andanother for the C shell (xpvars.csh). These scripts should be run, as detailed in the installer
output, to set up the shell environment so that Xpress runs correctly. Add them to any user
proﬁles or service startup scripts that will be making use of Xpress.
10. If you need to set any custom environment variables for Xpress (in the Bourne shell) you cancreate a ﬁle called xpvars.local.sh alongside the generated xpvars.sh ﬁle and export
custom environment variables from this script.
11. If you did not have your license ﬁle while performing the installation, you will need to set the
XPAUTH_PATH environment variable to point to it once you do have it. The instructions for doing
this from the command line are described within the installer output.
12. If you want to add the change to XPAUTH_PATH to a more permanent script that can be run
whenever the shell is opened, then the best option would be to edit the relevant xpvars script in
the bin directory of your Xpress installation. You can edit these ﬁles with any Linux/Unix text
editor by altering the line relating to the XPAUTH_PATH environment variable (since this is thelocation of the license ﬁle).
13. If you indicated earlier that you were installing a ﬂoating server installation, the install script
attempts to start the XPserver license manager.
14. If you do not have a server license, then an error message is displayed. If it starts successfully,
then any log messages from it will be output in to the xpress.log ﬁle. By default thexpress.log ﬁle is written to /var/tmp/xpress.log. For more information, see FICO Xpress
Licensing.
15. The Knitro solver component for Xpress NonLinear has a dependency on libgfortran.so.3
on Linux platforms. If libgfortran is not present it needs to be installed on the system, e.g. using acommand such as
yum install libgfortran

Fair Isaac Corporation Conﬁdential and Proprietary Information

10

FICO Xpress Installation

Once the environment variables have been set using the script and a valid license ﬁle is present, thenthe Xpress software is ready to use.
Note: Previous releases of Xpress used the XPRESS environment variable to locate the license ﬁle. This
is now deprecated in favour of the XPAUTH_PATH environment variable. When upgrading, please update
any existing user scripts which set XPRESS so that they instead set XPAUTH_PATH.

1.9.2

Automated installation on Linux or Unix
As well as the guided installation detailed in the previous section you can also use the Xpress
installation script as an automated installer by providing command-line options.
To get a list of the available options run:./install.sh -h

You can specify as many options as you like, if there are any required options missing you will beprompted for these with interactive prompts. If you require the installation to be fully automated makesure you supply all the necessary options so that the interactive prompts do not appear.
Here is an example of a fully automated installation assuming you are in a directory containing theXpress tar archive and a valid xpauth.xpr license ﬁle:mkdir xp84
tar xf xp8.8.0_linux_x86_64_setup.tar -C xp84
pushd xp84/xp8.8.0_linux_x86_64_setup./install.sh -l static -a .. -d /opt/xpressmp -k yes
popd

1.10

Installation on Macintosh
The macOS application is downloaded in a DMG ﬁle.
1. If you have Xpress installed, back up any existing Xpress licence ﬁle, then open the Applications
folder. Right click on the FICO Xpress folder and select Move to Trash to uninstall.
2. Double-click the downloaded FICO Xpress for Mac installer.dmg ﬁle to display the license
agreement.
3. Click Agree to continue the installation. A Finder window is displayed, showing the application
and a shortcut to your Applications folder.
4. Drag the FICO Xpress icon to your Applications folder to install the application.


The FICO Xpress folder includes a copy of Xpress Workbench that provides direct support
for the authoring, editing, executing and debugging of Xpress Mosel models and FICO Xpress
Solutions. You can create a shortcut to the Xpress Workbench application by opening theApplications > FICO Xpress folder and dragging the Workbench icon to the Dock.

5. Optionally, copy the FICO Xpress Examples folder, that contains a range of useful resources
including code examples, to your preferred location and unzip it.
6. When the installation is complete, unmount the DMG ﬁle. Ctrl-click in the Finder window andselect Eject "FICO Xpress Installer". You can then delete the DMG ﬁle
7. Finally, create a new folder in <HOME>/Documents/ named FICO Xpress Config and copy
the license ﬁle to it.

Fair Isaac Corporation Conﬁdential and Proprietary Information

11

FICO Xpress Installation

1.10.1

Environment variables
To use the command-line tools, certain environment variables need updating. At a console or in a shell
script, enter. /Applications/FICO\ Xpress/xpressmp/bin/xpvars.shand the variables will be set.
Note: The backslash (\) between "FICO" and "Xpress" is needed to escape the space character.

1.11

Manual Installation
In the unlikely event that the provided installers fail to function correctly, the software can be extracted
manually.
To perform a manual installation on Windows, you must have a program capable of uncompressing zip
ﬁles. WinZip or WinRar are suitable, although any program with this functionality should work.
Unix and Linux variants should by default contain the necessary programs to unzip and extract from thetar archives. If you do not have an extraction program, you will need to install one. If this is the case andyour previous attempt at automatic installation using the install script failed, then the lack of an
extraction program may be the cause. In this case, install the required tools and attempt an automatic
installation again.
The differences between the automatic and manual installation methods are as follows:

1.11.1Files are not installed selectively as the whole archive will be uncompressed.



Not all environment variables are automatically set.



The dongle driver installation will not be run automatically (Windows).

The ﬁle shortcuts will not automatically be added to the Start menu (Windows).

The XPserver license manager will not be automatically conﬁgured to run as a service.

Manual Microsoft Windows Installation
Should the InstallShield installation fail, the ﬁles may be extracted using any program capable ofreading and extracting from zip ﬁles as follows:
1. Rename the downloaded installation ﬁle extension from .exe to .zip.
2. Extract the ﬁles from the zip ﬁle to the folder from where you want to install.
3. Copy your license ﬁle in to the bin folder of the installation directory. If you are working with a
Community License, rename or copy the provided ﬁle community-xpauth.xpr to
xpauth.xpr.
4. Read the license.txt ﬁle in your installation folder and make sure you agree with the terms
and conditions. (If you do not agree, then cancel the installation and delete the software.)
5. Add the XPRESSDIR environment variable and point towards the xpressmp folder of theinstallation directory. You can set this by going to the Start menu  Settings  Control Panel System  Advanced  Environment Variables, and creating a new environment variable. Use
the full path.

Fair Isaac Corporation Conﬁdential and Proprietary Information

12

FICO Xpress Installation

6. Add the path %XPRESSDIR%/bin to the PATH environment variable. (This allows the system toﬁnd the relevant Xpress libraries and executables.)7. To add links to the programs on the Start menu, select Start menu  Settings  Taskbar andStart Menu. Click on the Start Menu tab and click Customize.
Click Add. The Microsoft Windows wizard will display so that you can add the programs to theStart menu. You may want to add optimizer.exe and xpworkbench.exe as basic links,
although a number of other executables are available. (See the bin folder in the installation
directory.)
If you installing a ﬂoating server license, you need only add links to XPserver.exe, or the
conﬁguration batch ﬁle runlmgr.bat.
8. If you installing a ﬂoating server license, you can delete all ﬁles and folders except the following:

xpserver.exe in the bin folder.

xphostid.exe in the bin folder.

xplicstat.exe in the bin folder.



xprl.dll in the bin folder.



runlmgr.bat in the bin folder.



The tools folder, if you require dongle licensing, from the main Xpress folder.



License.txt from the main Xpress folder.

The licensing folder from the docs folder.

9. If you are going to use dongles for licensing, then install the dongle drivers found in thetools\dongle\hasp directory of your Xpress folder. Use a Windows console as it requires the
addition of command-line arguments. You can open a Windows console by running cmd using theStart  Run menu. See 2.5 for more information.
10. Set up the XPserver license manager. See FICO Xpress Licensing for instructions.

1.11.2

Manual Linux/Unix Installation
As mentioned previously, if the installation fails, it is likely that there was a problem using the standard
zip and tar programs. If this is not the case, then you can manually install the software by following
these steps:
1. If you have not done so, untar the downloaded installer (if you have attempted to install via theautomated install script then you have already performed this step). This command extracts theﬁles from the tar archive:
tar xf name_of_downloaded_installer.tar

2. The extracted ﬁles include the installation script install.sh. Move the .gz ﬁle to the directory
where you want to install the software.
Decompress the .gz ﬁle using the following command:gunzip name_of_gz_file.gz

3. The preceding command extracts another tar archive which itself contains the installation ﬁlesand may be unarchived using the following:
tar xf name_of_new_tar_file.tar

4. The installation directory should now contain several directories of ﬁles and several license andhtml ﬁles. Read the license ﬁles and make sure you agree with the terms and conditions; if you do
not agree to them, delete the software and discontinue the installation.

Fair Isaac Corporation Conﬁdential and Proprietary Information

13

FICO Xpress Installation

5. Copy your xpauth.xpr license ﬁle to the bin directory of the Xpress installation. If you areworking with a Community License, rename or copy the provided ﬁle community-xpauth.xpr
to xpauth.xpr.
6. Set the relevant environment variables so that your system can ﬁnd the Xpress executables,
runtime libraries and license ﬁle. For example, on a Linux system using the C shell:setenv XPRESSDIR your_xpress_install_directory
setenv PATH $XPRESSDIR/bin:$PATH
setenv LD_LIBRARY_PATH $XPRESSDIR/lib:$LD_LIBRARY_PATH
setenv CLASSPATH $XPRESSDIR/lib/xprs.jar:$CLASSPATH
setenv CLASSPATH $XPRESSDIR/lib/xprb.jar:$CLASSPATH
setenv CLASSPATH $XPRESSDIR/lib/xprm.jar:$CLASSPATH
setenv XPAUTH_PATH $XPRESSDIR/bin/xpauth.xpr

The name of the environment variable used to ﬁnd shared libraries varies by system; on Linux andSolaris it’s usually LD_LIBRARY_PATH and on macOS you should use DYLD_LIBRARY_PATH
instead. If unsure, consult your system administrator.
You may ﬁnd it useful to create a small shell script that sets these variables, or to set them in ascript that runs automatically as you log in.
7. If you plan to use the xssh: protocol to connect to a Mosel optimization service running from thisinstallation of FICO Xpress, execute the following commands to generate a unique machine key:
cd $XPRESSDIR/bin./xprmsrv -key new

8. If you are performing a Linux installation and require the use of dongles for licensing, install thedongle drivers now. See 2.6.
9. If you are installing a ﬂoating server license, you only need a few of the ﬁles and can remove therest. You must keep the following ﬁles in order for the XPserver license manager to function
correctly:

xpserver in the bin directory.



xplicstat in the bin directory.

runlmgr in the bin directory.

All ﬁles which begin with libxprl in the lib directory.

The licensing directory in the docs directory.



xphostid in the utils directory.



license.txt from the main Xpress installation directory.

10. To setup the XPserver license manager, follow the instructions as described in FICO Xpress
Licensing.

1.12

Patch Installation
Patch, or maintenance, releases are releases that only include updated ﬁles for parts of the Xpress
software. They may be released to ﬁx a particular bug, improve performance or to add a new feature.
The larger maintenance releases can be downloaded from the FICO Xpress website. They are bundledwith installers and can be installed by themselves. The patch releases (which are often individual ﬁlesor programs) are usually found on the FICO Xpress download site and must be applied to a previous
installation of FICO Xpress.
If you have reported an issue with the software and a ﬁx is now available, you are usually notiﬁed byemail from the Support system that the ﬁx is available to download using the ftp site and where on thesite to download the ﬁx.

Fair Isaac Corporation Conﬁdential and Proprietary Information

14

FICO Xpress Installation

1.12.1

Windows Patch Installation
1. Using your zip ﬁle extraction program (such as WinZip or WinRar) extract the patch ﬁles. In mostcases, these will be replacements for library or executable ﬁles found in the bin folder of theXpress installation, or the .dso ﬁles found in the dso folder of the installation.
2. If you know where the replacement ﬁle(s) should be copied, copy them to the correct destination,
overwriting the older ﬁle. (You can always rename the older ﬁle if you still want access to it.)If you are uncertain where the new ﬁle should go, search from the Xpress installation directory forthe name of the ﬁle. To do this, right-click on the Xpress installation folder and select Search fromthe menu. Enter the name of the ﬁle you wish to replace in the All or part of the ﬁle name box andclick Search. The resulting list indicates where in the Xpress installation the ﬁle can be found.
After the patch is placed in the correct location in the installation, the software may be run as normal
and the updated ﬁles will be automatically used.
Note: If you plan to install multiple copies of Xpress on one system, make sure that the folder you are
applying the patch to is the correct one and that the XPAUTH_PATH, PATH and MOSEL_DSO environment
variables point towards the correct folders.

1.12.2

Linux/Unix Patch Installation
1. Using your gunzip ﬁle extraction and tar archive programs, extract the patch ﬁles. On most
systems this can be achieved using:gunzip patchfilename.tar.gz
tar xf patchfilename.tar

In most cases, these will be replacements for library or executable ﬁles are found in the lib andbin folders of the Xpress installation, or the .dso ﬁles found in the dso folder of the installation.
2. If you know where the replacement ﬁle(s) should be copied, copy them to the correct destination,
overwriting the older ﬁle. (You can always rename the older ﬁle if you still want to have access toit.)
If you are uncertain where the new ﬁle should go, search on the Xpress installation directory forthe name of the ﬁle. You can do this using the ﬁnd command from the Xpress installation
directory:
find . -name name_of_file_to_be_replaced

3. Running the preceding command results in generating a list of ﬁles with matching names. Youmay ﬁnd that if you are searching for a particular minor revision of a ﬁle, such as
libxprs.so.18.10.05, that no matching name is found. This is to be expected as theLinux/Unix library ﬁles are named as per their revision and contain symbolic links (libxprs.so
and libxprs.so.18.10 in this case) which point to the actual library ﬁle.
After the patch is placed in the correct location in the installation, the software can be run as normal
and the updated ﬁles will be automatically used.
If you are attempting to install multiple copies of Xpress on one system, ensure that the folder you are
applying the patch to is the correct one and that the XPAUTH_PATH, XPRESSDIR, PATH, LIBPATH (orSHLIB_PATH or LD_LIBRARY_PATH, depending on the system used) and MOSEL_DSO environment
variables point towards the correct folder.

1.12.3Macintosh Patch Installation
1. If the patch ﬁle named patch.tar.gz has been saved to the Downloads folder, the command to
extract the patch ﬁles is

Fair Isaac Corporation Conﬁdential and Proprietary Information

15

FICO Xpress Installationtar -xf ~/Downloads/patch.tar.gz -C /Applications/FICO Xpress/xpressmp/

2. After the patch has been extracted to the correct location, the software may be run as normal andthe updated ﬁles will be automatically used.

Fair Isaac Corporation Conﬁdential and Proprietary Information

16

CHAPTER 2

FICO Xpress Licensing
2.1

Using a Static License
Note: This section applies to Option_1 (Node-locked) and Option_2 (USB Dongle) licenses.
1. Install the license ﬁle (xpauth.xpr) that you received from FICO Support by saving/copying theﬁle into your xpressmp\bin directory.
For UNIX machines, copy the xpauth.xpr ﬁle into a convenient directory, such as
xpressmp/bin, and set the XPAUTH_PATH environment variable to the full path:
bash$ export XPAUTH_PATH=/opt/xpressmp/bin/xpauth.xpr
csh% setenv XPAUTH_PATH /opt/xpressmp/bin/xpauth.xpr

The XPAUTH_PATH environment variable is only used by Xpress to ﬁnd the license ﬁle. On
Windows XPAUTH_PATH is not needed, since by default Xpress looks for xpauth.xpr in the
directory containing the Xpress libraries, xpressmp\bin. We recommend that XPAUTH_PATH is
not set on Windows, in order to keep the installation simple.
2. You are now ready to use the Xpress product.
Note: Previous releases of Xpress used the XPRESS environment variable to locate the license ﬁle on
UNIX machines. This is now deprecated in favour of the XPAUTH_PATH environment variable. Whenupgrading, please update any existing user scripts which set XPRESS so that they instead set
XPAUTH_PATH.

2.2

Using a Floating License
Note: This section applies to Option_3 (Floating) licenses.
A ﬂoating license requires a license manager to be run on a designated machine that is called thelicense server. Any instance of Xpress that is started on any machine contacts the license server overthe network for authorization before continuing. This guide refers to those machines running Xpress asclient machines.

2.2.1

Setting Up the License Manager
Note: This section applies to Option_3 (Floating) licenses.
1. To use a ﬂoating license, you must designate a machine on your network to be the license server.
This machine must be on the same IP subnet as the client machines, and must allow incoming
connections on TCP port 27100 (or another of your choice as described in the section 2.2.5).

Fair Isaac Corporation Conﬁdential and Proprietary Information

17

FICO Xpress Licensing

2. Run the Xpress installer on the server machine. The installer is a wizard that step you through the
installation process.
On UNIX machines you will be prompted for a license ﬁle. Enter the path to the folder
containing the ﬁle xpauth.xpr that you received from FICO Support. The license ﬁle willautomatically be copied into the server installation.
On Microsoft Windows machines you will be asked whether to install the license manager as
a Windows service. To install the license manager as a service you must have Administrator
privileges, so if you do not have Administrator privileges choose No when prompted.

3. For Microsoft Windows installations only: Copy the server license ﬁle you received from Xpress
Support (xpauth.xpr) into the bin folder of Xpress installation directory.
4. Before you run Xpress on any of the client machines, start the license manager on the server.


On Windows, use the shortcut on the Start menu to start the license manager. If you
installed the license manager as a Windows service you can also start and stop it using theServices control panel applet.
You can also start the license manager from a Unix shell or Windows command prompt (orDOS box) using one of the following commands:

runlmgr start(for the standalone license manager and the Unix license manager)

runlmgr starts(for the license manager Windows service)

The license manager remains running until you stop it manually or restart the computer, in which case it
will need to be restarted before Xpress can be used again.

2.2.2

Setting Up the Clients
Note: This section applies to Option_3 (Floating) licenses.
1. To set up a client machine to use a ﬂoating license, you must ﬁrst install Xpress on the clientmachine. When the installer asks you whether this is a server machine or a client, choose client.
Enter the path where you want to install Xpress.
2. During installation you will be prompted to enter the hostname of your license server. Enter thehostname of your machine, together with any qualifying domain if necessary. For example:
uranos.ficdash.co.uk

Note: It is not necessary to run the license manager on the client machines.

2.2.3

Using the Client and Server on the Same Machine
Note: This section applies to Option_3 (Floating) licenses.


To run the Xpress software on your server machine: Install the client and server in different
folders. Install the client ﬁrst (as described earlier) and then install the server. When prompted for
an install path, enter a different path.
To install the client and server into the same folder: Install the client ﬁrst, and then the server. You
may also have to edit the use_server line of your license ﬁle to point the client at your local
machine, since both client and server will use the same license ﬁle for this type of conﬁguration.

Fair Isaac Corporation Conﬁdential and Proprietary Information

18

FICO Xpress Licensing

2.2.4

Stopping the License Manager
Note: This section applies to Option_3 (Floating) licenses.
At times you may wish to take your license server process ofﬂine, for maintenance or upgrade
purposes, for example.




2.2.5

On Windows, you can stop (and start) the license server using the links placed in the Xpress areaof the Start menu.
If you are using a Unix machine (or for Windows users who do not/cannot use the Start menu
option just described) you can control the license server using the runlmgr script manager froma Unix shell or Windows command prompt (or DOS box):

runlmgr stop(for the standalone license manager and the Unix license manager)

runlmgr stops(for the license manager Windows service)

Custom Port Number
Note: This section applies to Option_3 (Floating) licenses.
You may need to conﬁgure the license manager to use a particular TCP port, such as in those cases
where you are running another service on your server machine which is conﬂicting with the Xpress
license manager, or if you want to make a rule in your ﬁrewall to allow incoming connections on thisport. Use the following instructions to do so:
1. Edit the license ﬁle on the server and add a server line specifying the port number. For example:
server port="12840"

2. Edit the license ﬁle on the client and add the following port directive to the use_server line. For
example:use_server server="our_server_machine" port="12840"

3. Restart the license server application in order for it to re-read the license ﬁle.

2.2.6

Connection Retries
Note: This section applies to Option_3 (Floating) licenses.
In some cases, where the license server resides on a high-trafﬁc machine or you have a large number ofclient applications, it may be helpful to automatically retry failed connections. Using this feature, if aclient fails to connect to a license server, it will retry for a speciﬁed number of attempts, leaving an
exponentially increasing delay between retries, rather than returning an error. To do this, follow thefollowing instructions:
1. Edit the license ﬁle on the client and add the retries directive to the use_server line. For
example, to retry a failed connection 5 times before returning an error:
use_server server="our_server_machine" retries="5"

Fair Isaac Corporation Conﬁdential and Proprietary Information

19

FICO Xpress Licensing

2.2.7

Logging
Note: This section applies to Option_3 (Floating) licenses.
By default the license server process creates a log ﬁle called xprl_server.log in a temporary folder
on the server machine.


On Windows machines, the server logﬁle is created in the temporary folder by default, which istypically the folder Local Settings\Temp within the proﬁle of the user account used to run theserver; however in some circumstances it may appear in C:\Windows\Temp.
On Unix machines the server logﬁle is generally found in either /tmp or /var/tmp.

To ﬁne-tune the server’s logging: edit the server license ﬁle and add a logging line. For example, you
can change the location of the logﬁle as follows:
logging file="C:\logs\xprl_server.log"

or on Unix machines:
logging file="/var/log/xprl_server.log"

To change the level of detail that will be placed in the log ﬁle, use the logginglevel command. For
example:logging level="verbose"

The default detail level is normal. Other levels are quiet (log only serious errors), verbose (log moredetail than normal) and debug (which should only be used under the direction of FICO support).
To change the log ﬁle size: By default the log ﬁle should not get much larger than 128 kilobytes; if you
ﬁnd this is not enough and want to store more logging data you can set the maxsize directive to thenumber of kilobytes you want to retain. For example:
logging maxsize="256"2.2.8

License Status
Note: This section applies to Option_3 (Floating) licenses.
When using a server license, you may want to quickly review the current state of all the licenses. For
example, you may want to ﬁnd out who is using a license that you want to use yourself.
You can use the supplied command-line tool xplicstat to summarize which licenses are in, as wellas which tokens can still be checked out. For ﬂoating licenses only, the tool will also output the time thelicense was locked and the IP address of the machine that locked it. Use the xplicstat command in
conjunction with a client xpauth.xpr ﬁle and at least one use_server line.
This command will use the XPAUTH_PATH environment variable to locate the license ﬁle. On Windows,
if XPAUTH_PATH is not set, the command will look for the license ﬁle in the same folder as theexecutable. You can also specify an alternate location using the -xpress command-line ﬂag. For
example:xplicstat -xpress C:\xpressmp\bin\xpauth.xpr

Fair Isaac Corporation Conﬁdential and Proprietary Information

20

FICO Xpress Licensing

2.2.9

Replacing the License FileIf you need to upgrade or renew your license, contact FICO Support to send you a new xpauth.xpr
ﬁle, which you must place in the same location as the original xpauth.xpr as follows:




2.3

For Option_1 (Node Locked) or Option_2 (USB Dongle) licenses, this location is in the bin
sub-folder of the Xpress installation.
For Option_3 (Floating) licenses, you must place it in the bin subfolder of the Xpress server
installation on the server machine. Restart the server process in order to force the server toreread the license ﬁle.

Troubleshooting Licensing Issues
If there is a problem with your Xpress license, the error message provides information about the
problem.
For ﬂoating licenses, also check the xprl_server.log log ﬁle for any recent error messages. If thelicense server fails to start, check the Windows event log (or /var/log/messages on Unix systems)
for any errors.
Refer to the following section 2.4 for common errors and probable causes and/or resolutions.
If you do not resolve the problem by reviewing this section, try the following steps:
1. Upgrade to the latest version of Xpress.
2. If you have a portable Windows machine with a license tied to your Ethernet address, and you arehaving problems when the machine is not connected to a network, it may have Media Sense
enabled. This disables the Ethernet card when no network is connected to save power. Disable
Media Sense by following the instructions on Microsoft’s website:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q239924.
3. If you are running Windows XP and the Xpress host ID tool does not show any host IDs, yournetwork adapters may be bridged. To ﬁx this, use the Control Panel and select Network andInternet Connections, and click Network Connections (depending on your set-up, you may
instead have to double-click Network Connections as soon as you open the Control Panel). If thewindow contains a section entitled Network Bridge, right click the Network Bridge icon andchoose Delete. Now re-run the Xpress host ID tool to ﬁnd out the host ID of your computer.
If you still have problems, please contact FICO Support, giving full details about the error number andmessage obtained, along with a description of the circumstances under which it occurred.

2.4

Licensing Error Messages and Suggested Resolutions
These error messages are displayed by executable software, including Xpress Workbench, Optimizer
console, and Mosel console. If you are using any of the Xpress libraries, the error message can beobtained using the XPRSgetlicerrmsg (Optimizer and BCL) or XPRMgetlicerrmsg (Mosel)
functions. For ﬂoating licenses they may also show in the xprl_server.log log ﬁle.
If you obtain an error number not listed here, report the error number and message to FICO Support,
along with a description of the circumstances under which it occurred.

Fair Isaac Corporation Conﬁdential and Proprietary Information

21

FICO Xpress Licensing

1

The license ﬁle (xpauth.xpr) could not be found.
Make sure you have the correct license ﬁle in the correct location. Under Windows, thexpauth.xpr ﬁle should be placed in the Xpress bin directory (the directory on the pathcontaining the Xpress DLLs). If you are using the XPAUTH_PATH environment variable on
Windows, check that it is set to the full path to your license ﬁle. (We recommend not setting
XPAUTH_PATH on Windows, and instead placing xpauth.xpr in the Xpress bin directory.)
Under Unix, the XPAUTH_PATH environment variable must be set to the full path of thexpauth.xpr ﬁle. Note: Previous releases of Xpress used the XPRESS environment variable tolocate the license ﬁle. This is now deprecated in favour of the XPAUTH_PATH environment
variable. When troubleshooting licensing issues, make sure that XPRESS is not set.

2

There is an error in your license ﬁle...
or

8Your license ﬁle has not been signed by Xpress Support / has an incorrect signature.
or

11Your license is invalid as it speciﬁes an invalid / no expiry date.
Your license ﬁle is corrupt—try replacing it with the license ﬁle originally sent to you by FICO
Support. If the original license ﬁle sent to you is invalid, then request a new license ﬁle. Attach
the corrupted license ﬁle and provide the error code number—this indicates to FICO Support
exactly what is wrong with the ﬁle.

4

The maximum number of simultaneous users has been reached.
Your license ﬁle speciﬁes a limit on the number of copies of Xpress that can be usedsimultaneously and that limit has been reached. Close one of the copies of Xpress, or wait
until another user has ﬁnished with Xpress, or upgrade your license.

9

The license ﬁle only supports host ID(s) (id1,...)Your license is locked to a different host from that which you are trying to run Xpress (or for
ﬂoating licenses, the license is locked to a different server machine from the one you areusing). If you need a license for this machine, contact Xpress Support.
If you receive error #9 and you are sure your license is locked to your machine’s hostid, it may
be that Xpress cannot detect your hostid. If you have an Ethernet license, disable Media
Sense, as described earlier in this section. If you have a dongle, make sure that it is plugged inand to manually install the dongle drivers from your latest Xpress installation, as described in
the section 2.5.2.

10Your license expired on (date).
Your license has expired. Contact FICO Support to renew it or to obtain an upgrade.

14

Could not connect to server...
Check that the server computer is visible over the network. Enter the following command:ping name_of_license_server

Also, verify that the license server application, xpserver, is currently running on the servermachine. Check the logﬁle for errors. If you have a ﬁrewall, ensure that it is not blocking
communications to and from the Xpress license server application.
20

License could not be checked out on redundant servers.
A quorum (two out of three) of redundant license servers could not be obtained for thislicense. Either insufﬁcient redundant license servers are active, or the license is alreadychecked out on the other two redundant license servers. (This error can only occur when using
a redundant server license.)

21

Your license only supports release (rel).
Your license is for a previous release of Xpress. Be sure that you are not using an old license
and that Xpress is ﬁnding the correct license ﬁle by following the suggested resolution in (#2) above.

Fair Isaac Corporation Conﬁdential and Proprietary Information

22

FICO Xpress Licensing

If your license only covers a previous release, contact FICO Support to upgrade it.

2.5

32

Not within local subnet
Your license only permits you to connect to the license server from machines within the same
subnet as the license server machine. If you attempt to connection from a machine outside ofyour subnet this error is triggered.

89

Your license only supports platform(s) (plat1,...).
Your license ﬁle does not support the platform that you are using to run Xpress. Contact FICO
Support if you want to upgrade.

103

Your license does not allow Xpress to be run on a Terminal Services server
You can only use Xpress on a Terminal Services server with a Workstation or Server license. If
you require a license upgrade, please contact your supplier.

259

This is an OEM license and you have incorrectly speciﬁed the OEM number.
You have either called an initialization function without ﬁrst calling the OEM licensing function
or you speciﬁed the wrong OEM number in your call to the licensing function. Check yourOEM documentation to be sure that you are using the correct initialization sequence. Notethat OEM numbers issued for releases earlier than Xpress-MP 2003 are invalid with
Xpress-MP 2003 and beyond. If in any doubt, conﬁrm your OEM number with FICO Support.

Dongle Licenses (for Microsoft Windows Machines)
Under Windows, licenses are available that are locked to a dongle rather than to the host ID or Ethernet
address of the computer. A license ﬁle is still required; it will contain the four-digit dongle number inplace of the computer’s host ID or Ethernet address. The dongle is used only to provide a uniquefour-digit dongle number to which the license ﬁle is locked. The license is only valid when run on themachine to which the dongle is currently attached. All license details, including the Xpress featuresauthorized, whether the license is static or ﬂoating, the release of Xpress authorized, and so forth, arecontained in the license ﬁle.

2.5.1

Displaying the Dongle Number
The dongle number can be obtained by running the Xpress Host ID tool (see 1.3 for more information).
Note that the dongle must be connected to your computer and the dongle device driver must be
installed and running (as described below).

2.5.2

Installing the HASP Dongle Device Driver
When installing Xpress for Windows, the setup program automatically tries to install the appropriate
device driver. For the driver to install correctly, you must have Administrative privileges and restart thecomputer once installation is complete.
To enable the dongle drivers for Windows to be installed manually, use the software located in thetools\dongle directory. To install the driver, navigate to the tools\dongle\sentinelhasp folder
and run the haspdinst.exe program with a -i ﬂag. For example:
haspdinst -i

2.5.3

Notes for Xpress Release 13 (and Earlier) Users with Dongles
Releases of Xpress prior to Xpress-MP 2003 used a different mechanism: the license information was
included in the dongle itself, and different types of dongle were supplied depending on whether the
license was static or ﬂoating. When using your existing dongle with Xpress-MP 2003 or later, all

Fair Isaac Corporation Conﬁdential and Proprietary Information

23

FICO Xpress Licensing

information on the dongle, apart from the four-digit dongle number, is ignored. Since your dongle does
not need to be updated to work with 2003 or later, it still supports previous releases of Xpress.
If you have a NetHASP dongle (red plastic casing), for use with a ﬂoating license, the NetHASP license
manager is no longer used, and can be disabled. Floating licenses are now administered by thexpserver license manager as described in this document. The NetHASP dongle acts as an ordinary
dongle and must be attached to the license server.

2.6

Dongle Licenses (for Linux Machines)
Under x86 32-bit and 64-bit x86 Linux, licenses are available that are locked to a dongle rather than tothe host ID or Ethernet address of the computer. A license ﬁle is still required: this will contain the four
digit dongle number in place of the computer’s host ID or Ethernet address.
The dongle is used to provide a unique four-digit dongle number to which the license ﬁle is locked. The
license is only valid when run on the machine to which the dongle is currently attached. All license
details, including the Xpress features authorized, whether the license is static or ﬂoating, the release of
Xpress authorized, and so forth, are contained in the license ﬁle.

2.6.1

Displaying the Dongle Number
The dongle number can be obtained by running the Xpress Host ID tool (see the section 1.3). Note thatthe dongle must be connected to your computer and the dongle device driver installed and running (asdescribed below).

2.6.2

Installing the HASP Dongle Device Driver
The dongle driver is not automatically installed when installing Xpress on a Linux machine. In order foryour dongle to be recognized, you must download the Linux dongle drivers from the FICO Xpress client
download page. You must login with your root account, extract all the ﬁles from theaksusbd-1.16.1-i386.tar.gz archive within the
Sentinel_LDK_Linux_Run-time-Installer_script.tar archive and run the dinst script
which will install the HASP dongle driver daemon. After this, the Xpress software should recognize thedongle you plug in. (Try running the xphostid tool to check this. If it reports a hostid starting with’di’ then it can see your dongle and the driver is correctly installed.)

2.7

Community License
The Community license enables development, modelling, and deployment of the industry leading FICO
Xpress Optimization software, free of charge. The solvers included in the Xpress Community License
are only limited in problem size. In this edition, the sum of the number of rows (constraints) andcolumns (variables) is restricted to 5000, the number of nonlinear tokens (measure of the complexity
for nonlinear expressions) is restricted to 1000, and the number of user functions (black box
optimization) is restricted to 1.

2.8

Redundant Server Licenses
A redundant server license is a special type of license for use in mission-critical environments. It relies
on not one license server but three, of which at least two must be active to authorize Xpress. This way,
if one license server machine happens to fail, your applications can still use Xpress using the remaining
two servers until the problem is corrected.

Fair Isaac Corporation Conﬁdential and Proprietary Information

24

FICO Xpress Licensing

To obtain a redundant server license, contact your supplier.
1. You must install the license server application on all three license server machines. Edit yourserver license ﬁle and ensure that the machine names in the use_server lines match with thenames of your three license server machines. For example:
use_server server="main_server" hostid="mx001731e8216c"
use_server server="backup_server_1" hostid="mx002831e8216d"
use_server server="backup_server_2" hostid="mx0017ff88216e"

Install the same server license ﬁle on all three redundant server machines.
2. In the client license, list the three redundant license servers, marked as redundant license servers,
as follows:
use_server server="main_server" redundant="1"
use_server server="backup_server_1" redundant="1"
use_server server="backup_server_2" redundant="1"

Xpress will try to connect to each of the redundant license servers in turn, until it successfully
establishes a connection with one of them.
Keep in mind that you cannot use Xpress when only one redundant license server is active. Xpress will
only license successfully if two or three of the redundant license servers are available.

2.9

Virtualization
Xpress software supports the most common virtualization technologies including VMWare, Microsoft
Virtual PC/Server, App-V, and so forth.

2.9.1

Static Licensing
Xpress version 7.0 and later supports static (node locked) licensing on virtualized hardware.
USB Dongle licenses are compatible with VMware but are unsupported by Virtual PC and Virtual Server.

2.9.2

Floating Licensing
All versions of Xpress support the use of ﬂoating licenses with virtualization technologies. However,while the clients can be virtual guest operating systems, the license manager itself must be executedon a non-virtual operating system.

2.9.3

Application and Enterprise Licensing
Xpress version 7.0 and later supports application and enterprise licensing on virtualized hardware.

2.9.4

Virtualization Recommendation
Virtualization is most commonly deployed in a server environment to consolidate resources. The
limitations of dongles described earlier make their use unsuitable for most server installations.
FICO recommends that ﬂoating or application/Enterprise licensing be used with virtualization
technologies as these conﬁgurations provide the most reliable means of complying with the terms andconditions of the client’s licensing agreement. The license server can be installed as a service on a hostoperating system or another real machine, locked to the hardware. Virtual guest operating systems arethen able to request licenses as necessary over the local network.

Fair Isaac Corporation Conﬁdential and Proprietary Information

25

FICO Xpress Licensing

2.9.5

Using HASP Dongles with VMware
1. In order to use dongles from a virtual machine running under VMWare, open your virtual
machine’s settings and ensure the option Automatically connect new USB devices to this virtual
machine when it has the focus is selected, as shown in the following example:

With this option activated, any USB device you plug in while the virtual machine has the focus will
be connected to the virtual machine, rather than to the host operating system.
2. You can now install Xpress as normal. Select to use hardware dongles as the licensing key when
prompted by the installer. Click in the virtual machine window to ensure it has the focus, and if
you plug in your dongle now, it should connect to the operating system and be recognized when
you run Xpress.
3. Should you plug in your dongle when the virtual machine does not have the focus, it will beconnected to the host operating system instead. To disconnect it from the host and connect it to
the virtual machine, bring up the VM menu from VMware, slide across Removable Devices andUSB Devices, and select Aladdin Knowledge Systems USB Device as shown in the following
example:4. You will be requested to disconnect the dongle from the host and reattach it to the virtual
machine. Click OK.

Fair Isaac Corporation Conﬁdential and Proprietary Information

26

FICO Xpress Licensing

2.9.6

Using HASP Dongles with Microsoft Virtual PC
Warning: Hardware dongles are not currently supported under Microsoft Virtual PC (including Microsoft
Virtual PC 2007). In addition, it is important that you do not try to install the HASP dongle drivers on a
virtual machine hosted by Virtual PC as it has been observed that this can damage the virtual machine, in
extreme situations leading to it becoming unbootable. When the Xpress installer prompts you whether touse hardware dongles for licensing, answer No.

2.9.7

Using HASP Dongles with Microsoft Virtual Server
Microsoft Virtual Server currently does not support any USB devices, including dongles, except for
keyboards & mice. It is not possible to use Xpress with a dongle license through Microsoft VirtualServer.

Fair Isaac Corporation Conﬁdential and Proprietary Information

27

CHAPTER 3

Supported Platforms
3.1

Operating System and Hardware
The following are the supported platform, operating system, and processor combinations for FICO
Xpress.

3.2

Xpress Solver - Xpress Optimizer and Xpress Nonlinear
Xpress Solver is the framework that supports all of FICO’s optimization solver technologies, including
Xpress Optimizer and Xpress Nonlinear.
These can be used within our modeling language Xpress Mosel or directly from Python.
Platform

Operating System

Processor

Windows 8
Windows 10
Windows 64-bit

Windows Server 2012 R1 and R2

Any AMD64 or Intel EM64T

Windows Server 2016 R1 and R2

enabled 64-bit CPU

Windows Server 2019
Linux 64-bit

RHEL 6

Any AMD64 or Intel EM64T

RHEL 7enabled 64-bit CPU

10.13 (High Sierra)
macOS 64-bit

Solaris 64-bit

3.2.1

10.14 (Mojave)
10.15 (Catalina)Intel EM64T enabled 64-bit CPU

Solaris 10

Any AMD64 or Intel EM64T

Solaris 11

enabled 64-bit CPU

Python Support
Xpress Solver (Xpress Optimizer and the Nonlinear solvers) can be used with the following Python
versions.

Fair Isaac Corporation Conﬁdential and Proprietary Information28

Supported Platforms

Xpress Versions

Python Support
Python 2.7

8.6.0 to 8.6.5

Python 3.4

8.7.0 to 8.7.2

Python 3.5

8.8.0 to 8.8.2

Python 3.6
Python 3.7
Python 2.7

8.6.6 and above

Python 3.5

8.7.3 and above

Python 3.6

8.8.3 and above

Python 3.7
Python 3.8

3.3

Xpress Mosel
The Xpress Mosel language allows the user to deﬁne his models in a form that is close to algebraic
notation and to solve them in the same environment.
It interfaces to statistics packages such as R or Matlab. Mosel provides a module python3.dso that
implements functionality for exchanging data between a Mosel model and Python 3 (C Python) and for
calling Python 3 scripts.
Platform

Operating System

Processor

Windows 8
Windows 64-bit

Windows 10

Any AMD64 or Intel EM64T

Windows Server 2012 R1 and R2

enabled 64-bit CPU

Windows Server 2016 R1 and R2
Linux 64-bit

RHEL 6

Any AMD64 or Intel EM64T

RHEL 7enabled 64-bit CPU

10.13 (High Sierra)
macOS 64-bit

10.14 (Mojave)

Intel EM64T enabled 64-bit CPU

10.15 (Catalina)
Solaris 64-bit


3.3.1

Solaris 10

Any AMD64 or Intel EM64T

Solaris 11

enabled 64-bit CPU

Xpress Workbench is the premier choice as IDE (Integrated Development Environment) for
standalone Mosel models and Xpress Insight apps. It integrates with Insight for remotedebugging

Xpress IVE is deprecated but still available for Mosel on Windows only.



Mosel connectivity to spreadsheets is available on Windows, Linux, and macOS.

Python Support
Mosel provides a module python3.dso that implements functionality for exchanging data between a
Mosel model and Python 3 (CPython) and for calling Python 3 scripts. The Mosel run-time library loads
and runs the Python interpreter. Xpress Mosel can be used with the following Python versions:

Python 3.5 to Python 3.8

Fair Isaac Corporation Conﬁdential and Proprietary Information29

Supported Platforms

Note The Mosel module python3.dso cannot be used with Python 3.8.0

3.3.2

R support
The R interface for Xpress Mosel makes it possible to easily exchange data with R and execute R
scripts, or evaluate expressions in the R language, from within a Mosel model.
Mosel supports R versions 3.0 to 3.6.x

Note Download the version of R from the R Project web site at www.r-project.org, targeting thesame platform as Mosel. Therefore, if you have Windows 64-bit Mosel installed, download amatching R version.

3.3.3

Data Sources
Mosel can connect to data in memory through ﬁles, databases and web services. It connects to any
ODBC-enabled data source, has a speciﬁc Oracle driver and drivers for Excel, CSV, XML, JSON as wellas its own DAT format. Users can implement custom drivers and use Mosel’s free form reading andwriting capabilities.

3.4

Xpress Solver - Xpress Kalis
Xpress Kalis provides access to the Artelys Kalis Constraint Programming (CP) solver from a Mosel
module allowing the user to formulate and solve CP models in the Mosel language.
Xpress Kalis combines a ﬁnite domain solver and a solver over continuous (ﬂoating point) variables. Alldata handling facilities of the Mosel environment, including data transfer in memory and ODBC accessto databases can be used with Xpress Kalis.
Platform

Operating System

Processor

Windows 8
Windows 64-bit

Windows 10

Any AMD64 or Intel EM64T

Windows Server 2012 R1 and R2

enabled 64-bit CPU

Windows Server 2016 R1 and R2
Any AMD64 or Intel EM64T
Linux 64-bit

3.5Interfaces

3.5.1

Java

RHEL 6 or later

enabled 64-bit CPU

The interfaces for calling Xpress libraries from Java require a minimum of Java 6 (internal version:
1.6.0); compatible distributions of Oracle Java and OpenJDK are supported.
The Mosel module mosjvm works with Java 8 and 11. Distributions other than Oracle Java, OpenJDK,
and Amazon Corretto are not supported.

3.5.2

.NET
The interfaces for calling Xpress libraries from .NET work with .NET Framework 3.5+ and .NET Core
3.0+ (they are available on Windows platforms only).

Fair Isaac Corporation Conﬁdential and Proprietary Information30

Supported Platforms

3.5.3

KnitroOn Linux platforms, the Knitro solver component requires libgfortran (version libgfortran.so.3) tobe installed on the system.

Fair Isaac Corporation Conﬁdential and Proprietary Information

31Creating FICO Xpress Runtime Distributions
For distributing an application that uses some portion of FICO Xpress Optimization to end-users werecommend that you distribute the whole installation package, but if you only want to distribute parts ofit then here is how to do it.

Runtime Libraries and Other Dependencies
1. Make sure that there is no other Xpress software, library ﬁles or license ﬁles on the path or in any
directories used or accessed by your application – in particular, be careful that no earlier releasesof Xpress software are present.
2. The ﬁles you need to run (but not compile) applications depend on which of the Xpress libraries
you are using. Here we give the ﬁles required for Windows and Solaris; the ﬁles required for other
Unix operating systems are similar to those required for Solaris, but the exact ﬁle names
sometimes differ in an obvious way. (The sufﬁx X in Solaris ﬁle names indicates the version
number.) All of these ﬁles (with the exception of your particular license ﬁle, xpauth.xpr) should
be taken from the current Xpress release distribution. See note 9 below for an explanation of theUNIX symbolic links required for UNIX installations.


An Optimizer application requires the ﬁlesWindows

Notes

Optimizer library

xprs.dll

libxprs.so.⁎

Optimizer library Javawrapper
Xpress support libraryjavaxprs.dll

libjavaxprs.so

xprl.dll

libxprl⁎

Python interface

xpress⁎.pyd

xpress⁎.so(Python only)

xprsdn.dll
mscoree.dll

N/A(Windows .NET only)

Optimizer
wrapper

Solarislibrary.NET(Java and MATLABJava only)

MATLAB interface
Knitro libraryxprs⁎.mexw⁎
xprs⁎.mex⁎(MATLAB only)
xknitro.dll
libxknitro.so.⁎ (if required)xknitronl.dll libxknitronl.so.⁎libiomp5md.dll

License ﬁlexpauth.xpr

xpauth.xpr

A BCL application requires the ﬁlesFair Isaac Corporation Conﬁdential and Proprietary Information

32

Creating FICO Xpress Runtime Distributions



Optimizer library

xprs.dll

libxprs.so.⁎

BCL library

xprb.dll

libxprb.so.⁎

BCL library Java wrapper

xprb_J.dll

libxprb_J.so(Java only)

Optimizer
wrapperJava

javaxprs.dll

libjavaxprs.so(Java only, if required)

BCL library .NET wrapper

xprndn.dll
mscoree.dll

N/A(Windows .NET only)

National language support

xprnls.dll

libxprnls.so(Windows only)

VB library extensions

xprvb.dll

N/A(VB only)

Xpress support library

xprl.dll

libxprl.⁎

License ﬁlexpauth.xpr

xpauth.xpr

library

A Mosel (run-time library) application requires the ﬁles
(if required, see additional dependencies below)

Optimizer library

xprs.dll

libxprs.so.⁎

Mosel library

xprm_rt.dll

libxprm_rt.so.⁎

Mosel executable

mosel.exe

mosel(required for remote connections
or Mosel commandline)

Mosel library Java wrapper

xprm_rtJ.dll

libxprm_rtJ.so.⁎(Java and MATLABJava only)

Mosel compiler library

xprm_mc.dll

libxprm_mc.so.⁎(if required, e.g. byexecutable)

Mosel compiler
Java wrapper

libraryxprm_mcJ.dll

libxprm_mcJ.so.⁎(Java only; if required)

Mosel library .NET wrapper

xprmdn.dll
mscoree.dll

N/A(Windows & .NET
only)

Mosel library .NET wrapper helper DLL

xprndn-chelper.dll

N/A(Windows & .NET
only)

MATLAB interface

moselexec.mexw⁎

moselexec.mex⁎(MATLAB only)

National language support

xprnls.dll

libxprnls.so

Mosel modules or packages used

XXX.dsoXXX.bim

XXX.dsoXXX.bim(as required, seeadditional dependencies below)

VB library extensions

xprmvb.dll

N/A(VB only)

Xpress support library

xprl.dll

libxprl.⁎

License ﬁlexpauth.xpr

xpauth.xpr

Certain Mosel modules or packages have additional dependencies, so these ﬁles also need
to be provided if you use the speciﬁed component:

Fair Isaac Corporation Conﬁdential and Proprietary Information

33

Creating FICO Xpress Runtime Distributions

advmod.bim

mmxprs.dso

aec2.bim

mmjobs.dso mmhttp.dso mmssl.dso
mmsystem.dso mmxml.dso
Windows: mplink.exe mpscp.exe

dmp.dsommhttp.dso mmsystem.dso
Windows: jansson.dll
Unix: libjansson.so.⁎

executor.bim

mmjobs.dso mmhttp.dso mmxml.dso
mmsystem.dso executor.dso
Windows: jansson.dll
Unix: libjansson.so.⁎

fssappstudio.bim

mmxml.dso mmsystem.dso

hadoop.dso

libjava.so(Linux only)

kalis.dso

Windows: Kalis.dll xprs.dll(Windows and Linux)

Linux: libKalis.so libxprs.so.⁎
libstdc++.so.⁎ libgcc_s.so.⁎+matlab.dso(MATLAB installation required)mmhttp.dso

mmjobs.dso mmsystem.dso

mminsight.bim

mminsight.dso mmxprs.dso
mmxml.dso
mmsystem.dso mmhttp.dso mmjobs.dso
trusteddsn.dso mmssl.dso
s3.dso s3.bim debugarchive.bim
mminsightannotations.bim

mmjobs.dso

Windows: xprm_mc.dll
Unix: libxprm_mc.so.⁎

mmoci.dso(Oracle Instant Client installation required)

mmrobust.dso

mmxprs.dso
Windows: xprs.dll / Unix:libxprs.so.⁎

mmsheet.dso

Windows: libxl.dll

mmssl.dso

mmsystem.dso(Windows, Linux, OSX)

Windows: LIBEAY32.dll SSLEAY32.dll
Unix: libssl.so.⁎ libcrypto.so.⁎
mmsvg.bim

mmsystem.dso mmjobs.dso
mmxml.dso mmsvg.tgz

mmxml.dso

mmsystem.dso

Fair Isaac Corporation Conﬁdential and Proprietary Information

34

Creating FICO Xpress Runtime Distributions

mmxnlp.bim

mmxprs.dso mmnl.dso mmjobs.dso
mmsystem.dso mmxnlp.dso
Windows: xprs.dll / Unix: libxprs.so.⁎
Knitro solver (optional):
Windows: xknitro.dll xknitronl.dll
libiomp5md.dll
Unix: libxknitro.so.⁎ libxknitronl.so.⁎

mmxprs.dso

Windows: xprs.dll / Unix: libxprs.so.⁎

nlsolv.dso

Windows: amplxpress.exe xprs.dll
Unix: amplxpress libxprs.so.⁎python3.dso(Python 3 installation required)r.dso(R installation required)s3.bimmmjobs.dso mmssl.dso mmxml.dso
mmsystem.dso mmhttp.dso s3.dso
Windows: jansson.dll
Unix: libjansson.so.⁎

zlib.dso

Unix: libz.so.⁎(no extra dependency on Windows)

mmssl executable

Windows: mmssl.exe / Unix: mmssl(required for httpssetup)

xprmsrv executable

Windows: LIBEAY32.dll ssh.dll
Unix: libssh.so.⁎ libcrypto.so.⁎(for remote connections)If you are using a ﬂoating license, you also need these ﬁles:Xpress license manager

xpserver.exe

xpserverLicense state query tool

xplicstat.exe

xplicstat

Some of the components of FICO Xpress Optimization contain open source software. Whenredistributing parts of Xpress please make sure that you also include the corresponding ﬁlesfrom the licenses subdirectory of the Xpress distribution.

3. Copy all of the Xpress ﬁles listed above to one directory on your end-user’s computer. This can be
any directory, but we strongly recommend that you use the directory containing your application
program.
If you are building a runtime distribution for Mosel applications we recommend that you maintainthe same subdirectory structure (with directories bin, dso, lib, and if you are using MATLAB
also matlab) as the original Xpress distribution.
4. Windows libraries: Add the directory containing the Xpress ﬁles to the Windows PATH, so that
Windows knows where to ﬁnd the Xpress DLLs.
5. Unix libraries: Add the directory containing the Xpress libraries to the environment variable forlocating shared libraries on your platform (LD_LIBRARY_PATH for Linux and Solaris,
DYLD_LIBRARY_PATH on macOS).
6. Windows licensing: Copy the Xpress license ﬁle, xpauth.xpr, into the directory containing theXpress DLLs. If you store the license ﬁle in a different location, set the XPAUTH_PATH
environment variable to its full path. It is not recommended to store the license ﬁle in a different
location, because it adds to the complexity of the Xpress licensing procedure and makes it

Fair Isaac Corporation Conﬁdential and Proprietary Information

35

Creating FICO Xpress Runtime Distributions

difﬁcult to support your application on your end-user’s computer. For the same reason, it is notrecommended to specify the location of the license ﬁle by passing an explicit path argument (toXPR?license or XPR?init) when initializing Xpress.
7. Unix licensing: Set the environment variable XPAUTH_PATH to the full path to the Xpress licenseﬁle, xpauth.xpr. Note: Previous releases of Xpress used the XPRESS environment variable tolocate the license ﬁle. This is now deprecated in favour of the XPAUTH_PATH environment variable.
When upgrading, please ensure that any installation scripts, application code and documentation is
updated to use XPAUTH_PATH instead of XPRESS.
8. If you are using Mosel, set the environment variable MOSEL_DSO to point to the directory
containing the Mosel DSO ﬁles.
9. Unix symbolic links: The tar ﬁle distributions contain symbolic links e.g. libxprs.so.17.10.01->libxprs.so.17.10 ->libxprs.so ( .so extension may vary between UNIX platforms).
In the example above, the binary ﬁle has the full version number postﬁxed to enable the support
team to easily identify the exact version number being used. The intermediate ﬁlename without
the 3rd element of the version number is used internally by one Xpress component to link toanother. The link with no version number is used to support the version-independent
documentation, examples and example makeﬁles.
In general, it is possible to remove the soft links and rename the libraries, with the following
exceptions. The security library must be made available as libxprl.so.yyyy for all Xpress
components to use. If any components ( including Xpress Optimizer console ) other than the
Xpress Optimizer runtime library are to be used then the Xpress Optimizer runtime library must be
made available as libxprs.so.xx.yy .

Dongles
10. If you are using Xpress dongles, you must install the dongle driver on your end-user’s computer.
You can obtain the ﬁles necessary to do this from the ﬁco.com website:

For HASP dongles on Windows, you need the ﬁle\windows\dongle\hasp\hinstall.exe

Administrator privileges are required to install the dongle driver. To install the driver, execute
hinstall -i -criticalmsg

The driver does not normally start up until the computer is re-booted.


For HASP dongles on Linux you need the ﬁle HDD_Linux_dinst.tar.gz (available from theXpress client area download page); to install the dongle driver daemon you must
uncompress this archive somewhere convenient, switch to your superuser account and run
the supplied dinst shell script.

Floating Licenses
11. Users with ﬂoating licenses: make sure the Xpress license manager is installed and running on
the server machine. Please refer to the chapter 2 for full instructions and troubleshooting. If you
wish to install the license server as a service on Windows machines, run xpserver -service
install and to remove the service, xpserver -service remove
12. Users with ﬂoating licenses: when creating your installer for the client machines you will have toconstruct an xpauth.xpr ﬁle for connecting to the server. This ﬁle should contain one line asfollows:

Fair Isaac Corporation Conﬁdential and Proprietary Information

36

Creating FICO Xpress Runtime Distributions

use_server name="<servername>"

Where <servername> is the name of the license server machine. You may wish to prompt theuser for this information as part of the install process.

Fair Isaac Corporation Conﬁdential and Proprietary Information

37

APPENDIX A

Contacting FICO
FICO provides clients with support and services for all our products. Refer to the following sections formore information.

Product support
FICO offers technical support and services ranging from self-help tools to direct assistance with a FICO
technical support engineer. Support is available to all clients who have purchased a FICO product andhave an active support or maintenance contract. You can ﬁnd support contact information and a link to
the Customer Self Service Portal (online support) on the Product Support home page(www.ﬁco.com/en/product-support).
The FICO Customer Self Service Portal is a secure web portal that is available 24 hours a day, 7 days aweek from the Product Support home page. The portal allows you to open, review, update, and close
cases, as well as ﬁnd solutions to common problems in the FICO Knowledge Base.
Please include ’Xpress’ in the subject line of your support queries.

Product education
FICO Product Education is the principal provider of product training for our clients and partners.
Product Education offers instructor-led classroom courses, web-based training, seminars, and training
tools for both new user enablement and ongoing performance support. For additional information, visit
the Product Education homepage at www.ﬁco.com/en/product-training or email
producteducation@ﬁco.com.

Product documentation
FICO continually looks for new ways to improve and enhance the value of the products and services weprovide. If you have comments or suggestions regarding how we can improve this documentation, let
us know by sending your suggestions to techpubs@ﬁco.com.
Please include your contact information (name, company, email address, and optionally, your phone
number) so we may reach you if we have questions.

Fair Isaac Corporation Conﬁdential and Proprietary Information

38

Contacting FICO

Sales and maintenanceIf you need information on other Xpress Optimization products, or you need to discuss maintenancecontracts or other sales-related items, contact FICO by:

Phone: +1 (408) 535-1500 or +44 207 940 8718



Web: http://www.ﬁco.com/optimization and use the available contact forms

Related services
Strategy Consulting: Included in your contract with FICO may be a speciﬁed amount of consulting time
to assist you in using FICO Optimization Modeler to meet your business needs. Additional consulting
time can be arranged by contract.
Conferences and Seminars: FICO offers conferences and seminars on our products and services. For
announcements concerning these events, go to www.ﬁco.com or contact your FICO accountrepresentative.

FICO Community
The FICO Community is a great resource to ﬁnd the experts and information you need to collaborate,
support your business, and solve common business challenges. You can get informal technicalsupport, build relationships with local and remote professionals, and improve your business practices.
For additional information, visit the FICO Community (community.ﬁco.com/welcome).

About FICO
FICO (NYSE:FICO) powers decisions that help people and businesses around the world prosper.
Founded in 1956 and based in Silicon Valley, the company is a pioneer in the use of predictive analytics
and data science to improve operational decisions. FICO holds more than 165 US and foreign patents
on technologies that increase proﬁtability, customer satisfaction, and growth for businesses inﬁnancial services, telecommunications, health care, retail, and many other industries. Using FICO
solutions, businesses in more than 100 countries do everything from protecting 2.6 billion payment
cards from fraud, to helping people get credit, to ensuring that millions of airplanes and rental cars arein the right place at the right time. Learn more at www.ﬁco.com.

Fair Isaac Corporation Conﬁdential and Proprietary Information

39

IndexNumbers
1, 22
2, 22
4, 22
8, 22
9, 22
10, 22
11, 2214, 2220, 2221, 2232, 2389, 23103, 23
259, 23

R
runtime distribution, 32
runtime library, 32Xxpauth.xpr, 1, 14, 17
XPAUTH_PATH, 17
Xpress Host ID tool, 1
XPRESSDIR, 12, 14
xprl_server.log, 21
XPRMgetlicerrmsg, 21
XPRSgetlicerrmsg, 21
xssh, 14B
BCL, 32
C
Community license, 1
size limits, 1
Ddongle, 36
DYLD_LIBRARY_PATH, 14F
ﬂoating license, 35
Iinstaller packages, 2
L
LD_LIBRARY_PATH, 14
library
runime, 32
licensedongle, 6, 17
ﬂoating, 5, 17
static, 4, 17
license manager, 5, 17
license server, 17
M
Mosel, 33
module, 33
package, 33
Oopen source licenses, 35
Optimizer, 32

Fair Isaac Corporation Conﬁdential and Proprietary Information40