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 More...
 
- Public Member Functions inherited from GAMS.GAMSSymbolRecord
string Key (int index)
 Retrieve key of GAMSSymbolRecord on position index More...
 
bool MoveNext ()
 Iterate to next GAMSSymbolRecord of GAMSSymbol More...
 
bool MovePrevious ()
 Iterate to previous GAMSSymbolRecord of GAMSSymbol More...
 
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. More...
 
override int GetHashCode ()
 Calculates a Hash Code based on the Sympol Iteration Pointer (aka the internal reference). More...
 
bool Equals (GAMSSymbolRecord r)
 Indicates whether another GAMSSymbolRecord is "equal to" this one. This is the case if they hold the same internal reference. More...
 

Properties

GAMSVariable Variable [get]
 Return variable where this record belongs to More...
 
double Level [get, set]
 Get: Retrieve the the level of this GAMSVariableRecord Set: Set the the level of this GAMSVariableRecord More...
 
double Marginal [get, set]
 Get: Retrieve the marginal of this GAMSVariableRecord Set: Set the marginal of this GAMSVariableRecord More...
 
double Upper [get, set]
 Get: Retrieve the upper bound of this GAMSVariableRecord Set: Set the upper bound of this GAMSVariableRecord More...
 
double Lower [get, set]
 Get: Retrieve the lower bound of this GAMSVariableRecord Set: Set the lower bound of this GAMSVariableRecord More...
 
double Scale [get, set]
 Get: Retrieve the scale factor of this GAMSVariableRecord Set: Set the scale factor of this GAMSVariableRecord More...
 
- Properties inherited from GAMS.GAMSSymbolRecord
string [] Keys [get]
 Retrieve keys of GAMSSymbolRecord More...
 

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. More...
 
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. More...
 

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