Initializing help system before first use

# Introduction

The XpressProblem class provides a convenient and efficient interface for stating and working with optimization problems. Using this class, optimization problems can be built easily and all features of the Xpress Solver can be accessed.

The classes for modeling problems are spread across several namespaces. The base namespace for everything related to the Xpress Solver in this API is Optimizer. The sub-namespaces are listed below. See the reference documentation for more details.

Optimizer.Objects
  Contains all the classes required for modeling using objects rather than row and column indices. This defines classes like Variable, Expression and XpressProblem that allow convenient and efficient building of problems. This is the main package you will interact with when creating optimization problems.
Optimizer.Maps
  Contains implementations of multi-dimensional maps. These maps build on maps provided by the language itself but also provide some more convenient ways to access data. For example, in order to query an element, you do not need to chain several calls to [] but can instead put the arguments for all dimensions into a single call.
Optimizer.Functional
  Provides definitions of functors used in the API. Usually you should not need to use any of these explicitly.

The XpressProblem class itself is located in Optimizer.Objects. Its fully qualified name is Optimizer.Objects.XpressProblem.

To avoid typing the fully qualified name you can do this:

    // Import a whole package:
    using Optimizer.Objects;
    // "Import" a single class:
    using XpressProblem = Optimizer.Objects.XpressProblem;
    // make functions like Sum() available without qualification
    using static Optimizer.Objects.Utils;

In the following sections we do not list the required using statements that are required to make functions/classes/interfaces available without full qualification. We assume that appropriate statements have been written at the beginning of the code.

Parent Topic Solver .NET User Guide

© 2001-2026 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.