astra-uu-se / atlantis

CBLS solver
2 stars 1 forks source link

Fix circular definition of max(). #76

Closed maartenflippo closed 2 years ago

maartenflippo commented 2 years ago

For our solver we define int_min in terms of array_int_minimum. However, the standard definition of array_int_minimum is in terms of int_min. So, when compiling a mzn file with a max constraint, MiniZinc crashes and reports a stack overflow.

The fix is to indicate to MiniZinc we support array_int_minimum natively.