Parma Polyhedra Library requirements
C++ mip persistence
PPL-SPEC-001481
1. Reloadable mixed integer solver representations PPL-SPEC-001481

Dumping shall write the problem and incremental solver representation. Loading a complete admitted representation produced by a matching coefficient and format configuration shall replace the destination problem and preserve its constraints, integer coordinates, objective, direction and subsequent query meaning. A valid prefix may be followed by unrelated stream content. These records are trusted solver snapshots. Malformed tokens, incompatible dimensions, invalid counts or indices and structural inconsistencies between the status, extents and basis shall return false without relying on debug assertions. The loader reads the recorded tableau. An altered record can pass those checks with a tableau that fails to represent its processed constraints. The loader shall check declared tableau extents against known solver bounds before loading rows and allocate constraint storage as records are read. False shall not promise rollback or further queries. Surviving resources shall remain destructible. Stream and resource exceptions may propagate. Valid records can require substantial resources.

The initialization, arithmetic, ownership and exceptional-completion conditions in 🔗 1. Optimization and ranking valid use shall apply.

PPL-SPEC-001482
2. Mixed integer diagnostics, display and storage PPL-SPEC-001482

OK shall check the implemented structural and cached-feasibility invariants without proving global optimality. Display shall show constraints, objective, direction and integer coordinates, return its stream, and remain distinct from reloadable serialization. External memory shall estimate managed storage, including owned constraints and solver arrays; total memory shall add sizeof(*this). Shared or pooled storage accounting shall remain an estimate.

The initialization, arithmetic, ownership and exceptional-completion conditions in 🔗 1. Optimization and ranking valid use shall apply.