Maximilian Sletbakk

  • Gurobi-versary
  • Conversationalist
  • First Question
  • 合計アクティビティ 24
  • 前回のアクティビティ
  • メンバー登録日
  • フォロー 0ユーザー
  • フォロワー 0ユーザー
  • 投票 10
  • サブスクリプション 2

アクティビティの概要

Maximilian Sletbakkさんの最近のアクティビティ
  • Maximilian Sletbakkさんがコメントを作成しました:

    Never mind! It seems like the entire model is functioning now, if anyone else has this issue the solution seemed to be to use a different time model like I showed above. After that I just fixed a s...

  • Maximilian Sletbakkさんがコメントを作成しました:

    Thank you, I understand. I suppose my final question would be: I have checked the lp. file, and my constraint  def battery_test_rule(model,t):       return model.batteryLevel[t] == model.batteryLe...

  • Maximilian Sletbakkさんがコメントを作成しました:

    Thank you very much, I implemented the changes you suggested, but it sadly still does not give any values for the batteryLevel model What do you mean by "the line is checked"?  My thoughts were t...

  • Maximilian Sletbakkさんがコメントを作成しました:

    I want it to make sure the line return model.batteryLevel[t] == model.batteryLevel[t-1]+model.batteryCharge[t-1]-model.batteryDischarge[t-1] is checked for every t in my model, with the exception t...

  • Maximilian Sletbakkさんがコメントを作成しました:

    What do you mean exactly? These are just a part of my model, I have several constraints following this setup and they seem to work?

  • Maximilian Sletbakkさんが投稿を作成しました:

    Optimal solution seems to ignore constraints

    進行中

    Hello, this question comes as a kind of follow up to my previous post a couple days ago. I have a functioning model, which returns an optimal solution, however this solution ignores some of the con...

  • Maximilian Sletbakkさんがコメントを作成しました:

    Okay, I am suspecting that the errror is due to the fact that the "battery" can both charge and discharge at the same time, so I will try to fix thatThank you very much for your time!

  • Maximilian Sletbakkさんがコメントを作成しました:

    Thanks! That fixed the keyerror! However my  model.battery_level values do not change, they stay at 1000  which is the upper bound  def battery_level_rule(model,t):                                 ...

  • Maximilian Sletbakkさんがコメントを作成しました:

    What is the best way to express this in the constraint format? 

  • Maximilian Sletbakkさんがコメントを作成しました:

    # Set representing the time steps, 48 hoursmodel.t = Set(initialize=np.arange(0, 48), ordered=True)# Set representing the time steps until all vehicles must be fully charged, 32 hoursmodel.c = Set(...