Parma Polyhedra Library requirements
Mixed integer programming low-level requirements

Mixed integer programming low-level requirements

UID:
VERSION:
CLASSIFICATION:
PREFIX:
Type
Level
MID
UID
REFS
Title
Statement
Rationale
Comment
BIBLIOGRAPHY
STATUS
COMPONENT
APPLICABILITY
VERIFICATION_METHODS
VERIFICATION_CRITERIA
SOURCE
LANGUAGE
VISIBILITY
INTERFACE
LLR
1
PPL-LLR-000101
PPL-LLR-000101
Mixed integer problem interpretation

The incremental mixed integer solver shall interpret a supported stored problem as a finite set of linear equalities and non-strict inequalities over the declared vector space, together with a linear objective, an optimization direction, and a designated subset of integer coordinates. Coordinates outside that subset shall remain real-valued. The solver shall admit strict inequalities whose nonzero variable support is declared integral, storing equivalent closed rows under those integer restrictions. It shall reject strict inequalities depending on continuous coordinates and dimension-incompatible problem data through the documented input-validation mechanism.

Correct optimization depends on preserving the distinction between integer and real coordinates and on avoiding silent reinterpretation of unsupported constraints.

Verification covers mixed-integer problem construction and validation, including coordinate interpretation, permitted constraints and designated integer coordinates. Verification uses independently interpreted finite problem models and invalid-input cases. Successful mathematical results assume valid inputs, documented caller preconditions, and arithmetic representable under the selected configuration; resource or arithmetic failures are not successful results.

Schrijver99 | Whole work; background on linear and integer programming, not a source for interface-specific obligations.

APPROVED
MIP_SOLVER
ALL
Test, Analysis

Compare bounded mixed integer instances against independent enumeration of integer coordinates and rational optimization of the remaining coordinates. Include empty integer subsets, all-integer problems, zero-dimensional problems, integer-supported strict admission, continuous-support strict rejection, and incompatible constraint, objective, and integer-coordinate dimensions.

src/MIP_Problem_defs.hh: class overview and construction preconditions define the feasible region, integer-coordinate subset, objective, optimization direction, and strict-row admission rules and rejection of incompatible dimensions. tests/MIP_Problem/exceptions1.cc: input-validation cases. tests/MIP_Problem/enumeratedmodels1.cc: bounded independently evaluated problem models.

LLR
2
PPL-LLR-000102
PPL-LLR-000102
Correct completed optimization outcomes

When an optimization request on the incremental stored problem model completes successfully within the configured arithmetic preconditions, the mixed integer solver shall distinguish infeasibility, unboundedness in the requested optimization direction, and attainment of a finite optimum. Infeasibility shall mean that no point satisfies both the linear constraints and the designated integrality restrictions; unboundedness shall require feasibility.

Clients need to distinguish absence of feasible solutions from absence of a finite objective bound.

Verification covers completed mixed-integer solver outcomes and their access conditions. Analysis and independent models distinguish infeasibility, feasible unboundedness and a finite attained optimum; arithmetic or resource failures are not solver conclusions. Successful mathematical results assume valid inputs, documented caller preconditions, and arithmetic representable under the selected configuration; resource or arithmetic failures are not successful results.

Schrijver99 | Whole work; background on feasibility and optimization classification.

APPROVED
MIP_SOLVER
ALL
Test, Analysis

Exercise independently justified infeasible, feasible unbounded, and finite-optimum cases in both optimization directions. Include problems whose real relaxation is feasible but whose integer restrictions make them infeasible. Confirm the same mathematical outcome under the documented pricing choices for cases that complete without arithmetic or resource errors.

src/MIP_Problem_types.hh: three solver outcome meanings. src/MIP_Problem_defs.hh: feasibility and optimization result contracts. tests/MIP_Problem/mipproblem1.cc and tests/MIP_Problem/enumeratedmodels1.cc: optimization outcome and bounded-model checks.

LLR
3
PPL-LLR-000103
PPL-LLR-000103
Feasible and optimal witnesses

For valid stored problem data satisfying the incremental solver's solve and result-access operations' stated input and computational-arithmetic preconditions, a feasible witness returned from a successfully solved feasible mixed integer problem shall satisfy every constraint and every designated integrality restriction. Under the same conditions, an optimal witness returned from a successfully optimized problem shall additionally attain the reported objective value, and objective values shall be represented as rational values without loss of information.

Requests for witnesses that do not exist shall be rejected through the documented result-access mechanism.

A solver status is useful to clients only when its associated witness and objective value have matching mathematical meaning. The numerical guarantee depends on the declared computational preconditions for solving and result access; accepting an unchecked calculation as completed does not establish that guarantee. Unavailable-result rejection is a separate access obligation.

Verification covers feasible and optimal witness access, objective evaluation and unavailable-result rejection. The normative contracts make the input and computational-arithmetic conditions of the numerical clauses precise without qualifying the separate unavailable-result rejection obligation. Verification substitutes returned witnesses into the original mathematical constraints and objective rather than relying only on the reported solver status.

APPROVED
MIP_SOLVER
ALL
Test, Analysis

Establish the solve and result-access operations' stated input and computational-arithmetic preconditions for numerical evidence cases. Evaluate each returned point against an independent scalar form of the original constraints and check integral coordinates. Independently evaluate the objective and compare rational values by cross multiplication. Cover feasible unbounded problems, infeasible problems, and requests for an optimum in both cases. Check unavailable-witness rejection separately from the numerical guarantee and do not accept unchecked completion alone as proof of valid arithmetic.

src/MIP_Problem_defs.hh: objective evaluation, feasible-point, optimizing-point, and optimal-value contracts. tests/MIP_Problem/mipfeasibilityhistories1.cc: literal feasibility witnesses and optimum checks across solver histories.

LLR
4
PPL-LLR-000104
PPL-LLR-000104
Incremental problem changes preserve semantics

After supported additions of dimensions, constraints, or integer-coordinate restrictions, or changes of the objective or optimization direction, subsequent mixed integer solver queries shall describe the modified problem. Previously computed feasibility and optimality results shall not be reused when they are invalid for the modified problem.

Incremental reuse must preserve the result of solving the current mathematical problem rather than the history of earlier queries.

Verification covers incremental mixed-integer problem changes and subsequent query validity. Verification compares modified problems with freshly reconstructed equivalents and checks that invalidated results are not exposed as current. Successful mathematical results assume valid inputs, documented caller preconditions, and arithmetic representable under the selected configuration; resource or arithmetic failures are not successful results.

APPROVED
MIP_SOLVER
ALL
Test, Analysis

At each step of a change sequence, compare completed queries with a newly constructed equivalent problem and independent bounded-model results where available. Cover feasible-to-infeasible changes, changed optimal values, integer restrictions added after feasibility queries, and dimensions added after optimization.

src/MIP_Problem_defs.hh: incremental solver overview and problem modification operations. src/MIP_Problem.cc: state updates for added constraints and integer-coordinate restrictions. tests/MIP_Problem/mipfeasibilityhistories1.cc: repeated queries and problem changes.

LLR
5
PPL-LLR-000451
PPL-LLR-000451
Integer-supported strict MIP admission

The C++ mixed integer solver shall admit strict rows whose nonzero variable support is declared integral. Under the arithmetic preconditions, canonical closed storage shall preserve exactly the feasible set with its declared integer coordinates, objective values and existing optimization-result meaning. Rows depending on continuous coordinates shall remain unsupported by stored MIP optimization models.

Strict inequalities over integer-valued linear forms have exact closed equivalents. The declared integer subset, rather than the problem being globally all-integer, determines eligibility.

APPROVED
MIP_SOLVER
IF_CPP
Test, Analysis, Review

Compare integer-supported rows with integer arithmetic, include signs, constants, homogeneous GCD reduction, all construction/insertion forms, canonical descriptor queries and reload. Check rejection before value updates for unsupported bulk input.

LLR
6
PPL-LLR-000452
PPL-LLR-000452
Strict mixed-integer feasibility

PPL shall provide a C++ exact feasibility query for finite systems of linear equalities and weak or strict inequalities with a selected subset of integer coordinates. Under the input, dimension and arithmetic preconditions, true shall mean that at least one point satisfies every row and integer restriction; false shall mean none exists. No positive fixed numerical tolerance shall replace strict satisfaction. When a feasibility witness is requested, a true result shall provide a point satisfying every original row and integer restriction; a false result shall preserve the supplied witness.

A closed relaxation can admit points or integer layers excluded by strict boundaries. A continuous slack variable tests simultaneous positive slack without changing the integer subset. Its positive maximizing point also supplies an exact feasibility witness.

APPROVED
MIP_SOLVER
IF_CPP
Test, Analysis, Review

Compare strict intervals, empty integer intervals, mixed-coordinate slices and excluded integer layers with independent reasoning and slack optimization. Exercise source preservation, constants, unsupported index sets and auxiliary dimension limits. Independently evaluate returned witness coordinates and verify that false preserves the prior witness.

LLR
7
PPL-LLR-000456
PPL-LLR-000456
General strict mixed-integer optimization

PPL shall provide C++ optimization over finite systems of linear equalities and weak or strict inequalities with a selected subset of integer coordinates. Under the input, dimension and configured-arithmetic preconditions, a completed request shall distinguish infeasibility, feasible unboundedness in the requested direction, an attained finite optimum, and an unattained finite bound. A finite bound shall be returned as an exact rational value. An attained result shall provide a feasible optimizing point; an unattained result shall provide a limit point with the reported objective value in the closure of a nonempty original fiber at its integer coordinates. Infeasible and unbounded results shall preserve the supplied value and point outputs. Inputs shall retain their values. No fixed positive numerical tolerance shall replace strict satisfaction.

Closing strict boundaries can introduce entirely infeasible integer layers. A limit is valid only when it is approachable while retaining its integer coordinates in the original feasible set. A rational closed auxiliary model can represent exactly those valid limits, followed by a separate attainment query in the original strict system.

Meyer74 | Abstract (rational constraint coefficients suffice for attainment in feasible bounded closed mixed-integer problems).

APPROVED
MIP_SOLVER
IF_CPP
Test, Analysis, Review

Check both optimization directions, all four outcomes, rational bounds, constant objectives and zero dimensions. Include closure-only integer layers and unbounded integer ranges. Compare bounded integer fibers with independent polyhedral optimization, evaluate every returned point and objective directly, and establish nonempty original fibers for returned limits. Exercise range and capacity rejection, output/input preservation and allocation failures.