jingwei xie
- 合計アクティビティ 8
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 2
- サブスクリプション 2
アクティビティの概要
jingwei xieさんの最近のアクティビティ-
jingwei xieさんがコメントを作成しました:
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さんがコメントを作成しました:
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さんがコメントを作成しました:
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さんが投稿を作成しました:
The index() function doesn't work well with gurobi variable
回答済みI 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])) ...