25.10.2013 Views

GAMS Python API documentation version 24.1

GAMS Python API documentation version 24.1

GAMS Python API documentation version 24.1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.3 gams.database.GamsDatabase Class Reference 15<br />

Properties<br />

• keys property(get_keys)<br />

Retrieve keys of GamsSymbolRecord.<br />

• symbol property(get_symbol)<br />

Retrieve the GamsSymbol that contains this record.<br />

4.2.1 Detailed Description<br />

This is the representation of a single record of a GamsSymbol.<br />

Derived classes are GamsEquationRecord, GamsParameterRecord, GamsSetRecord and GamsVariableRecord<br />

4.2.2 Member Function Documentation<br />

4.2.2.1 def gams.database. GamsSymbolRecord.move next ( self )<br />

Iterate to next GamsSymbolRecord of GamsSymbol.<br />

Returns<br />

True if everything worked, False otherwise<br />

4.2.2.2 def gams.database. GamsSymbolRecord.move previous ( self )<br />

Iterate to previous GamsSymbolRecord of GamsSymbol.<br />

Returns<br />

True if everything worked, False otherwise<br />

4.3 gams.database.GamsDatabase Class Reference<br />

An instance of GamsDatabase communicates data between the <strong>Python</strong> world and the <strong>GAMS</strong> world.<br />

Inheritance diagram for gams.database.GamsDatabase:<br />

Public Member Functions<br />

• def __len__<br />

object<br />

gams.database.GamsDatabase<br />

Retrieve the number of symbols in the GamsDatabase.<br />

• def __del__<br />

Use this to explicitly free unmanaged resources associated with this GamsDatabase.<br />

• def get_symbol<br />

Get GamsSymbol by name.<br />

• def get_equation<br />

<strong>GAMS</strong><strong>Python</strong><strong>API</strong> <strong>documentation</strong> <strong>version</strong> <strong>24.1</strong> May 2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!