Search found 16 matches

by scsaxena
1 month ago
Forum: Modeling
Topic: Identifying causes of infeasibility
Replies: 4
Views: 189

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,
by scsaxena
1 month ago
Forum: Modeling
Topic: Identifying causes of infeasibility
Replies: 4
Views: 189

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 ...
by scsaxena
1 month ago
Forum: Modeling
Topic: Identifying causes of infeasibility
Replies: 4
Views: 189

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...
by scsaxena
8 months ago
Forum: Syntax
Topic: Reading from CSV Files
Replies: 4
Views: 642

Re: Reading from CSV Files

Thanks Gideon.
I would go through the reference given and would attempt.

Best regards,
by scsaxena
8 months ago
Forum: Syntax
Topic: Reading from CSV Files
Replies: 4
Views: 642

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...
by scsaxena
9 months ago
Forum: Syntax
Topic: Unable to find GDX File for input data from
Replies: 7
Views: 1147

Re: Unable to find GDX File for input data from

Thanks a lot Fred.

I would get this updated.

Best regards,

Samir
by scsaxena
9 months ago
Forum: Syntax
Topic: Unable to find GDX File for input data from
Replies: 7
Views: 1147

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,
by scsaxena
9 months ago
Forum: Syntax
Topic: Unable to find GDX File for input data from
Replies: 7
Views: 1147

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
by scsaxena
9 months ago
Forum: Syntax
Topic: Unable to find GDX File for input data from
Replies: 7
Views: 1147

Re: Unable to find GDX File for input data from

Dear Fred, Thank you very much for your response. My understanding was that the GDX file gets created (if it does not already exist) automatically. Probably my understanding is wrong. Secondly, while I am able to specify the input file directory for the GDXXRW command, I do not know how to specify t...
by scsaxena
9 months ago
Forum: Syntax
Topic: Unable to find GDX File for input data from
Replies: 7
Views: 1147

Unable to find GDX File for input data from

Hello Experts ! Need your help & guidance. I am a new user of GAMS. I am trying to read in data from EXCEL and error I am getting is 510 (GDX file not found) and 502 (unable to load data). My code is given below: ------ CODE START ----- Sets g generators t time-steps /1*96/ r regions /W, N, E, S, NE...