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.
on-restart-benchmarks/share/minizinc/std/fzn_cost_mdd_reif.mzn
Jip J. Dekker f2a1c4e389 Squashed 'software/mza/' content from commit f970a59b17
git-subtree-dir: software/mza
git-subtree-split: f970a59b177c13ca3dd8aaef8cc6681d83b7e813
2021-07-11 16:34:30 +10:00

13 lines
887 B
MiniZinc

predicate fzn_cost_mdd_reif(array[int] of var int: x, % variables constrained by MDD
int: N, % number of nodes root is node 1
array[int] of int: level, % level of each node root is level 1, T is level length(x)+1
int: E, % number of edges
array[int] of int: from, % edge leaving node 1..N
array[int] of set of int: label, % values of variable on edge
array[int] of int: cost, % cost of using edge
array[int] of int: to, % edge entering node 0..N where 0 = T node
var int: totalcost, % total cost of path
var bool: b % reification variable
) =
abort("Reified cost_mdd/9 is not supported.");