A well-known and powerful constraint model reformulation is to compute the solutions to a model part, say a custom constraint predicate, and tabulate them within an extensional constraint that replaces that model part. Despite the possibility of achieving higher solving performance, this tabling reformulation is often not tried, because it is tedious to perform; further, if successful, it obfuscates the original model. In order to encourage modellers to try tabling, we extend the MiniZinc toolchain to perform the automatic tabling of suitably annotated predicate definitions, without requiring any changes to solvers, thereby eliminating both the tedium and the obfuscation. Our experiments show that automated tabling yields the same tables as manual tabling, and that tabling is beneficial for solvers of several solving technologies.
CITATION STYLE
Dekker, J. J., Björdal, G., Carlsson, M., Flener, P., & Monette, J. N. (2017). Auto-tabling for subproblem presolving in MiniZinc. Constraints, 22(4), 512–529. https://doi.org/10.1007/s10601-017-9270-5
Mendeley helps you to discover research relevant for your work.