ANH TU VU

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

投稿

ANH TU VUによる最近のアクティビティ 最近のアクティビティ 投票
  • automatically get values of auxiliary variables

    ユーザーの入力を待っています。

    I have main variables (V) and auxiliary variables (U) with the below formula example U1 = 0.5 V1 + 0.7 V2 + 0.1 V3 After Gurobi solves the optimization problems, I get an array of V, like V1=5, V2=...

  • stack MLinExpr and add constraints

    回答済み

    m = gp.Model('LP_model') expected_cost = m.addMVar(70, lb=0, ub=float('inf'), vtype='C', name='expected_cost') m.setObjective(expected_cost.sum(), GRB.MINIMIZE)   # expected_cost.shape = (70,),...