Skip to content

MZN 2.4.1: std definition of cumulative #388

Description

@matsc-at-sics-se

This should fail, but succeeds:

$ cat /tmp/bug.mzn
include "globals.mzn";
constraint cumulative([1,2],[1,1],[2,2],1);
solve satisfy;
$ minizinc /tmp/bug.mzn
----------

Here, the definition optimizes cumulative to alldifferent/disjunctive, but forgets to check a necessary condition.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolvedIssue is resolved and the feature or fix will be part of next release

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions