Parma Polyhedra Library requirements
C++ Integer-supported strict MIP admission

C++ Integer-supported strict MIP admission

1. Integer-supported strict MIP admission
UID: PPL-SPEC-001668
STATUS: APPROVED
COMPONENT: MIP_SOLVER
APPLICABILITY: IF_CPP
VERIFICATION_METHODS: Test, Analysis, Inspection
LANGUAGE: CPP
VISIBILITY: Public
RELATIONS (Parent):
STATEMENT:

A strict row ax + b > 0 shall be admitted by MIP_Problem construction and insertion exactly when every coordinate with nonzero coefficient in a is in the declared integer subset. Unused continuous coordinates shall not prevent admission. Constructors without an integer subset shall therefore admit only strict constant rows. Dimension validation shall precede normalization. Unsupported support shall raise std::invalid_argument.

Under the arithmetic preconditions, the admitted row shall be stored as an integer-equivalent closed row. For positive homogeneous GCD g, its meaning shall be (a ⁄ g)x ≥ ⌊ − b ⁄ g⌋ + 1; constant rows shall retain their truth value. Constraint views and reloadable storage shall expose these canonical closed rows in admitted input order. Integer declarations shall restrict the selected coordinates to integers. Optimization results and witnesses shall satisfy 🔗 2. Mixed integer optimization outcomes, 🔗 4. Mixed integer feasible witness access and 🔗 5. Mixed integer optimal witnesses and values.

Single-row validation/conversion failure shall not append a row. Bulk strict support validation and conversion shall complete before any row is appended. A later allocation failure may leave an appended prefix with provisional solution state; known infeasibility shall remain valid. Input descriptors shall be preserved.

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.

RATIONALE:

An integer-valued primitive form is strictly greater than  − b ⁄ g exactly when it is at least ⌊ − b ⁄ g⌋ + 1. Dividing before adjusting the constant avoids unnecessary coefficient growth, such as 3x − 128 > 0 becoming x ≥ 43. Nonstrict input retains its existing admission path; strict-only work is outlined.

INTERFACE:

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library.

The constructors in 🔗 3. Mixed integer construction from constraints and the following members:

void MIP_Problem::add_constraint(const Constraint&);
void MIP_Problem::add_constraints(const Constraint_System&);
VERIFICATION_CRITERIA:

Check integer truth tables, constant true/false rows, partially integral support, trailing zero coordinates, canonical views, cached feasible/infeasible/optimized states, all constructor forms, single-pass ranges, invalid dimensions, bulk validation before append, resource-failure state validity, reload and C-wrapper forwarding.

SOURCE:

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