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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Parameters<br />

identifier Equation name<br />

dimension Equation dimension<br />

equtype Equation subtype (EquType.E: Equal, EquType.G: Greater, EquType.L: Less, EquType.N: No<br />

specification, EquType.X: External defined, EquType.C: Conic)<br />

explanatory_text Explanatory text of equation<br />

See Also<br />

add_parameter(), add_set(), add_variable()<br />

4.3.2.2 def gams.database.GamsDatabase.add equation dc ( self, identifier, equtype, domains, explanatory text = "" )<br />

Add equation symbol to database using domain information.<br />

Parameters<br />

identifier Equation name<br />

equtype Equation subtype (EquType.E: Equal, EquType.G: Greater, EquType.L: Less, EquType.N: No<br />

specification, EquType.X: External defined, EquType.C: Conic)<br />

domains A list containing GamsSet objects and strings for domain information. The length of the list<br />

specifies the dimension.<br />

explanatory_text Explanatory text of equation<br />

See Also<br />

add_parameter_dc(), add_set_dc(), add_variable_dc()<br />

4.3.2.3 def gams.database.GamsDatabase.add parameter ( self, identifier, dimension, explanatory text = "" )<br />

Add parameter symbol to database.<br />

Parameters<br />

identifier Parameter name<br />

dimension Parameter dimension<br />

explanatory_text Explanatory text of parameter<br />

See Also<br />

add_equation(), add_set(), add_variable()<br />

4.3.2.4 def gams.database.GamsDatabase.add parameter dc ( self, identifier, domains, explanatory text = "" )<br />

Add parameter symbol to database using domain information.<br />

Parameters<br />

identifier Parameter name<br />

domains A list containing GamsSet objects and strings for domain information. The length of the list<br />

specifies the dimension.<br />

explanatory_text Explanatory text of parameter<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!