Search found 4 matches

by DanielJimenezAvalo
1 year ago
Forum: API
Topic: Checkpoint file {}/_gams_py_gc1.g00 does not exist
Replies: 2
Views: 4840

Re: Checkpoint file {}/_gams_py_gc1.g00 does not exist

thanks for the reply, I solved the problem using this: #create a checkpoint in any iteration check_point=ws.add_checkpoint() #use the options of the models and run the model until the checkpoint transfer_model.run(gams_options=opt,checkpoint=check_point) #add the run execution of the model point to ...
by DanielJimenezAvalo
1 year ago
Forum: API
Topic: Checkpoint file {}/_gams_py_gc1.g00 does not exist
Replies: 2
Views: 4840

Checkpoint file {}/_gams_py_gc1.g00 does not exist

Hello, I'm trying to execute gams sequentially from multiple scenarios, where the results of the previous scenario are used in the next execution, for that, I'm using the gams transfer API. The first scenario executes correctly, but the next scenario gives me this error: raise gams.control.workspace...
by DanielJimenezAvalo
1 year ago
Forum: API
Topic: Could not load shared library C:\GAMS\42\gmdcclib64.dll: Windows error
Replies: 3
Views: 5629

Re: Could not load shared library C:\GAMS\42\gmdcclib64.dll: Windows error

Thank you for the reply. I solved the problem using the conda instead the python -m env. Apparently, the API only works if you create the environment with conda.

Don't know if GAMS API is retricted if the enviroment doesn't built with conda
by DanielJimenezAvalo
1 year ago
Forum: API
Topic: Could not load shared library C:\GAMS\42\gmdcclib64.dll: Windows error
Replies: 3
Views: 5629

Could not load shared library C:\GAMS\42\gmdcclib64.dll: Windows error

Hello,

I created a virtual env with python -m venv and install gams api. i obtained this exception:

gams.control.workspace.GamsException: Could not load shared library C:\GAMS\42\gmdcclib64.dll: Windows error