Parma Polyhedra Library requirements
C++ solver valid use
PPL-SPEC-001466
1. Optimization and ranking valid use PPL-SPEC-001466

Solver and ranking interfaces shall use the selected coefficient profile without loss of mathematical information when every intermediate arithmetic operation meets that profile's range and exactness conditions. Initialization shall follow 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization; coordinate indices shall follow 🔗 1. Coordinate type and reserved dimension index. Objects, descriptors, iterators and streams shall remain live and valid throughout each operation.

A completed mathematical result shall satisfy the applicable solver or ranking contract. Arithmetic, allocation and cancellation exceptions may propagate; exceptional completion shall not constitute a feasibility or termination conclusion. Surviving owned resources shall remain destructible, without a general rollback or further-query guarantee. Separate output coefficients shall refer to distinct writable objects and shall not alias input expression or generator storage. Borrowed views shall not survive a mutation, replacement, destruction or query that can invalidate their backing representation. Accesses that can change solver state, trees or caches shall be externally synchronized. Solver heuristics shall affect search choices rather than the meaning of successfully completed results.