Putri Amalia
- Total activity 14
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Activity overview
Latest activity by Putri Amalia-
Putri Amalia commented,
Update:I put the codes which contains 'mdl' in one cell and the result:
-
Putri Amalia commented,
Hi Simon, I write my code as what I write above and call the mdl.optimize() afterward. Here is the result I got. The obj func = 0 and there is no value stored at y, x, and m variables
-
Putri Amalia created a post,
Seeking help: Explored 0 nodes (0 simplex iterations)
AnsweredMy project is about CVRP in picking-up waste with the fuzzy capacity of the vehicle. n = 11 #nodescust = [ i for i in range(n) if i !=0]nodes = [0] + cust#traveltimett = {(i,j): traveltime[randomi...
-
Putri Amalia commented,
Hi Jaromil, Thank you for your great help! It's much simpler and it works!
-
Putri Amalia commented,
Hi Jaromil, I think so. I revised the constraints into the following: but I encountered a problem to define this. The x[i,k] is the current capacity and m[k] will be the returned value according t...
-
Putri Amalia commented,
Hi Matthias, thanks for your great insight! I already put the epsilon: mdl.addConstr((x[i,k] + eps <= d[k]) for i,k in arco_qua for k in vehiculos) where n = 11nodes = [i for i in range(n)]vehic...
-
Putri Amalia created a post,
'<' not supported between instances of 'Var' and 'int'
AnsweredDear all, I'm trying to make a constraint for the maximum capacity of the vehicle. I have k-vehicle, with maximum capacity in d[k]. I don't want the current capacity x[i,k] reach to d[k] for k in ...
-
Putri Amalia commented,
Hi Simon, It works! Thank you.
-
Putri Amalia commented,
Hi Jaromil, thank you for your answer. I found this page https://stackoverflow.com/questions/64265698/add-constraint-in-gurobipy-using-conditional-decision-variable and followed the suggestion ther...
-
Putri Amalia commented,
Hi, sorry for the unclear question. I want to ask how to model the membership value of fuzzy logic in Gurobi. In my case, I want to assign the membership value (mv) based on the current quantity (x...