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:
GAMS.GAMSSymbolRecord

Public Member Functions

 GAMSVariableRecord (GAMSVariableRecord record)
 Constructor.
 
- Public Member Functions inherited from GAMS.GAMSSymbolRecord
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.
 
- Properties inherited from GAMS.GAMSSymbolRecord
string[] Keys [get]
 Retrieve keys of GAMSSymbolRecord.
 

Additional Inherited Members

- Static Public Member Functions inherited from GAMS.GAMSSymbolRecord
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()

GAMS.GAMSVariableRecord.GAMSVariableRecord ( GAMSVariableRecord  record)
inline

Constructor.

Parameters
recordGAMSVariableRecord to initialize this instance from

Property Documentation

◆ Level

double GAMS.GAMSVariableRecord.Level
getset

Get: Retrieve the the level of this GAMSVariableRecord Set: Set the the level of this GAMSVariableRecord.

◆ Lower

double GAMS.GAMSVariableRecord.Lower
getset

Get: Retrieve the lower bound of this GAMSVariableRecord Set: Set the lower bound of this GAMSVariableRecord.

◆ Marginal

double GAMS.GAMSVariableRecord.Marginal
getset

Get: Retrieve the marginal of this GAMSVariableRecord Set: Set the marginal of this GAMSVariableRecord.

◆ Scale

double GAMS.GAMSVariableRecord.Scale
getset

Get: Retrieve the scale factor of this GAMSVariableRecord Set: Set the scale factor of this GAMSVariableRecord.

◆ Upper

double GAMS.GAMSVariableRecord.Upper
getset

Get: Retrieve the upper bound of this GAMSVariableRecord Set: Set the upper bound of this GAMSVariableRecord.

◆ Variable

GAMSVariable GAMS.GAMSVariableRecord.Variable
get

Return variable where this record belongs to.