
chaung yun chi
- Total activity 23
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 6
Activity overview
Latest activity by chaung yun chi-
chaung yun chi commented,
I tried m.write("project_412.lp") it only showed Warning: Q constraint 0 doesn't have a nameWarning: linear constraint 1 and linear constraint 2 have the same name "onlyone" what is Q constraint?...
-
chaung yun chi created a post,
set new constraint but got NotImplementedError
AnsweredHi,I have two question now 1.I had a problem implementing real world data in my model, seems like my model refuse to build second launch station but I didn't set a constraint for it. This is my cod...
-
chaung yun chi commented,
Thanks for your help, I actually try the same thing before, using different form for k in demand: m.addConstr(quicksum(u[i,j,k] for i in facility2 for j in facility1)+quicksum(u1[i,k] for i in f...
-
chaung yun chi created a post,
modeling question
AnsweredI've solved a hierarchical facility location problem, but something is wrong. this is a one of my answer. I want the blue dots can be assigned to the green(Launch) as well. If the distance is short...
-
chaung yun chi commented,
Can I have your email ? I think it's kind of complicated to describe the whole thing here.
-
chaung yun chi commented,
Thanks, now I can use matplotlib to visualize my result. But what I was trying to do is a "Hierarchical facility problem" which the result is different from mine. https://drive.google.com/file/d/1E...
-
chaung yun chi commented,
I got the '1' value variables, but I can't call the data based on it. for v in m.getVars(): if v.x==1: print('%s %g' % (v.varName, v.x)) d[1,4] 1d[2,18] 1d[3,22] 1d[4,10] 1d[5,34] 1d[6,5]...
-
chaung yun chi commented,
You're right, I 've already put that in my objective function at that time, but some how I thought it was a good idea to make few constraints describing same stuff haha. I delete the constraints a...
-
chaung yun chi commented,
Thanks for your help! But I have one more question If I want to build a constraint Σdij' *disDCij’ ≤ disDCij + M (1-Xj) j,j'∈ J Which I want to express that : "all demands are assig...
-
chaung yun chi created a post,
Performing condition constraints
OngoingHi I want to generate a few constraints to represent that "if a facility is built in location j then you can assign demand i there otherwise, you can't assign demand i there" which can also simp...