Shutian Li

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

アクティビティの概要

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

    Hi Jaromił, Thanks for your response. Are there any methods that allow me to include two or three models that share the same sets?  For example, what I want such as:  CUSTOMERS = [i for i in range(...

  • Shutian Liさんが投稿を作成しました:

    define the model as a function

    回答済み

    Hi,  I have met a problem when I use Gurobi-Python  I wrote my model as a function such that:  def VRP1():  m.gp.Model() # add variables  x=(CUSTOMER,CUSTOMERS,VEHICLES) y=.....  # add constraints ...

  • Shutian Liさんがコメントを作成しました:

    I need to code \[ \sum_{i \in S} \sum_{a \in A} P_{is}^{a}x_{i}^{a}\]  I wrote it as follows, it works well in a separate python file but when I use the gurobi, it does not make sense. Here is my c...

  • Shutian Liさんが投稿を作成しました:

    problem about the matrix multiplication

    回答済み

    I need to code something as follows(where x is the decision variable)  I write it as follows:(in python)  for ss in range(cardS): px[ss] = sum(ppp[a,i,ss]*x[a,i] for a in range(cardA) for i in ran...

  • Shutian Liさんが投稿を作成しました:

    how to output the decision variable values in gurobi?

    回答済み

    I have two decision variables in my model, but I do not know how to return the value of these decision variables seperately.    import pandas as pd import gurobipy as gpy string = '/Users/user/Des...