Parma Polyhedra Library requirements
C++ Strict mixed-integer feasibility witnesses
1. Exact strict mixed-integer feasibility witnesses UID: PPL-SPEC-001680 STATUS: APPROVED COMPONENT: MIP_SOLVER APPLICABILITY: IF_CPP VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: CPP VISIBILITY: Public RELATIONS (Parent): STATEMENT:

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.

RATIONALE:

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.

INTERFACE:

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

bool is_mixed_integer_satisfiable(const Constraint_System& cs,
                                 const Variables_Set& integer_dimensions,
                                 Generator& witness);
VERIFICATION_CRITERIA:

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.

SOURCE:

src/MIP_Problem_defs.hh; src/MIP_Problem.cc; tests/MIP_Problem/strictwitness1.cc; tests/MIP_Problem/strictwitnessfailure1.cc.