Shutian Li

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

投稿

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

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

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