C++ Exact strict mixed-integer feasibility
- PPL-LLR-000452 Strict mixed-integer feasibility (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
A successfully completed is_mixed_integer_satisfiable(cs, integer_dimensions) shall return true exactly when {x ∈ Rn ∣ cs(x), xi ∈ Z for selected i} is nonempty, where n is the system's ambient dimension. Other coordinates shall remain real, and every strict boundary shall retain its membership meaning. The inputs shall be preserved.
A selected index outside that dimension shall raise std::invalid_argument. The ordinary MIP dimension limit shall apply. If a strict row depends on a continuous coordinate, one additional continuous coordinate shall be required; insufficient dimension capacity shall raise std::length_error. Integer-supported strict rows shall use exact closed normalization without requiring that extra coordinate. Empty selections, empty systems, zero dimensions and constant rows shall retain their mathematical meanings.
For remaining strict rows aix + bi > 0, feasibility shall be decided by a shared continuous slack s, with aix + bi ≥ s, 0 ≤ s ≤ 1, and exact maximization of s. Integer indices shall remain unchanged and shall exclude s. Infeasibility or optimum zero shall yield false; a positive exact optimum shall yield true. This interface shall not optimize an arbitrary user objective over an open feasible set.
The underlying mixed-integer search shall follow the equality divisibility and interruption conditions of 🔗 1. Mixed integer satisfiability.
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.
Any strict witness has a positive minimum slack across the finitely many strict rows; taking its minimum with one gives a feasible positive s. Conversely, a positive slack witness satisfies every original strict row. The slack objective is bounded by one. Closing integer-supported rows first avoids unnecessary auxiliary dimensions and optimization. The comparisons use exact rational values, not a chosen floating-point epsilon.
Public header: <ppl.hh>; namespace Parma_Polyhedra_Library.
bool is_mixed_integer_satisfiable(const Constraint_System& cs, const Variables_Set& integer_dimensions);
Check independent always-slack and literal finite-coordinate witnesses, closed and open unit intervals, incompatible integer declarations, mixed slices with only closure-feasible integer layers, rational positive slacks, false/tautological constants, input preservation. Review dimension-capacity rejection through the checked dimension-growth operation.
src/MIP_Problem_defs.hh; src/MIP_Problem.cc; tests/MIP_Problem/strictfeasibility1.cc.