Optimization Framework |
Variable Members |
Variable Class Constructors Methods Operators Properties See Also Send Feedback |
The Variable type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides Object..::..Equals(Object).) | |
Equals(Variable) |
Compares this instance to the specified other.
| |
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 |
Returns a hash code for this instance.
(Overrides Object..::..GetHashCode()()()().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a String that represents this instance.
(Overrides Object..::..ToString()()()().) |
Operators
Name | Description | |
---|---|---|
Addition(Double, Variable) |
Implements the operator +.
| |
Addition(Variable, Variable) |
Implements the operator +.
| |
Addition(Variable, Double) |
Implements the operator +.
| |
Equality(Variable, Term) |
Implements the operator ==.
| |
Equality(Variable, Variable) |
Implements the operator ==.
| |
Equality(Variable, Double) |
Implements the operator ==.
| |
GreaterThanOrEqual(Variable, Term) |
Implements the operator >=.
| |
GreaterThanOrEqual(Variable, Double) |
Implements the operator >=.
| |
Inequality(Variable, Term) |
Please use <= and >= to model !=
| |
Inequality(Variable, Variable) |
Implements the operator !=.
| |
Inequality(Variable, Double) |
Please use <= and >= to model !=
| |
LessThanOrEqual(Variable, Term) |
Implements the operator <=.
| |
LessThanOrEqual(Variable, Double) |
Implements the operator <=.
| |
Multiply(Double, Variable) |
Implements the operator *.
| |
Multiply(Variable, Variable) |
Implements the operator *.
| |
Multiply(Variable, Double) |
Implements the operator *.
| |
Subtraction(Double, Variable) |
Implements the operator -.
| |
Subtraction(Variable, Variable) |
Implements the operator -.
| |
Subtraction(Variable, Double) |
Implements the operator -.
| |
UnaryNegation |
Implements the operator -.
|
Properties
Name | Description | |
---|---|---|
LowerBound |
Lower bound of this variable.
| |
Name |
Unique name of this variable.
| |
Type |
Type of this variable.
| |
UpperBound |
Upper bound of this variable.
| |
Value |
Gets or sets the value for this variable. This field can be used to assign solution values from a solver to the variables in the original model.
|