Hernani Delgado Chantre
 Total activity 11
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 0
 Subscriptions 3
Activity overview
Latest activity by Hernani Delgado Chantre
Hernani Delgado Chantre commented,
Hi Matthias, Thank you for quick response, regarding to the code of the constraint for your experience it seems correct or there is any suggestion you would like to share. Regards, Hernani

Hernani Delgado Chantre commented,
Dear all, I have this constraint (2) where x_uvik is binary decision variable and r_u, r_m and R_v are parameters to the problem. I coded the problem as follow: But when I run my program with this...

Hernani Delgado Chantre commented,
Hi Matthias, Sorry I did not make it clear but the decision variables are x_uvik, r_u[u] and r_u[m] and R_v[v] are constants. Regards, Hernani

Hernani Delgado Chantre created a post,
Key error
AnsweredHello there, I wonder if you could help me on the following contraint This is how I understand this constraint can be translated on gurobi but I am getting a match error Thank you in advance,Hernani

Hernani Delgado Chantre created a post,
TypeError: unsupported operand type(s) for /: 'int' and 'Var'
AnsweredHi there, I am new in the Gurobi I need some direction on how to solve the following error: TypeError: unsupported operand type(s) for /: 'int' and 'Var'tinpsi_ui[u,i,k] = 1/psi_ui[u,i,k]In the pro...

Hernani Delgado Chantre commented,
Hi Matthias, thank you for the your advise it solved my problem this is how i solve the problem, adding new auxiliary variables and than passing it to the model.addGenConstrMax(psi_ui[u,i,k],maxVar...

Hernani Delgado Chantre commented,
Hi Matthias, thank you in advance for you time, I wrote the problem as follow for u in U: for i in range(C_u[u]): for k in range(K): model.addConstr(psi_ui[u,i,k] == max_([ta...

Hernani Delgado Chantre created a post,
TypeError: object of type 'gurobipy.LinExpr' has no len()
AnsweredHi there, I am new in Gurobi, so I wonder if you could help me on a problem. I have this constraint \[\psi_{uik} = \max_{v \in V, 1 \leq k\leq K }\{\tau_v x_{uvik}\} \quad \forall u \in U, 1 \leq...