VariableBuilderKey Structure

Note: This API is now obsolete.
Variable builder containing key information.

Definition

Namespace: Orx.MathProg
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public readonly struct VariableBuilderKey
Inheritance
Object    ValueType    VariableBuilderKey

Methods

Equals
(Inherited from ValueType)
GetHashCode
(Inherited from ValueType)
GetType
(Inherited from Object)
HasIndices(Set) Adds indices information => leads to 1-dimensional variable VarD1.
HasIndices(Set, Set) Adds indices information => leads to 2-dimensional variable VarD2.
HasIndices(Set, Set, Set) Adds indices information => leads to 3-dimensional variable VarD3.
HasIndices(Set, Set, Set, Set) Adds indices information => leads to 4-dimensional variable VarD4.
IsBinary Finalizes the variable builder and returns the resulting 0-dimensional variable VarD0.

The resulting variable is binary (0/1) which can take either value 0 or 1.

IsContinuous Adds variable type information => leads to a continuous variable (R) VarD0.
IsInteger Adds variable type information => leads to an integer variable (Z) VarD0.
Represents Adds variable definition.
ToString
(Inherited from ValueType)

See Also