🐛 Fix compilation problems
This commit is contained in:
parent
242f04c553
commit
a0f4e4094e
@ -91,7 +91,7 @@ constraint x[1] == 1;
|
|||||||
|
|
||||||
% Consecutive cards match
|
% Consecutive cards match
|
||||||
predicate adjacent(var 1..52: a, var 1..52: b) :: presolve(autotable)
|
predicate adjacent(var 1..52: a, var 1..52: b) :: presolve(autotable)
|
||||||
= ((x-y) in {13*i+1 | i in -4..3} union {13*i-1 | i in -3..4}) :: domain;
|
= ((a-b) in {13*i+1 | i in -4..3} union {13*i-1 | i in -3..4}) :: domain;
|
||||||
|
|
||||||
constraint forall(i in 1..51) ( adjacent(x[i], x[i+1]) );
|
constraint forall(i in 1..51) ( adjacent(x[i], x[i+1]) );
|
||||||
|
|
||||||
|
@ -228,7 +228,7 @@ constraint
|
|||||||
);
|
);
|
||||||
|
|
||||||
% channel break <---> hap (2)
|
% channel break <---> hap (2)
|
||||||
predicate channel_break_hap(var breakable: bt, array[period] of var A..H: hapt, var team: t) :: presolve(presolve(model)) =
|
predicate channel_break_hap(var breakable: bt, array[period] of var A..H: hapt, var team: t) :: presolve(autotable(model)) =
|
||||||
bt in breakable /\
|
bt in breakable /\
|
||||||
(t in north_team -> hapt[(t mod divsize)+1] = A) /\
|
(t in north_team -> hapt[(t mod divsize)+1] = A) /\
|
||||||
(t in south_team -> hapt[(t mod divsize)+1] = H) /\
|
(t in south_team -> hapt[(t mod divsize)+1] = H) /\
|
||||||
|
Reference in New Issue
Block a user