Imko Marijnissen
unread,Jun 6, 2024, 7:17:19 PMJun 6Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MiniZinc
Good day,
In the MiniZinc specification, it is not specified what type of division is performed when using the constraint `int_div` and different solvers implement different forms of rounding (e.g. Chuffed uses floored division while Gecode and OR-tools implement truncating division).
I saw in a previous thread that it was stated that "The semantic of the 'div' operator is to truncate the result of the real division", does this mean that `int_div` should implement truncating division?
Thank you in advance for your answer!
Kind regards,
Imko Marijnissen