Using Embedded Python through API
Posted: Wed Jul 08, 2020 7:11 am
Hi,
I have an embedded python code in GAMS model that assigns value to table Y based on the input parameter X.
When I try to run the gams model as a job through python API and use Modifier for X, I am unable to get any update on the table Y.
Will embedded python code work if the model job is run through Python API with a modifier (that is input to the embedded code in the GAMS code).
The code is inside
EmbeddedCode Python:
EndEmbeddedCode
Please help and suggest if this is valid.
Thanks,
Raghav
I have an embedded python code in GAMS model that assigns value to table Y based on the input parameter X.
When I try to run the gams model as a job through python API and use Modifier for X, I am unable to get any update on the table Y.
Will embedded python code work if the model job is run through Python API with a modifier (that is input to the embedded code in the GAMS code).
The code is inside
EmbeddedCode Python:
EndEmbeddedCode
Please help and suggest if this is valid.
Thanks,
Raghav