fzn-gecode, inverse, missing solution

12 views
Skip to first unread message

Mats Carlsson

unread,
Jun 24, 2023, 8:14:27 AM6/24/23
to Gecode
The following model has one solution, but fzn-gecode reports an error.

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;

Reply all
Reply to author
Forward
0 new messages