Search found 5 matches

by EconZ
2 years ago
Forum: Modeling
Topic: Updating set elements using dynamic sets and loops
Replies: 1
Views: 1667

Updating set elements using dynamic sets and loops

Hi all, I have a set kk in my model. I am trying to write a loop for kk and do some calculations for each elements of kk. For example, first kk=3 and I have equations for kk={1,2,3}. Then I need to have kk=4 and have the same equations for kk={1,2,3,4}. I need to increase kk=20 and run the model for...
by EconZ
2 years ago
Forum: Modeling
Topic: MIP model does not return any solution and any error message-CPLEX
Replies: 1
Views: 1087

MIP model does not return any solution and any error message-CPLEX

Hello GAMS community, I have a large MIP model that I run using CPLEX on a supercomputer with 768GB memory. The model stops running after a couple of hours without returning any solution. Model status and solver status are both 13. All the CPLEX options including OptCR are at the default values. My ...
by EconZ
2 years ago
Forum: Modeling
Topic: Very slow MIP model-CPLEX
Replies: 1
Views: 4197

Very slow MIP model-CPLEX

Hello all, I have a MIP model that is slow. I have been trying to speed up the model for more than a month but I have not had much success so far. I am well aware that understanding the model can be difficult for someone who has not written the model, but can someone take a look at the attached mode...
by EconZ
2 years ago
Forum: Modeling
Topic: Why the linearized, binding equation has a zero shadow price?
Replies: 2
Views: 3365

Why the linearized, binding equation has a zero shadow price?

Hello all, I have a simple quadratic model that requires NLP solvers to solve (this is a simple version of my actual model). However, I have linearized this model to solve it with MIP solvers. The linearized model works well and gives the exact same solution as the quadratic model. My problem is tha...