Search found 18 matches
- 4 years ago
- Forum: Syntax
- Topic: Using GAMS on MAC
- Replies: 3
- Views: 3499
Re: Using GAMS on MAC
Thanks Renger for your response. My problem is as follows: I have a GAMS code for Economic Despatch of Generation (Power Generation) which is perfectly working on a Windows environment. The input data is placed in an Excel file and I have used GDXXRW function for input and output which creates the &...
- 4 years ago
- Forum: Syntax
- Topic: Using GAMS on MAC
- Replies: 3
- Views: 3499
Using GAMS on MAC
I have installed GAMS on my MacBook Air. While trying to run my code I got a series of errors all pointing to the GAMS environment. I have used Excel for input/output of my data and thus use GDX files which I learnt are meant for Windows OS. What is the work around for the GDX file if I want to use ...
- 5 years ago
- Forum: Modeling
- Topic: Identifying causes of infeasibility
- Replies: 4
- Views: 5389
Re: Identifying causes of infeasibility
Thank you Fred.
I was unaware of this possibility of CPLEX giving the smallest relaxation to make the model feasible.
We would try out.
Thanks once again for your inputs.
Best regards,
I was unaware of this possibility of CPLEX giving the smallest relaxation to make the model feasible.
We would try out.
Thanks once again for your inputs.
Best regards,
- 5 years ago
- Forum: Modeling
- Topic: Identifying causes of infeasibility
- Replies: 4
- Views: 5389
Re: Identifying causes of infeasibility
Thanks Fred for your response. We are using LP with CPLEX Solver. Extracts of the Model and Solver Status from the LST file are as given below: GAMS 26.1.0 rf2b37b9 Released Feb 2, 2019 WEX-WEI x86 64bit/MS Windows 04/06/19 22:33:36 Page 6 G e n e r a l A l g e b r a i c M o d e l i n g S y s t e m ...
- 5 years ago
- Forum: Modeling
- Topic: Identifying causes of infeasibility
- Replies: 4
- Views: 5389
Identifying causes of infeasibility
We are implementing Security Constrained Economic Despatch in our jurisdiction. The model being used is pretty standard but does not use Artificial variables in any of the constraint equations. We are facing a problem of infeasibility quite frequently. How do we identify the exact reason for infeasi...
- 5 years ago
- Forum: Syntax
- Topic: Reading from CSV Files
- Replies: 4
- Views: 6598
Re: Reading from CSV Files
Thanks Gideon.
I would go through the reference given and would attempt.
Best regards,
I would go through the reference given and would attempt.
Best regards,
- 5 years ago
- Forum: Syntax
- Topic: Reading from CSV Files
- Replies: 4
- Views: 6598
Reading from CSV Files
Hello, I am a new user of GAMS and am looking for some examples / tutorial to help me read in a CSV file and likewise write to a CSV File. Would be thankful if someone could guide me or point me to a resource where I can find such usage. The CSV file I am trying to read is attached for reference. Th...
- 5 years ago
- Forum: Syntax
- Topic: Unable to find GDX File for input data from
- Replies: 7
- Views: 9141
Re: Unable to find GDX File for input data from
Thanks a lot Fred.
I would get this updated.
Best regards,
Samir
I would get this updated.
Best regards,
Samir
- 5 years ago
- Forum: Syntax
- Topic: Unable to find GDX File for input data from
- Replies: 7
- Views: 9141
Re: Unable to find GDX File for input data from
Further working on the program, I am getting "Exit Code 7" when I try to write the output to an Excel File. I understand this means that GDX file is not found.
I am attaching the Code and Error Log.
Shall be very thankful for your help.
Regards,
I am attaching the Code and Error Log.
Shall be very thankful for your help.
Regards,
- 5 years ago
- Forum: Syntax
- Topic: Unable to find GDX File for input data from
- Replies: 7
- Views: 9141
Re: Unable to find GDX File for input data from
Dear Fred, Thanks a lot. This was really helpful in solving both problems - (a) reading the dat I wanted - You rightly pointed out that file extension was incorrect. (b) creating the GDX file in a desired directory. The final GAMS code file that I run successfully is attached. Best regards, Samir