Skip to content

Are priorities on minimize directives no longer supported? #96

@adam-lally

Description

@adam-lally

clingcon 3 supported priorities on minimize statements via the @ operator. For example:

&dom{0..10} = i.
&dom{0..10} = j.
&show {i}.
&show {j}.
&distinct{i; j}.
&minimize {i@2}.
&minimize {j@1}.

would produce i=0 j=1 since minimizing i had higher priority.

In clingcon 5 I get:

error: missing definition for operator:
  @

Was this feature removed?

It was also useful that I could use this to specify if a clingcon minimize directive should have higher or lower priority than a clingo #minimize in the same program.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions