Originally posted by: Mintch Zulitch
I'm working on a group selection problem in a party-like situations.
I have a binary variable, say y_i_j , which stands for if individual ith is in the same group of individual jth , the variable gets value one and otherwise zero.
Let me be specific:
N = number of people
I in {1,…,N}
J in {1,…,N}
For example if we have 4 people, then the binary matrix for selection of 1,3 and 2,4 is represented as follows:(means that individual number 1 and 3 are in a group and 2 and 4 are in another group). Hence we have 2 groups in total.
|
0
|
0
|
1
|
0
|
|
0
|
0
|
0
|
1
|
|
1
|
0
|
0
|
0
|
|
0
|
1
|
0
|
0
|
Or it may happen that some individuals don't want to select a partner and therefor that group gets only one individual. For example, 1 and 3 and 2,4 (hence we have 3 groups):
|
0
|
0
|
0
|
0
|
|
0
|
0
|
0
|
1
|
|
0
|
0
|
0
|
0
|
|
0
|
1
|
0
|
0
|
Now, here is my question. Which constraints should I impose to build feasible y_i_j decision variables? (from point of mathematical/integer programming)
#DecisionOptimization#MathematicalProgramming-General