Hello guys!!
I am new with GAMS and maybe this is a dumb question, but I need to ask and solve my doubt. I have tried to run a specific model with "mip" as the solver. The issue appears when I want to save the results in a .csv document, the doc is not created no matter the extension ( I tried with .xls and .dat). I wrote sth like the following:
.
.
.
Model
.
.
.
solve Model minimizing cost_fun using mip;
File new_doc /new_doc.csv/;
put new_doc;
put 'Hello World';
putclose new_doc;
It seems like the model is compiled until the line "solve Model minimizing...". From this point all the other lines are not compiled or at least I think that.
I kindly ask for your help.
Thank you.
Solver & File
Re: Solver & File
Can you please share you code, the log and the lst file?
Best,
Fred
Best,
Fred
Re: Solver & File
Thank you, Fred.
I did not realize that I was working with the Demo version. That was the problem.
Now, it works with the license. My fault, sorry.
Thank you.
I did not realize that I was working with the Demo version. That was the problem.
Now, it works with the license. My fault, sorry.
Thank you.
Last edited by fagomez12 6 months ago, edited 1 time in total.
Re: Solver & File
To add...
I did not upload the code since it is very extensive (More than 3000 lines). I am attempting to model a big power system.
As said, I did not realize I was using the demo version.
Anyways, thank you.
Fagomez12.
I did not upload the code since it is very extensive (More than 3000 lines). I am attempting to model a big power system.
As said, I did not realize I was using the demo version.
Anyways, thank you.
Fagomez12.