So, running with fixed variables finishes in "optimal solution" ? Are you initializing all variables in your problem ? Remember that, because of your GAMS version you don't have full access to mipstart options. I'm just rehashing this post by Fred, but you don't specify if it is a full sol...
Point i and j will still have the same color. If points are not connected they might have the same color, only if they are connected they must have. So, the logical condition is b(i,j) = 1 ==> a(i,t) = 1 for all t b(i,j) = 1 ==> a(j,t) = 1 for all t ( Notice that this allows a(i,t) = 1 and b(i,j) =...
Hi: My intuition is that your problem can be written as a MIP, but I wasn't able to understand the logic. Whenever b(i,j) =1 , a(i,t) should also be 1, but for both alias Are you saying that b(i,j) = 1 if and only if a(i,t) = 1 for all t b(i,j) = 1 if and only if a(t,j) = 1 for all t ? If you could ...
Hi Peter, So you suggest that I should not define variables in equations but rather define them immediately? So instead of having for example No, I'm not suggesting that ! Your code is totally correct. Your problem is just your conceptual understanding. This is a little hard to explain not in person...
Hi Peter: What Fred told you is very correct. Just to sum up, would you please follow his recommendation and: 1. Provide a feasible solution for the problematic situation (more than one household) and use the equation listing to tell which constraints are infeasible. The steps to do this have been d...