MMP.10:11 - SoTA-Echoing
The MiniZinc Handbook 2.10.1, modeling and efficiency sections develops alternative models, derived constraints and interactions with solving methods. Compare the work required to solve the alternative formulations, including when one has fewer variables. A direct scalar formulation remains economical when its meaning is already clear.
Akgun and colleagues, Conjure (2023), sections 2-4 separate representation selection from expression refinement and introduce structural constraints during refinement. Adopt this construction when structured objects would otherwise disappear into unexplained scalar choices. Conjure’s finite combinatorial scope and model-selection heuristic remain specific to that approach.
The Essence language reference, function and relation domains makes such choices as partiality and cardinality explicit. Use those distinctions in :4.2–4.3. The same conditions can be stated directly in a familiar mathematical notation.
For infinitely many possible objects, a finite parameterization needs its own coverage or approximation argument. Consider continuous nonnegative functions f on [0,1], with f(0)=f(1)=0 and integral one. An affine parameterization permits only the zero function after the endpoint conditions, so it fails. The quadratic f(t)=6*t*(1-t) satisfies every requirement. The quadratic provides a witness that the affine family omits. C.29.1 supplies the interpretation of a restriction; the relevant mathematical method supplies a suitable larger family or approximation.
To apply the formulation in another subject, obtain the relations and mathematical operations needed to express its requirements. Reconsider the representation when a new requirement, result kind or obtaining method changes what it needs to preserve or make affordable.