Parma Polyhedra Library requirements
Command-line solver contracts
  • PPL-LLR-000220
    2. Linear optimization command-line solver PPL-LLR-000220

    When the linear optimization tool is built with its required input-library dependency, it shall accept its supported MPS problem descriptions and, on successful completion within its documented arithmetic and resource assumptions, use the selected PPL solving mode to report infeasibility, unboundedness or an optimum for the interpreted linear or mixed-integer problem.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.

  • 4. Command-line input and outcome reporting PPL-LLR-000441

    Each distributed numerical command-line tool shall define its accepted input formats and option interpretation, output conventions, and diagnostics for invalid input, input/output failure, arithmetic or resource failure, and supported interruption. Its observable output and termination conventions shall distinguish completed numerical results from failed or incomplete computations. A failed or incomplete computation shall not be presented as a completed numerical result.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.

PPL-SPEC-001705
1. MPS linear optimization command protocol PPL-SPEC-001705

In a build providing ppl_lpsol and its GLPK input dependency, the tool shall interpret supported MPS input using the documented GLPK import semantics, including row relations, column bounds, integrality and objective constant. On completed computation within the selected mode's arithmetic/resource preconditions, it shall report infeasibility, unboundedness or the exact optimum of the interpreted problem. Mixed-integer restrictions apply only in modes supporting them. Batch, incremental and supported worker execution shall preserve numerical outcomes.

With GLPK comparison selected, an LP comparison shall preserve the imported coefficients and certify primal/dual feasibility and objective equality using exact arithmetic rather than treat a floating-point suggestion as proof. By default, the optimum comparison shall use a tolerance of 1e-9 for an exactly certified LP optimum and of 1e-9 times (1 + the absolute value of the GLPK optimum) for a MIP optimum. An explicit threshold shall set an absolute tolerance. Failed input or incomplete computation shall be observably distinguished from a completed numerical conclusion. Supported options, mode restrictions, diagnostics and exit conventions shall be those advertised by the tool.

  • PPL-LLR-000221
    3. Parametric integer optimization tool PPL-LLR-000221

    When built with the PPL backend, the parametric integer optimization tool shall interpret its accepted problem input and, on successful completion within its documented arithmetic and resource assumptions, display a parametric solution describing the lexicographic minimum over feasible integer solutions as a function of the problem parameters.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.

  • 4. Command-line input and outcome reporting PPL-LLR-000441

    Each distributed numerical command-line tool shall define its accepted input formats and option interpretation, output conventions, and diagnostics for invalid input, input/output failure, arithmetic or resource failure, and supported interruption. Its observable output and termination conventions shall distinguish completed numerical results from failed or incomplete computations. A failed or incomplete computation shall not be presented as a completed numerical result.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.

PPL-SPEC-001706
2. Parametric integer solver command protocol PPL-SPEC-001706

With its PPL backend, ppl_pips shall accept the documented PolyLib format or selected PipLib format, preserving the integer constraints, context, variable/parameter split and designated big-parameter convention. In ordinary single-solve output mode, successful completion within native arithmetic and resource preconditions shall display the PIP solution tree: case guards select parameter regions and leaves describe the lexicographically least feasible integer variables; bottom denotes infeasibility. Benchmark iteration mode need not print a solution tree.

Both input formats shall reject a problem that declares more than 65536 variables and parameters in total with no matrix row listing them. Any constraint row shall count for all declared variables and parameters; any context row shall count for the parameters only. This input limit shall apply to the command's parsers.

Where semantic checking is configured, a reference shall be checked against the interpreted problem and computed tree. Failed reference checks shall not publish a verified result or overwrite the requested result output. Malformed or incomplete input and supported failures shall produce diagnostics distinct from a completed mathematical result. Options and available checking capability shall be identified by the configured command interface.

  • PPL-LLR-000219
    1. Polyhedral representation conversion tool PPL-LLR-000219

    When built with the PPL backend, the polyhedral conversion tool shall, on successful completion within its documented arithmetic and resource assumptions, convert an accepted constraint representation of a polyhedron to a generator representation, or an accepted generator representation to a constraint representation, denoting the same polyhedron.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.

  • 4. Command-line input and outcome reporting PPL-LLR-000441

    Each distributed numerical command-line tool shall define its accepted input formats and option interpretation, output conventions, and diagnostics for invalid input, input/output failure, arithmetic or resource failure, and supported interruption. Its observable output and termination conventions shall distinguish completed numerical results from failed or incomplete computations. A failed or incomplete computation shall not be presented as a completed numerical result.

    • PPL-HLR-000010
      10. Configurable distribution and command-line access PPL-HLR-000010

      PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.

PPL-SPEC-001734
3. Polyhedral conversion command protocol PPL-SPEC-001734

With the PPL backend, ppl_lcdd shall interpret its supported cdd-style H or V representation and, on successful conversion within configured arithmetic and resource limits, emit the opposite representation of the same polyhedron. Input shall recognize representation selection, pre-begin linearity indices, row/column counts (including the supported unknown-row-count marker), number type, coefficient rows and end. Integer and rational coefficients shall keep their exact values; real input denotes the rational value obtained from the parsed host floating-point value. Rational row normalization shall preserve the represented constraints or generators. Invalid or incomplete input and output failures shall be reported distinctly from completed conversion.

The advertised build-specific options shall select input/output paths, supported CPU/memory limits, optional timing/verbose diagnostics, version/help and optional reference checking. Serial output-file mode appends; threaded named-input mode uses the output directory and pathname rule of 🔗 1. Native output pathname construction for polyhedral conversion. Standard input/output defaults and build-specific checking restrictions shall be those printed by --help. CPU-time and address-space limit availability shall be determined independently. Requests for an unavailable limit shall fail with a diagnostic before reading input. Supported limits shall accept zero to leave the inherited limit unchanged, reject malformed or unrepresentable values, and keep any stricter inherited limit. CPU expiration shall report TIMEOUT on standard error with status 124 to identify incomplete conversion.