specialization-examples icon indicating copy to clipboard operation
specialization-examples copied to clipboard

bandits.mzn adapted to what's in the slides

Open dtonhofer opened this issue 4 years ago • 1 comments

Introduced SIZE and POINT as used on the slides.

Changed comments for clarity: "points" <-> "tunnel exits" and "cells" <-> "huts"

Changed i,j, to x,y in forall to correspond to predicate call

Added symmetry-breaking constraint to make the solution canonical.

With Gecode:

Row: [2, 7, 7]
Col: [5, 2, 8]
Cost: 19
----------
Row: [3, 5, 7]
Col: [6, 2, 6]
Cost: 18
----------
==========
Finished in 325msec

dtonhofer avatar Jul 21 '21 15:07 dtonhofer

Hi people. What are we going to do with this? Reject? Accept?

dtonhofer avatar Jul 05 '22 14:07 dtonhofer