XPRMProblem Class
  A problem object in Mosel. 
 Inheritance Hierarchy
Inheritance Hierarchy
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 4.8.0.0
 Syntax
Syntax
    C#
   
  public class XPRMProblem : XPRMValue, XPRMTyped
The XPRMProblem type exposes the following members.
 Properties
Properties
| Name | Description | |
|---|---|---|
|  | Components | 
       A collection of the components of the problem 
      | 
|  | IsInitialised | 
       Check whether the record has been initialised. Objects are initialised during model execution. Trying to access a Mosel object that has not been created will result on an exception. 
     (Overrides XPRMValueIsInitialised.) | 
|  | Model | 
       Used to fetch the XPRM model to which this object belongs, or else 'null' if there is no model anywhere among this Object's ancestors. 
     (Inherited from XPRMObjectBase.) | 
|  | Owner | 
       Used to fetch the XPRM object to which this object belongs 
     (Inherited from XPRMObjectBase.) | 
|  | StructCode | (Inherited from XPRMTypedObject.) | 
|  | StructName | (Overrides XPRMTypedObjectStructName.) | 
|  | Type | (Inherited from XPRMTypedObject.) | 
|  | TypeCode | (Inherited from XPRMTypedObject.) | 
|  | TypeName | (Inherited from XPRMTypedObject.) | 
 Methods
Methods
| Name | Description | |
|---|---|---|
|  | AsArray | 
       An array type value. This function is defined if the actual object is of a array type. 
     (Inherited from XPRMValue.) | 
|  | AsBoolean | 
       A Boolean. This function is defined if the actual object is a Boolean 
     (Inherited from XPRMValue.) | 
|  | AsExternal | 
       An external type value. This function is defined if the actual object is of an external type. 
     (Inherited from XPRMValue.) | 
|  | AsInteger | 
       An integer. This function is defined if the actual object is an integer. 
     (Inherited from XPRMValue.) | 
|  | AsLinCtr | 
       A linear constraint. This function is defined if the actual object is a linear constraint. 
     (Inherited from XPRMValue.) | 
|  | AsList | 
       A list type value. This function is defined if the actual object is of a list type. 
     (Inherited from XPRMValue.) | 
|  | AsMPVar | 
       A decision variable. This function is defined if the actual object is a decision variable. 
     (Inherited from XPRMValue.) | 
|  | AsProblem | 
       Return this value as an XPRMProblem 
     (Overrides XPRMValueAsProblem.) | 
|  | AsReal | 
       A real. This function is defined if the actual object is a real. 
     (Inherited from XPRMValue.) | 
|  | AsRecord | 
       A record type value. This function is defined if the actual object is of a record type. 
     (Inherited from XPRMValue.) | 
|  | AsSet | 
       A set type value. This function is defined if the actual object is of a set type. 
     (Inherited from XPRMValue.) | 
|  | AsString | 
       A string. This function is defined if the actual object is a string. 
     (Inherited from XPRMValue.) | 
|  | Equals | (Inherited from Object.) | 
|  | Finalize | 
       Allows an 
      Object to attempt to free resources and perform other cleanup operations before the 
      Object is reclaimed by garbage collection. 
     (Inherited from Object.) | 
|  | GetHashCode | 
       Serves as a hash function for a particular type. 
     (Inherited from Object.) | 
|  | GetType | 
       Gets the 
      Type of the current instance. 
     (Inherited from Object.) | 
|  | MemberwiseClone | 
       Creates a shallow copy of the current 
      Object. 
     (Inherited from Object.) | 
|  | ToString | 
       Generate a string representation of the content of the record. 
     (Overrides XPRMTypedObjectToString.) | 
 See Also
See Also
 
