Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matsc-at-sics-se opened this issue Jun 24, 2023 · 0 comments
Open

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

matsc-at-sics-se opened this issue Jun 24, 2023 · 0 comments

Comments

@matsc-at-sics-se
Copy link

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant