How to get return code from GAMS Python API run -


is there way return code running gamsjob in gams python api? meaning, after job.run(), return code execution stored somewhere can access?

job.run() throw exception return code stored in attribute .rc if return code non-zero. therefore:

try:     job.run() except gamsexceptionexecution e:     print(e.rc)  # non-zero return code 

Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -