Nicolas Campbell

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

投稿

Nicolas Campbellによる最近のアクティビティ 最近のアクティビティ 投票
  • if statement in constraint

    回答済み

    Hi, I am trying to have a conditional constraint for when x [t-1] = 0. Here is some current code: model.addConstrs(sum(x[time,zone] for zone in zones) >= 0.95*sum(x[times[time_index-1],zone] for zo...

  • Ignored upper bound set on variable

    回答済み

    Hi, I have a set of variables that are semi-continuous with an upper and lower bound placed. x = model.addVars(times,zones, name = "x", ub=ub, lb = lb, vtype= 'S') ub and lb are defined in a big li...