Something seems to put in the GAMS 38 path into your configuration. Have you checked if the PYTHONPATH environment variable is set? Run from the Anaconda command prompt:
Hi, This is a Windows problem that can most likely be prevented by running the installer from a command prompt with /SILENT or /VERYSILENT. There is a note on this in the documentation: https://www.gams.com/latest/docs/UG_WIN_INSTALL.html image.png 1. Open command prompt 2. Switch to directory conta...
With setuptools>=60.0.0 a breaking change has been introduced. Due to this breaking change the GAMS Python files are not installed correctly. To solve the issue, please try setting SETUPTOOLS_USE_DISTUTILS=stdlib before running setup.py
I assume that the error is the same when running Kestrel from command line. So it seems that setting the SSL_CERT_FILE in [GAMS dir]\gmske_nt.cmd is not enough. If you allow me an experiment, could you change the following line of code in [GAMS dir]\gmske_nx.py (line 537): self.neos = xmlrpc.client....
Hi, It seems that the Kestrel solver uses an invalid certificate. Actually it should be aware of cacert.pem located in [GAMS dir]\GMSPython\Lib\site-packages\certifi. Does the Kestrel solver work from command line, if you do not have a Python script in between? There is also a Python example that de...
Pei Huang, The PKG installer on macOS allows to add the GAMS system directory to the PATH variable when a Terminal is opened. You might want to double-check its content using echo $PATH , but since you are able to call gams and gamslib, I guess that this is set up correctly. If you run the python in...
Looks like you are trying to use your dictionary qta with GamsSetRecords instead of keys. So you most likely want to do qta[(j.key(0),k.key(0))] instead of qta[(j,k)]
I can not say anything about csr_matrix in particular, but if possible, you can skip the zeros of any sparse matrix representation when writing to an instance of GamsParameter. Filling data using the Object-oriented Python API always works record based by calling my_symbol.add_record([key1, key2,......