This question follows from a related question about my placement here . @mhum suggested that my problem falls within the scope of coverage problems. I tried to code my question into a problem with a minimal set of covers, and currently I have a data set in this form:
Set Cost (1,2) 1 (1) 1 (1,2,3) 2 (1) 2 (3,4) 2 (4) 3 (1,2) 3 (3,4) 4 (1,2,3,4) 4
The goal is to find a good set covering all numbers and one that tries to minimize the total cost. My data set is large, at least 30,000 sets (ranging in size from 5-40 items). Are there any good greedy implementations to solve this, or am I on my own to implement this? I am not an expert in LP, but any LP solvers (from numpy / scipy) that can solve this are also acceptable.
python algorithm numpy scipy linear-programming
Legend
source share