Search found 295 matches
- 4 months ago
- Forum: Modeling
- Topic: HEN synthesis
- Replies: 1
- Views: 8928
Re: HEN synthesis
Please follow the forum rules: https://forum.gamsworld.org/app.php/rules and provide a concise example and ask a precise question with a minimal reproducible example (or a detailed explanation of constraints in your case). This way, you maximize the chances of getting meaningful responses to your qu...
- 4 months ago
- Forum: API
- Topic: Problem with GAMS Transfer R
- Replies: 8
- Views: 22570
Re: Problem with GAMS Transfer R
Please make sure you are downloading GAMS and R for ARM64 architecture and try installing again.
Best, Atharv
Best, Atharv
- 5 months ago
- Forum: API
- Topic: Problem with GAMS Transfer R
- Replies: 8
- Views: 22570
Re: Problem with GAMS Transfer R
Lorena, Looks like you made progress. Your second command (with full path) seems right. Are you loading gamstransfer before using Container$new() ? I see that you have commented out library(gamstransfer) command. You will need to load gamstransfer with library(gamstransfer) every time you use it. If...
- 5 months ago
- Forum: API
- Topic: Problem with GAMS Transfer R
- Replies: 8
- Views: 22570
Re: Problem with GAMS Transfer R
Lorena, Looks like you haven’t installed gams transfer dependencies. Since gams transfer is not on cran or similar online repo, installation does not automatically find these dependencies. You have to manually install them. To install all dependencies at once, you can just do install.packages(c(“R6”...
- 8 months ago
- Forum: API
- Topic: Problem with GAMS Transfer R
- Replies: 8
- Views: 22570
Re: Problem with GAMS Transfer R
Sophie, There are a couple ways to get gams transfer R to identify the system directory. 1. Add gams system directory to your system variable PATH. Depending on the platform you use, there are different ways to achieve this. This is the recommended and easier solution. 2. Alternatively, you can use ...
- 10 months ago
- Forum: Modeling
- Topic: OPTIMAL SOLUTION WITH SOME VARIABLES ZERO
- Replies: 2
- Views: 5215
Re: OPTIMAL SOLUTION WITH SOME VARIABLES ZERO
Why do you think some variables being zero is a problem? An optimal solution can very well contain zeros. Do you have constraints that force them to be non-zeros, can you be precise about what surprises you here?
Best, Atharv
Best, Atharv
- 1 year ago
- Forum: Syntax
- Topic: complex number definition
- Replies: 4
- Views: 6236
Re: complex number definition
For the information you can trust 100% (unlike ChatGPT), use GAMS documentation : https://www.gams.com/latest/docs/
It doesn't mention complex numbers anywhere, so they are not supported.
Good luck, Atharv
It doesn't mention complex numbers anywhere, so they are not supported.
Good luck, Atharv
- 1 year ago
- Forum: API
- Topic: Unable to locate your GAMS directory
- Replies: 3
- Views: 7886
Re: Unable to locate your GAMS directory
gdxpds is not a GAMS package (neither developed by gams nor supported by gams). I encourage you to use GAMS Transfer Python . It is available in all versions starting gams 37 but I encourage you to install GAMS 42 because the installation is easiest. https://www.gams.com/latest/docs/API_PY_GETTING_S...
- 1 year ago
- Forum: API
- Topic: Unable to locate your GAMS directory
- Replies: 3
- Views: 7886
Re: Unable to locate your GAMS directory
It would be useful to know how you are you trying to use GAMS and python. Are you referring to embedded python? Python API? What are the exact commands that lead to this error?
Are the commands/features you are trying to use supported in your GAMS version 30.3?
- Atharv
Are the commands/features you are trying to use supported in your GAMS version 30.3?
- Atharv
- 1 year ago
- Forum: Syntax
- Topic: Please check my code. I have no idea what's wrong with it
- Replies: 4
- Views: 5690
Re: Please check my code. I have no idea what's wrong with it
Can you at least show the "full" error message? Provide more useful details (where you are running the model from, version of GAMS, etc.. ).
- Atharv
- Atharv