Search found 36 matches
- 3 years ago
- Forum: Solvers
- Topic: Need explanation on the CNS solver
- Replies: 1
- Views: 3531
Need explanation on the CNS solver
Hello, I have a model that I would like to solve with the CNS solver. Indeed, I’ve gone through three solvers (CNS, MCP and NLP) for that model (see it in attachment). For my little experience on GAMS, I observed that with NLP solver, when the model works correctly, the process windows will show whe...
- 3 years ago
- Forum: Modeling
- Topic: Problem with set declaration
- Replies: 4
- Views: 2952
Re: Problem with set declaration
Thank you Steve.
You have got me very well. Thank you for the way you provide me. I'm going to follow that description and I will let you know wether it works.
You have got me very well. Thank you for the way you provide me. I'm going to follow that description and I will let you know wether it works.
- 3 years ago
- Forum: Modeling
- Topic: Problem with set declaration
- Replies: 4
- Views: 2952
Re: Problem with set declaration
Hi Fred I appreciated your reply and went through the link many times. I learned many things about set declaration. Unfortunately I didn't find any solution to my problem. As I said, I have the following set declaration Set i /a1*a43 / Now, I also want to declare another set let's say Set k / agr, i...
- 3 years ago
- Forum: Modeling
- Topic: Problem with set declaration
- Replies: 4
- Views: 2952
Problem with set declaration
Hi everyone I’m building a CGE model and have some troubles. Let me describe clearly my problem. I declared a set for activity sectors like this set i sectors / a1*a43 / So, set I has 43 elements. It combines component of agricultural sector (from a1 to a4), of industry (from a5 to a30) of services ...
- 4 years ago
- Forum: Syntax
- Topic: Looping over Different Excel Sheets
- Replies: 15
- Views: 11006
Re: Looping over Different Excel Sheets
Hi,
I thing the way you compile your .xls data is not good. To my knowledge you should prepare your excel data such that they deal with your sets declaration. I suggested you a way to do that in attachments if it corresponds to what you want. Some comments are given in it.
Best regards
Rodrigue
I thing the way you compile your .xls data is not good. To my knowledge you should prepare your excel data such that they deal with your sets declaration. I suggested you a way to do that in attachments if it corresponds to what you want. Some comments are given in it.
Best regards
Rodrigue
- 4 years ago
- Forum: Syntax
- Topic: How to reach the benchmark?
- Replies: 3
- Views: 4581
Re: How to reach the benchmark?
Hi Renger
I thank you again. By following your guide, I got the best solution. Everything is working well now. I observed that there were some variables that I had to scale and likewise, some equations were wrongly calibrated.
Thank you for your help
Rodrigue
I thank you again. By following your guide, I got the best solution. Everything is working well now. I observed that there were some variables that I had to scale and likewise, some equations were wrongly calibrated.
Thank you for your help
Rodrigue
- 4 years ago
- Forum: Syntax
- Topic: How to reach the benchmark?
- Replies: 3
- Views: 4581
Re: How to reach the benchmark?
Hi Renger
Thank you very much for your reply.
By setting iterlim to 0 I saw where the probem lies. It is really interesting by doing so. I'm going to debugg it step by step following your suggestions and I hope I will succeed.
Rodrigue
Thank you very much for your reply.
By setting iterlim to 0 I saw where the probem lies. It is really interesting by doing so. I'm going to debugg it step by step following your suggestions and I hope I will succeed.
Rodrigue
- 4 years ago
- Forum: Syntax
- Topic: How to reach the benchmark?
- Replies: 3
- Views: 4581
How to reach the benchmark?
Hi all, I’m implementing a CGE model in GAMS using NONOPT for NLP programming. The model worked well until I decided to incorporate the external sector taking into account the imports and exports. Indeed, the benchmark was reached properly without the external sector. Now that I incorporate it into ...
- 5 years ago
- Forum: Modeling
- Topic: Speed up the gams execution
- Replies: 2
- Views: 3835
Re: Speed up the gams execution
Thank you very much Renger for your reply. It's very interesting.
Rodrigue
Rodrigue
- 5 years ago
- Forum: Modeling
- Topic: Speed up the gams execution
- Replies: 2
- Views: 3835
Speed up the gams execution
Hello and happy new year to all. I'm working on an economic model in which I initially had a reduced number of variables and equations. At that level the model worked properly. Now as I incorporated a very large number of households in order to capture another aspect of my issues, the execution proc...