C++ Strict mixed-integer feasibility witnesses
- 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 three-argument is_mixed_integer_satisfiable shall report the exact feasibility defined by 🔗 1. Exact strict mixed-integer feasibility, preserving both inputs. True shall assign a POINT of the original ambient dimension that satisfies every original row and designated integrality restriction. False shall preserve the supplied witness. The output shall own its representation independently of the local solver.
Index validation, dimension capacity, exact normalization of integer-supported strict rows and the positive shared-slack criterion shall be those of 🔗 1. Exact strict mixed-integer feasibility. Closed systems and systems whose strict rows all have integral support shall require no auxiliary slack coordinate. With remaining strict rows, a positive optimum shall supply the maximizing point, projected off that slack coordinate; optimum zero or infeasibility shall return false. Empty systems, zero dimensions and constant rows shall retain their ordinary mathematical meanings.
The initialization, lifetime, synchronization, configured-arithmetic and exceptional-completion conditions of 🔗 1. Optimization and ranking valid use shall apply. The false-result preservation guarantee shall not strengthen those common guarantees for exceptions during solving, copying or output assignment.
A strictly feasible point has a positive minimum slack across the finitely many strict rows. Conversely, every positive shared-slack point satisfies them all. Copying the resulting point before destruction of the local solver and removing the auxiliary coordinate produces an independently owned witness in the original space.
Public header: <ppl.hh>; namespace Parma_Polyhedra_Library.
bool is_mixed_integer_satisfiable(const Constraint_System& cs, const Variables_Set& integer_dimensions, Generator& witness);
Check closed, integral-strict and continuously strict feasible/infeasible systems, both coefficient signs, equalities, mixed and empty integer subsets, constants, zero dimensions, rational slacks and invalid dimensions. Compare with independent bounded integer-fiber enumeration and evaluate witnesses using GMP rational arithmetic. Verify false-result and input preservation, source independence, and valid state under allocation failures.
src/MIP_Problem_defs.hh; src/MIP_Problem.cc; tests/MIP_Problem/strictwitness1.cc; tests/MIP_Problem/strictwitnessfailure1.cc.