1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

17 lines
601 B
MiniZinc

include "fzn_seq_precede_chain_int.mzn";
include "fzn_seq_precede_chain_int_reif.mzn";
include "fzn_seq_precede_chain_set.mzn";
include "fzn_seq_precede_chain_set_reif.mzn";
/** @group globals.lexicographic
Requires that \a i precedes \a i+1 in the array \a x for all positive \a i.
*/
predicate seq_precede_chain(array[int] of var int: x) =
fzn_seq_precede_chain_int(x);
/** @group globals.lexicographic
Requires that \a i appears in a set in array \a x before \a i+1 for all positive \a i
*/
predicate seq_precede_chain(array[int] of var set of int: x) =
fzn_seq_precede_chain_set(x);