Search found 3 matches

by reo
3 months ago
Forum: API
Topic: Python API Exception Handling
Replies: 5
Views: 417

Re: Python API Exception Handling

Thank you, for the reply Clemens. The log output can be captured by specifying the output argument in GamsJob.run(). We figured this from the documentation we are trying to find out if it is possible to get the Exception information through the API. So that I can handle it programmatically in my app...
by reo
3 months ago
Forum: API
Topic: Python API Exception Handling
Replies: 5
Views: 417

Re: Python API Exception Handling

Hello Clemens, Yes, we have gone through the documentation and for now, we are using the GAMSException.get_rc(), but just the return code is insufficient, our model sometimes gives errors like the following: Bound infeasibility column 'cost('i1'.5.'k2')'. we are able to get this from the .lst file, ...
by reo
3 months ago
Forum: API
Topic: Python API Exception Handling
Replies: 5
Views: 417

Python API Exception Handling

Hello, We are using GAMS Python API to solve a MILP Problem and have an application around it, we have noticed from the documentation that currently there is no support for execution errors. Is it possible to get more information from the GAMSException, for instance, which constraint is causing the ...