Srinivasan Subramaniyan

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

アクティビティの概要

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

    Hi Marika,The constraint i have in mind is  to only binpack tasks if they have a -ve correlation that is np.corrcoef(items[i][3], items[j][3])[0, 1] < bound if they have to be in the same bin k! Th...

  • Srinivasan Subramaniyanさんがコメントを作成しました:

    Hello Marika, I have incorporated the correlation constraint into my model; however, it does not yield accurate results. For instance, when the bound is set to -0.25, no tasks should be grouped in ...

  • Srinivasan Subramaniyanさんが投稿を作成しました:

    Optimization Probelm not ADDINF CONSTRAINTS

    回答済み

    The correlation constraint is not getting added to the solver, I tried everything possible but it doesnt seem to work! import randomimport gurobipy as gpfrom gurobipy import GRBimport numpy as npfr...

  • Srinivasan Subramaniyanさんがコメントを作成しました:

    Hi Riley,if the correlation coefficient of items i and j is negative then they should be in the same bin"Yes they should be in the same bin if they have -ve correlation. if correlation coefficient ...

  • Srinivasan Subramaniyanさんがコメントを作成しました:

    Hi Riley,I did make a change;UB=len(items)for k in range(UB):    for i in range(UB):        for j in range(UB):            if i != j:  # Avoid self-correlation                corr_coefficient, _ = ...

  • Srinivasan Subramaniyanさんが投稿を作成しました:

    Optimization Probelm not working

    回答済み

    import randomimport timeimport numpy as npfrom itertools import zip_longestfrom scipy.stats import pearsonrimport gurobipy as gpfrom gurobipy import GRB random.seed(100)np.random.seed(100)def randg...