Jaromił Najman
Gurobi Staff- 合計アクティビティ 4261
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 7ユーザー
- 投票 11
- サブスクリプション 1473
アクティビティの概要
Jaromił Najmanさんの最近のアクティビティ-
Jaromił Najmanさんがコメントを作成しました:
You have to set the variable's vtype to be integer, see the documentation of addVars. BatteryPower = steel.addVars(time1, lb= -3, ub = 3, vtype=gp.GRB.INTEGER, name="BatteryPower")
-
Jaromił Najmanさんがコメントを作成しました:
How do I write it as variable? You already added it as a tupledict of variables by the code BatteryPower = steel.addVars(time1, lb= -3, ub = 3, name="BatteryPower") You now just have to access it...
-
Jaromił Najmanさんがコメントを作成しました:
You define BatterPower via the addVars method. This means that the object BatterPower does not hold a single variable, but a tupledict of variables. Did you mean to access \(\texttt{BatteryPower[t]...
-
Jaromił Najmanさんがコメントを作成しました:
How do you define the optimization variable BatteryPower? Is it only one variable?
-
Jaromił Najmanさんがコメントを作成しました:
Hi Margi, Does that mean If I define SoC as a variable, I don't require to define BatteryPower as a variable? No, you still need to keep BatteryPower as a variable, because as you said it can tak...
-
Jaromił Najmanさんがコメントを作成しました:
Thats correct. I understand but then how it is possible to calculate BatteryPower necessary for the objective function? BatteryPower is an optimization variable itself. This means that you can us...
-
Jaromił Najmanさんがコメントを作成しました:
Hi Margi, Actually the variable is the BatteryPower and SoC is calculated from it. This is correct, but if you want to compute SoC being dependent on an optimization variable, then SoC has to be...
-
Jaromił Najmanさんがコメントを作成しました:
Hi Margi, You will need to introduce a bounded continuous \(\texttt{SoC_t}\) variable. # introduce variable SoC for every timestep tSoC = steel.addVars(time1, lb= SoC_MIN, ub = SoC_MAX, name="SoC")...
-
Jaromił Najmanさんがコメントを作成しました:
Hi Runfeng, Thank you for your patience. We were able to identify the source of the issue and it will be fixed with the upcoming version 12 release, which is planned for the end of the year. Unfort...
-
Jaromił Najmanさんがコメントを作成しました:
Hi Jack, We provide some general advice in the section about Most important parameters. However, these are quite generic. Could you please share the log output for an optimization run or in best ca...