Skip to content

Unclear how to extract all models in cautious enumeration #37

@olegzaikin

Description

@olegzaikin

Hi.
I need to find all models (satisfying assignments) of a CNF, so I run clasp with --models=0. When --enum-mode=bt or --enum-mode=record are set, then all models are found as needed - and all variables are assigned there. When --enum-mode=cautious is set, then the runtime is much lower, but in this case in the models not all variables are assigned. If I understand correctly, the cautious reasoning is applied here, so those partial models are intersections of all stable models found so far. However, I need all full models - i.e. all variables' values in all of them. Is it possible to force clasp to print all found models like it is done, in a non-cautions mode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions