I have a 24 by 11 matrix of numbers. I would like to determine the largest sum that can be created from 24 of these numbers given a set of constraints.
For example only 1 number can and must be chosen from a each row, and at least 1 number must be chosen from each column.
I would like to further constrain it to 2 numbers from column 1, 3 from column 2, 2 from column 3 etc.
The data is descending within the columns, but not rows. I am not sure how to go about this, any thoughts?
For example only 1 number can and must be chosen from a each row, and at least 1 number must be chosen from each column.
I would like to further constrain it to 2 numbers from column 1, 3 from column 2, 2 from column 3 etc.
The data is descending within the columns, but not rows. I am not sure how to go about this, any thoughts?