Parma Polyhedra Library requirements
Parametric integer programming low-level requirements

Parametric integer programming low-level requirements

1. Parametric problem and context interpretation
UID: PPL-LLR-000111
STATUS: APPROVED
COMPONENT: PIP_SOLVER
APPLICABILITY: ALL
VERIFICATION_METHODS: Test, Analysis
RELATIONS (Parent): RELATIONS (Child):
STATEMENT:

The parametric integer solver shall interpret problem variables and parameters as nonnegative integers. Constraints involving problem variables shall restrict feasible solutions. Constraints involving only parameters shall restrict the initial context. Without a big parameter, optimization shall seek the lexicographically least feasible variable tuple in the documented variable order for every assignment in that context.

When a big parameter is designated, the sign decisions that assume it is arbitrarily large shall take the sign of its nonzero coefficient without considering the remaining terms. A finite parameter assignment shall be within the result's scope only when it satisfies the initial context and the signs assumed in those decisions, with artificial parameters evaluated in their introduction order.

RATIONALE:

Parametric optimization requires a precise distinction between decision variables, parameters, and the parameter assignments for which a result is meaningful.

COMMENT:

Verification covers parametric problem construction, parameter contexts and lexicographic coordinate ordering. Verification independently enumerates bounded contexts and solutions; it does not replace the general mathematical argument. Successful mathematical results assume valid inputs, documented caller preconditions, and arithmetic representable under the selected configuration; resource or arithmetic failures are not successful results.

VERIFICATION_CRITERIA:

Enumerate bounded nonnegative parameter and variable assignments independently and compare the resulting feasibility and lexicographic minima with the computed solution. Cover parameter-only constraints, mixed constraints, strict inequalities, no parameters, and unused dimensions. Evaluate solution results only for assignments in their declared scope. Distinguish a context with feasible small parameter values from its big-parameter result. Evaluate big-parameter trees on assignments that satisfy both the initial context and the assumed signs.

BIBLIOGRAPHY:

Feautrier88 | Whole work; journal background on exact parametric lexicographic integer programming.

SOURCE:

src/PIP_Problem_defs.hh: class overview, implicit nonnegativity, initial context, lexicographic optimization, and solution-tree spanning preconditions. tests/PIP_Problem/boundedcontexts1.cc and tests/PIP_Problem/contextrefinement1.cc: bounded independent context and solution checks. tests/PIP_Problem/zerofaces1.cc and tests/PIP_Problem/pipproblem2.cc: big-parameter status and solution checks.

PPL-LLR-000112
2. Solution-tree meaning
UID: PPL-LLR-000112
STATUS: APPROVED
COMPONENT: PIP_SOLVER
APPLICABILITY: ALL
VERIFICATION_METHODS: Test, Analysis
RELATIONS (Parent): RELATIONS (Child):
STATEMENT:

For valid problem data satisfying the optimization operation's stated input and computational-arithmetic preconditions, each solution tree returned by a successfully completed optimization shall, for every parameter assignment in the scope defined by 🔗 1. Parametric problem and context interpretation, identify either the lexicographically least feasible variable tuple or the absence of a feasible tuple. Its decision guards, solution-node guards and scoped artificial parameters shall together preserve this meaning. An absent branch or a failing solution-node guard in such a tree shall denote infeasibility in the corresponding subset of those assignments.

RATIONALE:

A symbolic result must preserve both feasible and infeasible parameter regions rather than merely provide values for selected examples. This guarantee applies to completed optimization within its declared input and computational-arithmetic scope; neither a returned status nor unchecked completion alone establishes that scope.

COMMENT:

Verification covers returned parametric trees, guard evaluation, artificial-parameter scope and solution extraction. The normative contracts make the delegated optimization preconditions precise and preserve the required tree meaning over the admitted assignments, including the applicable big-parameter signs. Verification compares the feasible and infeasible regions with independent models within that scope.

VERIFICATION_CRITERIA:

Establish the optimization operation's stated input and computational-arithmetic preconditions for the assessed results. Traverse returned trees under independently enumerated parameter assignments in the scope of 🔗 1. Parametric problem and context interpretation, evaluating artificial parameters with the documented integer-division convention. Compare every accepted tuple and every infeasible branch against bounded enumeration. Include negative artificial-parameter numerators, missing false branches, and guards implied by the initial context. Unchecked completion alone does not establish the arithmetic preconditions.

BIBLIOGRAPHY:

Feautrier88 | Whole work; background on symbolic piecewise solutions, not a source for tree-interface details.

SOURCE:

src/PIP_Problem_defs.hh: decision nodes, solution nodes, missing branches, artificial parameters, and context-relative spanning semantics. src/PIP_Tree_defs.hh: artificial-parameter and node contracts. tests/PIP_Problem/contextrefinement1.cc: independent tree evaluation and literal bounded models.

PPL-LLR-000113
3. Parametric outcomes and result availability
UID: PPL-LLR-000113
STATUS: APPROVED
COMPONENT: PIP_SOLVER
APPLICABILITY: ALL
VERIFICATION_METHODS: Test, Analysis
RELATIONS (Parent): RELATIONS (Child):
STATEMENT:

For an ordinary parametric problem, a completed optimization request shall report infeasibility exactly when no assignment in the initial context admits a feasible variable tuple. When a big parameter is designated, the status shall reflect the asymptotic sign decisions under 🔗 1. Parametric problem and context interpretation. Infeasibility in that mode shall exclude solutions within those assumptions. Finite assignments outside them may still have feasible tuples. For both modes, the infeasible status shall have an empty solution tree. An optimized result shall have a solution tree with the meaning specified in 🔗 2. Solution-tree meaning. The configured arithmetic preconditions shall apply.

RATIONALE:

Global infeasibility must not be confused with infeasibility for only part of the parameter context.

COMMENT:

Verification covers completed parametric solver status and solution availability. Verification distinguishes global infeasibility from infeasible subregions of a partly feasible parameter context. Successful mathematical results assume valid inputs, documented caller preconditions, and arithmetic representable under the selected configuration; resource or arithmetic failures are not successful results.

VERIFICATION_CRITERIA:

Check completely infeasible contexts, partially feasible contexts, and unconstrained nonnegative problems. Compare status with independent bounded context enumeration and verify that an empty tree occurs exactly for globally infeasible completed cases. Include a feasible context with infeasible subregions and a problem with a feasible finite tuple excluded by the big-parameter convention.

SOURCE:

src/PIP_Problem_defs.hh: optimization status and solution-access contracts, and the distinction between empty trees and absent context branches. src/PIP_Problem_types.hh: solver outcome meanings. tests/PIP_Problem/pipproblem1.cc and tests/PIP_Problem/boundedcontexts1.cc: solver status and context cases. tests/PIP_Problem/zerofaces1.cc: ordinary and big-parameter outcomes on the same feasible zero face.

PPL-LLR-000114
4. Incremental parametric refinement
UID: PPL-LLR-000114
STATUS: APPROVED
COMPONENT: PIP_SOLVER
APPLICABILITY: ALL
VERIFICATION_METHODS: Test, Analysis
RELATIONS (Parent): RELATIONS (Child):
STATEMENT:

Following supported additions of dimensions, parameters, or constraints, subsequent completed parametric solver queries shall describe the resulting problem and initial context. When the model is unchanged, repeated queries may reuse the current result. Original coordinates shall retain their meanings through re-solving and artificial-parameter renumbering.

RATIONALE:

Incremental context refinement and artificial-parameter renumbering must preserve the mathematical result independently of earlier solve requests.

COMMENT:

Verification covers consecutive parametric problem changes, repeated queries and artificial-parameter numbering. Verification compares operation histories with freshly reconstructed equivalent problems and independently evaluated contexts. Successful mathematical results assume valid inputs, documented caller preconditions, and arithmetic representable under the selected configuration; resource or arithmetic failures are not successful results.

VERIFICATION_CRITERIA:

Compare incrementally modified problems with freshly reconstructed equivalents after each change, using bounded enumeration as an additional oracle. Include narrowing parameter contexts, changes that remove all solutions, and dimensions or parameters added after a solution tree has been computed.

SOURCE:

src/PIP_Problem_defs.hh: supported updates, repeated queries and artificial-parameter dimension numbering. src/PIP_Problem.cc: added dimensions, parameters, constraints, and solution-state updates. tests/PIP_Problem/contextrefinement1.cc: incremental histories compared with fresh problems and literal models.