Loading...
Searching...
No Matches
GAMS.GAMSVariableRecord Class Reference
This is the representation of a single record of a GAMSVariable. More...
Inheritance diagram for GAMS.GAMSVariableRecord:

Public Member Functions | |
GAMSVariableRecord (GAMSVariableRecord record) | |
Constructor. | |
![]() | |
string | Key (int index) |
Retrieve key of GAMSSymbolRecord on position index. | |
bool | MoveNext () |
Iterate to next GAMSSymbolRecord of GAMSSymbol. | |
bool | MovePrevious () |
Iterate to previous GAMSSymbolRecord of GAMSSymbol. | |
override bool | Equals (object obj) |
Indicates whether another object is "equal to" this one. This is the case if they hold the internal reference is the same. | |
override int | GetHashCode () |
Calculates a Hash Code based on the Sympol Iteration Pointer (aka the internal reference). | |
bool | Equals (GAMSSymbolRecord r) |
Indicates whether another GAMSSymbolRecord is "equal to" this one. This is the case if they hold the same internal reference. | |
Properties | |
GAMSVariable | Variable [get] |
Return variable where this record belongs to. | |
double | Level [get, set] |
Get: Retrieve the the level of this GAMSVariableRecord Set: Set the the level of this GAMSVariableRecord. | |
double | Marginal [get, set] |
Get: Retrieve the marginal of this GAMSVariableRecord Set: Set the marginal of this GAMSVariableRecord. | |
double | Upper [get, set] |
Get: Retrieve the upper bound of this GAMSVariableRecord Set: Set the upper bound of this GAMSVariableRecord. | |
double | Lower [get, set] |
Get: Retrieve the lower bound of this GAMSVariableRecord Set: Set the lower bound of this GAMSVariableRecord. | |
double | Scale [get, set] |
Get: Retrieve the scale factor of this GAMSVariableRecord Set: Set the scale factor of this GAMSVariableRecord. | |
![]() | |
string[] | Keys [get] |
Retrieve keys of GAMSSymbolRecord. | |
Additional Inherited Members | |
![]() | |
static bool | operator== (GAMSSymbolRecord lhs, GAMSSymbolRecord rhs) |
Indicate whether two GAMSSymbolRecords are equal to each other. This is the case if they hold the internal reference is the same. | |
static bool | operator!= (GAMSSymbolRecord lhs, GAMSSymbolRecord rhs) |
Indicate whether two GAMSSymbolRecords are not equal to each other. This is the case if they hold different internal references. | |
![]() | |
![]() |
Detailed Description
This is the representation of a single record of a GAMSVariable.
Constructor & Destructor Documentation
◆ GAMSVariableRecord()
|
inline |
Constructor.
- Parameters
-
record GAMSVariableRecord to initialize this instance from
Property Documentation
◆ Level
|
getset |
Get: Retrieve the the level of this GAMSVariableRecord Set: Set the the level of this GAMSVariableRecord.
◆ Lower
|
getset |
Get: Retrieve the lower bound of this GAMSVariableRecord Set: Set the lower bound of this GAMSVariableRecord.
◆ Marginal
|
getset |
Get: Retrieve the marginal of this GAMSVariableRecord Set: Set the marginal of this GAMSVariableRecord.
◆ Scale
|
getset |
Get: Retrieve the scale factor of this GAMSVariableRecord Set: Set the scale factor of this GAMSVariableRecord.
◆ Upper
|
getset |
Get: Retrieve the upper bound of this GAMSVariableRecord Set: Set the upper bound of this GAMSVariableRecord.
◆ Variable
|
get |
Return variable where this record belongs to.