冠冠 李

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

アクティビティの概要

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

    Thanks for your answer. Although x is free, I have a constrait model.addConstrs(Cost_Non[i]-(Cost_Tra[i]+C_e[i])>=0 for i in range(N_i) ) to satisfy x>=0. However, it doesn't work on "x". I'm confu...

  • 冠冠 李さんが投稿を作成しました:

    There may be a bug for "addGenConstrLog"

    回答済み

    I establish a model that contain constrains: model.addGenConstrLog(X[i], Y[i])model.addConstrs((X[i]==Cost_Non[i]-(Cost_Tra[i]+C_e[i]) for i in range(N_i) ),"con_X") model.addConstrs(Cost_Non[i]-(C...