
Wenbo Ma
- 合計アクティビティ 20
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 10
アクティビティの概要
Wenbo Maさんの最近のアクティビティ-
Wenbo Maさんが投稿を作成しました:
TypeError: float() argument must be a string or a real number, not 'gurobipy.LinExpr'
ユーザーの入力を待っています。Hello, I am trying to add constraints but encounter an error that I couldn't figure out how to get around. m.addConstrs((T @ f_a + M_a * (1 - z_hat[k]) >= eta.loc[k, :].values for k in K)) In my c...
-
Wenbo Maさんが投稿を作成しました:
Adding Constraint in a Loop; Turn off 'Warm Start'
回答済みHi, I have an algorithm which contains a loop. At each iteration, I calculate some parameter values and add a new constraint to the existing model and solve. The way I implement it is: I initiate a...
-
Wenbo Maさんが投稿を作成しました:
cbCut - Variable not in model
回答済みHi, I was trying to add a user-cut through callback but encountered an error that I cannot resolve. There was always an GurobiError returned saying 'Variable not in model' due to the last 'model.cb...
-
Wenbo Maさんが投稿を作成しました:
Get variables by name
進行中I have variable gamma indexed by a two-dimension list base_M (e.g. [1, 1], [1, 2], ..., [20, 2]) gamma = m.addVars(base_M, lb = gamma_lb, ub = gamma_ub, vtype = GRB.BINARY, name = 'gamma') I am won...
-
Wenbo Maさんが投稿を作成しました:
Crossover Takes Long
回答済みHello, I have a large size MIP model and I could come up with a decent feasible solution (have set it as the MIP start value). In the current Gurobi solution process, the root crossover subprocess ...
-
Wenbo Maさんが投稿を作成しました:
Fix Certain Variables and Optimize the Rest
進行中Hi, I have a MILP model solved to optimal. In the next step of my project, I plan to fix the values for certain variables in my model, re-assign parameter values based on new data and re-optimize t...
-
Wenbo Maさんが投稿を作成しました:
Solver is Frozen
回答済みI was solving a large MILP problem. On a Linux server with Gurobi 9.1.2, the solver is always stuck solving the root node LP. However, I didn't have this problem when I tested the same problem on m...
-
Wenbo Maさんが投稿を作成しました:
How to Check Which Version of Gurobi is Being Used
回答済みI am on a Linux server with user access (no admin access). I installed python by installing Anaconda and then installed Gurobi use Conda install Gurobi. However, I know there are other versions of ...
-
Wenbo Maさんが投稿を作成しました:
How Can I Locate the Constraints that Causing Infeasibility
回答済みI have a large-scale model with 1.7 million rows. My initial test gives me the result that the model is infeasible. I am wondering if there is any function I can use to locate which constraints cau...
-
Wenbo Maさんがコメントを作成しました:
Just add a note to Eli's answer: If you don't want to create a new object LHS, below can give you the values too. for proc in procs: quicksum(RestrProc2[proc][vr]*Vrbl[vr] for vr in vrs).getValue()