Initializing help system before first use

XPRS Class

Inheritance Hierarchy
SystemObject
   OptimizerXPRS

Namespace:  Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
Syntax
C#
public class XPRS : IDisposable

The XPRS type exposes the following members.

Constructors
  Name Description
Public method XPRS Initialize a new Xpress license.
Top
Properties
  Name Description
Public propertyStatic member IsInitialized  
Top
Methods
  Name Description
Public methodStatic member AddMsgHandlerCallback(MsgHandlerCallback)  
Public methodStatic member AddMsgHandlerCallback(TextWriter)  
Public methodStatic member AddMsgHandlerCallback(MsgHandlerCallback, Int32)  
Public methodStatic member AddMsgHandlerCallback(MsgHandlerCallback, Object)  
Public methodStatic member AddMsgHandlerCallback(MsgHandlerCallback, Object, Int32)  
Public method Dispose Dispose of this object.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the XPRS and optionally releases the managed resources
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic member FeatureQuery Checks if the provided feature is available in the current license used by the optimizer.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic member Free  
Public methodStatic member GetBanner Returns the banner and copyright message.
Public methodStatic member GetBanner(String) Returns the banner and copyright message.
Public methodStatic member GetCheckedMode You can use this function to interrogate whether checking and validation of all Optimizer function calls is enabled for the current process. Checking and validation is enabled by default but can be disabled by setCheckedMode.
Public methodStatic member GetCheckedMode(Boolean) You can use this function to interrogate whether checking and validation of all Optimizer function calls is enabled for the current process. Checking and validation is enabled by default but can be disabled by setCheckedMode.
Public methodStatic member GetComputeAllowed Query whether the current application is allowed to use the Insight Compute interface.
Public methodStatic member GetDaysLeft Returns the number of days left until the license expires.
Public methodStatic member GetDaysLeft(Int32) Returns the number of days left until the license expires.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public methodStatic member GetLastError Returns the last error encountered during a call to the Xpress global environment.
Public methodStatic member GetLastError(Int32) Returns the last error encountered during a call to the Xpress global environment.
Public methodStatic member GetLicErrMsg  
Public methodStatic member GetLicErrMsg(String)  
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public methodStatic member GetVersion Returns the full Optimizer version number in the form 15.10.03, where 15 is the major release, 10 is the minor release, and 03 is the build number.
Public methodStatic member GetVersion(String) Returns the full Optimizer version number in the form 15.10.03, where 15 is the major release, 10 is the minor release, and 03 is the build number.
Public methodStatic member GetVersionNumbers Returns the Optimizer version numbers split into major, minor, and build number.
Public methodStatic member Init  
Public methodStatic member Init(String)  
Public methodStatic member License  
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic member RemoveMsgHandlerCallback  
Public methodStatic member RemoveMsgHandlerCallbacks  
Public methodStatic member SetArchConsistency Sets whether to force the same execution path on various CPU architecture extensions, in particular (pre-)AVX and AVX2.
Public methodStatic member SetCheckedMode You can use this function to disable some of the checking and validation of function calls and function call parameters for calls to the Xpress Optimizer API. This checking is relatively lightweight but disabling it can improve performance in cases where non-intensive Xpress Optimizer functions are called repeatedly in a short space of time. Please note: after disabling function call checking and validation, invalid usage of Xpress Optimizer functions may not be detected and may cause the Xpress Optimizer process to behave unexpectedly or crash. It is not recommended that you disable function call checking and validation during application development.
Public methodStatic member SetComputeAllowed Set whether the current application is allowed to use the Insight Compute interface.
Public methodStatic member StartRecord(String)  
Public methodStatic member StartRecord(String, Int32)  
Public methodStatic member StartRecord(String, String, Int32)  
Public methodStatic member StopRecord  
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Fields
  Name Description
Public fieldStatic member MAXINT Maximum integer.
Public fieldStatic member MINUSINFINITY Negative infinity
Public fieldStatic member PLUSINFINITY Positive infinity
Public fieldStatic member XPVERSION Optimizer version (major number).
Public fieldStatic member XPVERSION_BUILD Optimizer version (build number).
Public fieldStatic member XPVERSION_FULL Optimizer version (major,minor,build number).
Public fieldStatic member XPVERSION_MINOR Optimizer version (minor number).
Top
See Also

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