Set Covering Algorithm
Is there a Sage implementation of the Set Covering Algorithm?
Thanks in advance
Is there a Sage implementation of the Set Covering Algorithm?
Thanks in advance
I guess you speak about the "set cover problem", which is a well known NP-hard problem (Karp). Sage does not have this though it could be added as a method of IncidenceStructure
.
You can however code it yourself :
MixedIntegerProgramming
examples and tutorialMaybe another option is to index variables by the sorted tuple representing the set?
Thanks, I'm aware of the fact that the set cover problem is NP hard but so is the TSP and Sage has a method for solving these type of problems.
Asked: 7 years ago
Seen: 463 times
Last updated: Sep 09 '17
Could you provide a reference to the "Set Covering Algorithm" you mention?