Page 1 of 1

Export report summary to GDX

Posted: Sun Apr 21, 2019 6:18 pm
by bhb
Hi,
I´m actually running a bit complex model with GAMS and it not always found a feasable solution.
I wouldn´t like to export to GDX the cases that are not feaseable. However, I don´t know if there is any way to export the "Report Sumary" to GDX.
Does anyone know how to do it?
Thanks in advance!

Re: Export report summary to GDX

Posted: Sun Apr 21, 2019 6:37 pm
by Freddy
Hi,

if I understand you correctly, what you are looking for are the model attributes solvestat and modelstat. Use these in combination with the GAMS programming flow control features and you can write your own custom logic when and what to export.

Best,
Freddy

Re: Export report summary to GDX

Posted: Tue Apr 23, 2019 8:48 pm
by bhb
Thanks for your quick response Freddy,
It has been really usefull for me.