Skip to content

Proposal to extend the format #1

@maximaximal

Description

@maximaximal

Very interesting project! I'm happy to see more work being done on exact-cover solving.

Some time ago I also created an exact-cover solver supporting Algorithm X, C, C$ (a bit), and M: miniexact. The two solvers have very similar file formats already, although we have slightly different ways to specify primary and secondary items.

I think it would be good to build a more common standard that may be used by many solvers, so that implementations get more comparable. I think your idea of just listing primary items in the first line is very good, as it still does not require doing multiple passes over the whole input - I think I could directly integrate this into Miniexact. I don't know if this format also scales to multiplicities though, as it complicates the input a bit.

Another possibility is the DIMACS-esque input format from my README. This optimizes the parsing step, similar to how SAT solvers work. If one uses Python anyway to generate the problem and then interpret the answer, such a specialized format might make the whole process more efficient, compared to forcing the use of many hash-sets in-between. I would be happy to hear about your opinion!

In general, I think it would be nice to create a collection of problems in a common format so that implementations and new ideas may be compared in a good way! :)

All the best, Max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions