Related code for blog post on the weighted set cover problem