Search found 8 matches

by David
6 years ago
Forum: API
Topic: GAMS and Python 2
Replies: 2
Views: 3721

Re: GAMS and Python 2

Thanks that works perfectly!
by David
6 years ago
Forum: API
Topic: GAMS and Python 2
Replies: 2
Views: 3721

GAMS and Python 2

Hello,

Is there a way to see the ongoing calculations through the python API?
When I run the model through python, I don't see any progress data (like the iterations, and so on).

Thanks!
by David
6 years ago
Forum: API
Topic: GAMS and Python
Replies: 3
Views: 8034

Re: GAMS and Python

Wow that works beautifully !

Thank you very much!
by David
6 years ago
Forum: API
Topic: GAMS and Python
Replies: 3
Views: 8034

GAMS and Python

Hello, I'm trying to run my model through python. I installed the python API and the transport1.py model works. If I however change the ws.add_job_from_file("trnsport.gms") to my model file it gives me a gams return code (2). If I open my sankey.gms file directly through the gams gui then ...
by David
6 years ago
Forum: API
Topic: Excel2Gams VBA problem
Replies: 2
Views: 5133

Re: Excel2Gams VBA problem

The difference is that my model is already written in a .gms file and the model itself creates all the necessary gdx files. So when I try to adapt this code to run my model (deleting exportgdxfile,writegamsmodel and importgdxfile) and change the directories to the correct ones for my model it doesn'...
by David
6 years ago
Forum: API
Topic: Excel2Gams VBA problem
Replies: 2
Views: 5133

Excel2Gams VBA problem

Hello, I am trying to run a couple of instances of gams in a sequential manner. I use excel to change parameters and other input data and I execute gams from a VBA macro which executes Gams through acommand shell. I have tried some approaches to wait for the GAMS code to finish running to change the...
by David
7 years ago
Forum: Tools
Topic: 225 folders
Replies: 2
Views: 5058

Re: 225 folders

I was looking on the GAMS website for anything with the 225 folders, but they didn't say anything about my problem.
I stopped the google drive syncing and indeed you are right the problem stopped occurring.

Thank you very much.

Regards,
by David
7 years ago
Forum: Tools
Topic: 225 folders
Replies: 2
Views: 5058

225 folders

Dear, I'm running a GAMS model, but at the end it always gives an error not being able to delete de 225 directories. I have a DELL XPS 13 with windows 10 laptop(See below). ¿Does anybody know what the problem could be? If I try the utility to delete the folders it says Directories deleted :0 Directo...