|Wassily Leontief in front of an IO table, credit:NYU|
Inverting a dense matrix
GAMS allows running pieces of Python code as part of a GAMS model. Unfortunately, the interface is rather low-level and inefficient. Usually "low-level" is associated with high-performance, but in the Python world, this is not the case. Here is an example.