Lukas Meier
- 合計アクティビティ 7
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 2
アクティビティの概要
Lukas Meierさんの最近のアクティビティ-
Lukas Meierさんがコメントを作成しました:
I probably should have tested more cases, but setting repeat to 1 results in "MVars takes 908.07% of the time.", for anything above 1 MVars is significantly faster. At 2 it's 14.58%, starting at 10...
-
Lukas Meierさんがコメントを作成しました:
Hey Riley, thanks for the answer. I tried using your code as well as @np.ones instead of np.sum in my own code.I noticed that while @np.ones is in fact faster, at a low number of timesteps and/or r...
-
Lukas Meierさんが投稿を作成しました:
Performance of MVar vs. list of Var
回答済みGetting more familiar with gurobi I recently updated my variable initialization in a complex model from lists of vars vars = []for _ in range(timesteps): vars.append(model.addVar()) to using MVar...
-
Lukas Meierさんがコメントを作成しました:
Thank you so much for your answer Jaromil, I think I' ve got the gist of it. In case somebody finds this with the same problem you can define the transformation function through constraints. In the...
-
Lukas Meierさんが投稿を作成しました:
Trouble with using a transforming function on a variable
回答済みHey, I am currently trying to optimize a model with parameteres that are influenced by economy of scale. Depending on the current value of the variable it is multiplied with the result of a transf...