Mats Carlsson
unread,Jun 24, 2023, 8:14:27 AM6/24/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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;