'R Gurobi Recursively Solve with Overlap Parameter K up to N Solutions
I'm using Gurobi in R to develop a solution set of size n with a maximum overlap parameter k (i.e., no solutions share more than k variables in common with another solution - the format of my solution is a bunch of binary variables indicating whether objects should be selected or not). I'm currently using PoolSearchMode = 2 and PoolSolutions = a much larger number than n so I can use a different function after solving to filter my solution set down based on overlap.
Is there a way to recursively solve one at a time, and only add solutions to my solution pool if they don't overlap more than k times with other solutions? And then stop when I get to a solution pool size of n?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
