Skip to content

fzn-gecode, inverse, error instead of solution #171

@matsc-at-sics-se

Description

@matsc-at-sics-se

On Ubuntu 22.04.2 LTS.

The following model has one solution, but fzn-gecode reports an error instead.

include "globals.mzn";
var 1..3: C;
var 3..4: D;
var 1..3: E;
var 1..2: F;
var 3..5: G;
var 2..2 union 4..6: J;
var 1..2: K;
constraint inverse([J,C,E,5,D,2],[C,6,K,G,4,F]) :: domain;
solve :: int_search([C,D,E,F,G,J,K], input_order, indomain_min, complete) satisfy;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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