Search found 6 matches

by mjavadm
2 years ago
Forum: Syntax
Topic: CPLEX error 1217
Replies: 3
Views: 2586

Re: CPLEX error 1217

Thanks, dear bussieck for your response. I am reading the related issues here and trying to find my mistakes. I have only one more question. you mentioned about IIS method to find the infeasibly. could you pls explain a little more about it or give me some references for it?
by mjavadm
2 years ago
Forum: Syntax
Topic: CPLEX error 1217
Replies: 3
Views: 2586

CPLEX error 1217

Hello everyone. I am working on a project and the file is attached here. I am using MIP programaming and cplex. unfortunately, the code does not work properly and there is no solution. I know in some equations there is INFES output, however, I do not know what is the reason. I would be thankful if y...
by mjavadm
2 years ago
Forum: Syntax
Topic: Save loop results including Solve
Replies: 3
Views: 2974

Re: Save loop results including Solve

Dear Michael accept my apology for the mistakes, I have to mention some points about the code. 1- I wrote the W(t)= D(jj,t); to be able to save the results of the loop. but it did not work and I got the error of "suffix missing". I had to deactivate it but I forgot to insert * and sent the...
by mjavadm
2 years ago
Forum: Syntax
Topic: Save loop results including Solve
Replies: 3
Views: 2974

Save loop results including Solve

Hello everyone. I'm writing a code in GAMS considering optimal power flow for a power plant. In this code, I import a set of data as a table with 24 rows and 100 columns as a parameter (sample), and then I need to solve the model and get the optimal solution for each column (it is called with j and ...
by mjavadm
3 years ago
Forum: Solvers
Topic: Error in Optimization Problem
Replies: 2
Views: 30357

Re: Error in Optimization Problem

Hi As a newbee it is always good to read the Rules for this forum. There it states clearly Before sending a question to the group, please... ...start with the following documents that can be found here: if you are new to GAMS look at the GAMS tutorial, search the GAMS User's Guide, and search the E...
by mjavadm
3 years ago
Forum: Solvers
Topic: Error in Optimization Problem
Replies: 2
Views: 30357

Error in Optimization Problem

Hello everyone... I have a problem with the solution of the GAMS. In fact, it shows me an error which states "division by zero" as the following picture. I recheck the code several times but I could not understand what is the problem. Also, I have to add this is the first time that I am us...