Hi,
in GAMS documentation > Examples > benders_2stage_mt.py>
https://www.gams.com/latest/docs/apis/examples_python/namespacebenders__2stage__mt.html#a2b7b38c885143e5392557dff2b87ea54
1- what are .py file?
2- How can I use def function? (e.g. How to use scen_solve ?)
3- is it possible to have own function in a GAMS code? in other words , is it possible to use def command in our codes?
thanks