Initializing help system before first use

Using the Wrapper in Projects

The Optimizer functionality is exposed through the XPRS and XPRSprob classes, which reside in the Optimizer namespace, which resides in the xprsdn.dll assembly.

The Optimizer functionality is exposed through the XPRS and XPRSprob classes, which reside in the Optimizer namespace, which resides in the xprsdn package. Each source file that uses the Optimizer should import the Optimizer namespace and should be compiled with a reference to xprsdn.

The Xpress .NET interfaces are distributed as NuGet packages in the xpressmp/lib/nuget folder. If using Visual Studio, you can add this folder as a NuGet package source by performing the following steps:
  1. Click on NuGet Package Manager > Package Manager Settings in the Tools menu.
  2. Select Package Sources.
  3. Click the + icon to add a new source, then name it Xpress local packages.
  4. Select the folder C:\xpressmp\lib\nuget.
  5. Click Update then OK to save the changes.
To add the wrapper to a Visual Studio project:
  1. Select Manage NuGet Packages from the Project menu.
  2. Select Xpress local packages from the Package source drop-down in the upper right, then select FICO.Xpress.XPRSdn from the Browse tab, and click Install to add it to the project..
If you are using the .NET CLI, use the following command to add xprsdn to your project:
dotnet add package -s C:\xpressmp\lib\nuget FICO.Xpress.XPRSdn

In all cases, the wrapper does not include the Xpress Solver and a local installation of Xpress will be required to use the wrapper library.

The Xpress installations for Windows include a .NET Framework 3.5-targeted assembly xpressmp/bin/xprsdn.dll for legacy reasons; new applications should not reference this file and existing projects should migrate to referencing the NuGet package instead.

© 2001-2022 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, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.