Srinivasan Subramaniyan
- Total activity 8
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Activity overview
Latest activity by Srinivasan Subramaniyan-
Srinivasan Subramaniyan commented,
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 commented,
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 created a post,
Optimization Probelm not ADDINF CONSTRAINTS
AnsweredThe 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 commented,
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 commented,
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 created a post,
Optimization Probelm not working
Answeredimport 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...