save time solution with Xpress

Hello to all

I have a doubt, which is perhaps very simple. I want to save the time it takes to solve a model, and then I want to send it to matlab. My doubt is how to do that?

P.S: I use Xpress as a solver, I don’t know if this is relevant.

Thank you very much to all

Hello,

As a first cut, you could take the solve time from .resusd, save it as a scalar in GAMS, write this scalar to GDX, and read the GDX to Matlab via GAMS Transfer Matlab (i.e. GTM).

HTH,

-Steve

Hello dirkse

Your comments have helped me a lot.

Thank you very much