John Raphy Karippery
- Total activity 57
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 5
- Subscriptions 14
Comments
Recent activity by John Raphy Karippery-
Hello Jaromił, Thank you so much for the replay. how to set model sense to objective.here motive of objective. objcost 'objective for minimizing cost in K$' objco2 'objective for minimiz...
-
hello Matthias,Is that possible to implement ϵ-constraint by using Gurobi? Could you please implement any simple model code for me? for reference https://www.researchgate.net/profile/Naveenbalaji...
-
Hello Jaromil,Now I am facing a problem. I used so many variables in my model that is not a good idea.How can use the same variable in different constarins?for example:I used p_ij variables for con...
-
Thank you for your helpI have small changes in the objective function.\begin{equation}\ Min\ Z=\ \sum_t \sum_{e_{i,j}\ \in E}{x_{i,j}t}\end{equation} we have to define a time window for each truck....
-
Thank you for helping me.I have a lot of confusion with a time parameter.Does that mean the Objective function will be something like this? mdl.setObjective(quicksum(cost[i,j] * t for i, j in loca...
-
Still I have syntax error with my objective function why? set_time =[123, 134, 345, 234, 453, 346, 643, 332]mdl.modelSense = GRB.MINIMIZEmdl.setObjective(quicksum(x[i,j,k,t]* cost[i,j] for i,j in l...
-
Thank you for your reply.value of time is just random Variable : \(x_{i,j,t}^k\) Binary variable=1, if truck k traverses edge e_{ij} at time tDoes that mean the code will be something like this...
-
Hi That means the constrain will be. m.addConstrs( gp.quicksum( x[truck][l,v] for v in V ) <= 1 for l in location for truck in trucks)
-
Hi Jaromił,My task minimizes the cost and time of the Vehicle platooning problem. currently, I am using random input for making the model. so there is no importance for parameters. we can change b...
-
Hi Jaromil,Thank you so much for your reply. Yes, you are right both questions for the same task. You and this support page help a lot. I got an error when I try your code. mdl.addConstrs( gp.q...