Compilation problems
Retrieved this email from a user:
"Hi
I have started running all problems in the minizinc-benchmarks dataset.
I have found a few problems that do not compile with mzn2fzn or minizinc:
- latin square hybrid and latin square hybrid2
- data file jobshop vw3x3
- all nsp/ models
- model pattern_set_mining.mzn
- carseq,mzn
- mqueens2.mzn
[...]"
Used MiniZinc version was not stated in the email.
MiniZinc 2.0.14 was used.
MiniZinc 2.1errors latin-squares:
$ minizinc latin-squares-hybrid.mzn 03.dzn
latin-squares-hybrid.mzn:34:
MiniZinc: type error: no function or predicate with this signature found: `channel_fd_int_to_lp_float(var int,var float)'
jobshop:
$ minizinc jobshop.mzn jobshop_vw3x3.dzn
MiniZinc: evaluation error:
jobshop.mzn:33:
in variable declaration for 'job_task_machine'
parameter value out of range
Problems carseq, and nsp are using the deprecated global constraint sequence instead of its replacement sliding_sum.
No issue were encountered for the pattern_set_mining model. It should be call, e.g., by
$ minizinc -D "K = 1;" pattern_set_mining.mzn anneal.dzn
There are two other models *_k1.mzn and *_k2.mzn that declare the parameter K.
Except the issue with the mqueens2 model, all other issues were resolved in commits 8a1e825, 979ef18, and 2b6c93b.