minizinc-benchmarks icon indicating copy to clipboard operation
minizinc-benchmarks copied to clipboard

Compilation problems

Open schutta opened this issue 9 years ago • 4 comments

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.

schutta avatar Nov 08 '16 23:11 schutta

MiniZinc 2.0.14 was used.

schutta avatar Nov 09 '16 23:11 schutta

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.

schutta avatar Mar 15 '17 22:03 schutta

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.

schutta avatar Mar 15 '17 22:03 schutta

Except the issue with the mqueens2 model, all other issues were resolved in commits 8a1e825, 979ef18, and 2b6c93b.

schutta avatar Mar 16 '17 05:03 schutta