Parma Polyhedra Library requirements
C++ Strict-row support and admission kernels

C++ Strict-row support and admission kernels

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
SW_SPEC
1
PPL-SPEC-001671
PPL-SPEC-001671
Strict-row support and admission kernels

mip_strict_support_is_integral shall return true exactly when all nonzero visible variable coefficients of the supplied row of any relation refer to indices in the supplied integer subset. It shall ignore the constant, hidden NNC epsilon coordinate and zero coefficients, without changing either input.

For an integer-supported strict row, mip_closed_integral_strict shall produce the closed equivalent defined in 🔗 1. Integer-supported strict MIP admission, handling constant truth values separately. Its GCD, quotient and adjustment operations shall satisfy the selected exact arithmetic profile's intermediate-value preconditions. Inputs shall retain their value.

add_integral_strict_constraint requires dimension compatibility and a strict input. It shall validate support, convert, append and invalidate any cached non-infeasibility conclusion. Validation, conversion or pre-append allocation failure shall preserve the model.

add_integral_strict_constraints requires dimension compatibility and a system containing strict rows. It shall validate and convert all strict rows before appending any source row. Conversion failure shall preserve the model; subsequent append failure may leave a prefix with provisional solution state. Both helpers shall preserve known infeasibility.

The initialization, lifetime, synchronization, arithmetic-profile and failure conditions of 🔗 1. Optimization and ranking valid use shall apply, including intermediate calculations. No general rollback after resource or arithmetic exceptions is required beyond those common conditions and the explicit guarantees above.

Nonzero traversal makes support checking depend on represented coefficients rather than sparse ambient extent. A positive GCD permits exact divisibility testing without another GCD or a signed minimum divided by minus one. Preconversion isolates strict validation from model mutation.

APPROVED
MIP_SOLVER
IF_CPP
Test, Analysis, Inspection

Exercise equality, weak and strict row support, every sign/divisibility combination, empty and mixed support, sparse trailing coordinates, constant truth, homogeneous GCD one/non-one, canonical integer equivalence, rejected support and append-failure cache validity through the public APIs.

src/MIP_Problem.cc; src/MIP_Problem_defs.hh; tests/MIP_Problem/integralstrict1.cc; tests/MIP_Problem/strictoptimizationpolicy1.cc.

CPP
Internal

File-local helpers: unnamed namespace in src/MIP_Problem.cc. Private member declarations: src/MIP_Problem_defs.hh, class Parma_Polyhedra_Library::MIP_Problem.

bool mip_strict_support_is_integral(const Constraint&, const Variables_Set&);
Constraint mip_closed_integral_strict(const Constraint&);
void MIP_Problem::add_integral_strict_constraint(const Constraint&);
void MIP_Problem::add_integral_strict_constraints(const Constraint_System&);