Skip to content

solve tally (or: solve count) #244

Closed
@Pierre-Flener

Description

@Pierre-Flener

Is there an easy way to mimic the afaik-non-existing-yet "solve tally" objective (one could call it "solve count", but "count" is already a predicate/function) for just counting (rather than displaying) solutions (to a CSP)?

One can of course, from the command line, pipe the output into wc (word count), subtract 1 from the line count (due to the final line starting with =====) and divide by 2 (in order to avoid counting all ----------), but that's clumsy.

Btw, what combination of values for the command-line options "soln-sep" and "soln-comma" eliminates the apparently forced line between two consecutive displayed solutions (so that one can skip the division by 2 above)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions