Hi,When I was studying the code of transport5.py in the file “apifiles\Python”, I noticed this code “str(t5.out_db[“ms”].find_record().value))”. It made me curious about how many other methods of properties there in the “t5”. I wanted to find something like a list of all the methods and properties in the “t5”, the “out_db[“ms”]”, the “find_record()” and so on, together with their explanations. But I failed to find it in the GAMS Tutorial or somewhere else. How could I do that? Thanks for helping me!
Hi,
You can find a reference of the available Control API classes in the documentation.
If you are not sure where to look for a specific variable in your Python code, you can get its type using Pythons type()
method. For instance, print(type(t5.out_db))
will result in <class 'gams.control.database.GamsDatabase'>
. So in this case you want to consult the GamsDatabase class reference.
Best,
Clemens