Initializing help system before first use

InvalidStateException

Exception that is raised if the problem is not in the correct state. More...

Inheritance diagram for xpress::XPRSProblem::InvalidStateException:
xpress::XPRSProblem::CannotPerformOperationException xpress::XPRSProblem::CannotReferenceVariablesException

Public Member Functions

  InvalidStateException (char const *message)
  Create a exception.
 

Detailed Description

Exception that is raised if the problem is not in the correct state.

A number of operations cannot be performed using Variable, Inequality etc. instances if the problem is in a presolved state or if they are invoked from a callback. This exception (or a subclass of it) is used to signal this kind of error.

Since
45.00

Constructor & Destructor Documentation

InvalidStateException()

xpress::XPRSProblem::InvalidStateException::InvalidStateException ( char const * message )
inline

Create a exception.

Parameters
message Exception message.
Since
45.00

The documentation for this class was generated from the following file:
  • xpress.hpp

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