jingwei xie
- Total activity 8
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 2
Activity overview
Latest activity by jingwei xie-
jingwei xie commented,
Hi Riley, Thanks for your hint. I use the following statement as what I want are exactly coefficients corresponding to the variable. It seems suitable for subsequent operations. coeffs = [Model.g...
-
jingwei xie commented,
Hi Riley, It's very kind of you to help. Actually I'm working with branch and price algorithm. Each time when I add a variable and corresponding column to the restricted master problem, I store eac...
-
jingwei xie commented,
Hi Riley, Thank you so much for your timely reply! It's extremely exhaustive and helpful. I will follow your advice and revise my implementation. Best regards, Jingwei
-
jingwei xie created a post,
The index() function doesn't work well with gurobi variable
AnsweredI write a demo for the situation: import gurobipy as gpfrom gurobipy import GRBm = gp.Model()x = m.addVars(2, 3)m.update()L = [x[i, j] for i in range(2) for j in range(3)]print(L.index(x[0, 1])) ...