ANH TU VU

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

アクティビティの概要

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

    for _ in range(5): state_value_table_new = state_value_table_gu.copy() invest_policy_table_gu = invest_policy_table.copy() exit_policy_table_gu = exit_policy_table.copy() entry_policy_table_gu = e...

  • ANH TU VUさんがコメントを作成しました:

    Here are all my codes. It's scarcely long because I haven't known how to optimize code with Gurobi's variables. There are two problems I need your support 1) As you can see, the variable CV_value_v...

  • ANH TU VUさんがコメントを作成しました:

    yes, I do. Here is an example. U-variables[0] = {0: <gurobi.LinExpr: 0.0 state_value_variable[1] + 0.0 state_value_variable[33] + 0.0 state_value_variable[153] + 0.26963645536163366 state_value_var...

  • 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=...

  • ANH TU VUさんがコメントを作成しました:

    Hi Maliheh, thanks for your support. I follow the code you provided, but it doesn't seem to work now. Please see the code below and help me to go over the problem. Thank you so much for your time a...

  • ANH TU VUさんが投稿を作成しました:

    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,),...