Quentin De Boever
- 合計アクティビティ 15
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 4
- サブスクリプション 4
投稿
Quentin De Boeverによる最近のアクティビティ-
Constraint Issue: 'Var' object cannot be interpreted as an integer
回答済みHello, I have an issue where I have defined a variable as an integer, but my constraints fail to run due to this error. I have attached some pictures of my code for reference. Any ideas on what the...
-
Objective Function based on Interpolation/Look-Up Table
回答済みHello, I have created a function using scipy.interpolate.interp2d . Essentially, I call this function and give two inputs, and receive one output based on the inputs. Here is an example: my data i...
-
KeyError 0 for summing variables in objective function (Using Python)
回答済みHi, I have the following code: # Model Namem = gp.Model("Optimal_Sizing")# Adding Variablesu1 = m.addVars(choice1,vtype=GRB.BINARY,name="u1") # Category 1 choice (DG)u2 = m.addVars(choice2,vtype=GR...
-
model.addConstrs: Can't set variables equal to changing parameter?
回答済みHi, I have a VERY simple constraint I want to implement. Here's the general form: x(t) + y(t) = A(t) for t = {1,4} where x(t) and y(t) are variables. A(t) is a given vector/array. Can someone pleas...