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

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -