
chaung yun chi
- Total activity 23
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 6
Comments
Recent activity by chaung yun chi-
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?...
-
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...
-
Can I have your email ? I think it's kind of complicated to describe the whole thing here.
-
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...
-
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]...
-
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...
-
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...
-
Thanks for your help!
-
thanks for your help!but after I got my answer, I found something weird, my d variable should be {0 or 1}but why are there so many -0s? Or are they just 0?
-
I'm sorry for that what I want to do is create three different types of point with random coordinate so this is what I did import gurobipy as gpfrom gurobipy import *from random import randintimpo...