python - Solving minimum set cover using available libraries -
i solve instance of minimum set cover. 1 possibility, there way of formulating problem bipartite graph , using networkx?
update using dlx (dancing links) suggested in comments. can give small working example of how solve minimum set cover problem using dlx?
set cover can mapped np-complete problem on graph, doesn't mean you'll able solve efficiently. there reason don't focus directly on problem @ hand (ie, set cover)?
maybe like: pypi.python.org/pypi/dlx
this can installed using: pip install dlx or easy_install dlx
Comments
Post a Comment