Parma Polyhedra Library requirements
C++ Bounded Chvatal half-pair refinement

C++ Bounded Chvatal half-pair refinement

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-001666
PPL-SPEC-001666
Bounded Chvatal half-pair refinement

refine_with_chvatal_cuts(max_pair_tests) shall first perform the existing all-coordinate drop_some_non_integer_points() with its default complexity. For a nonempty result and positive budget, it shall inspect at most max_pair_tests distinct unordered pairs of nonstrict inequalities from that result's minimized constraint description, in nested iterator order. Equalities shall not consume the pair budget. All pairs shall refer to that entry description; cuts shall be applied together after pair examination, without iterating the cutting pass.

For a pair ax + b ≥ 0, cx + d ≥ 0, it shall add ((a + c) ⁄ 2)x + ⌊(b + d) ⁄ 2⌋ ≥ 0 when the summed normal is componentwise even and the summed constant is odd. Pairs with an even constant or any odd summed normal coordinate shall add no cut. Ambient dimension and closed topology shall be preserved. The result shall be a subset of the entry set and contain every entry point in Zn.

Zero budget shall perform only the existing tightening. Empty shall remain empty. The budget shall bound pair examination, not minimization or conversion work. A finite budget may produce different refinements for different minimized-row orders; no exact integer hull or representation-independent budgeted result shall be promised.

The initialization, lifetime, synchronization, coefficient-profile and failure conditions of 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions. No general rollback after an arithmetic or resource exception is required beyond that common contract.

Adding two valid inequalities and dividing by two gives ((a + c) ⁄ 2)x + (b + d) ⁄ 2 ≥ 0. If the normal is integral, its value at x ∈ Zn is an integer, so flooring the constant retains every integer solution. An even constant gives an already implied real inequality; an odd normal does not justify this rounding. The triangle x ≥ 0, y ≥ 0, x + y ≤ 1,  − x + y ≤ 0 yields y ≤ 0 from the last two inequalities, excluding (1 ⁄ 2, 1 ⁄ 2) retained by separate-row tightening. New cuts need not describe the complete integer hull.

Chvatal73DM | Whole work (Chvatal cutting-plane background). NemhauserW88 | Whole work (integer-programming background).

APPROVED
POLYHEDRA
IF_CPP
Test, Analysis, Inspection

Derive literal cuts and independently enumerate integer witnesses in translated/reflected triangles. Compare the examined prefix with a public-API pair oracle, including negative-odd floor, odd-normal/even-constant rejection, equality rows, exact budget exhaustion, zero budget, empty, zero-dimensional, affine and unbounded cases. Check no enlargement, reload and repeated refinement.

src/C_Polyhedron_defs.hh; src/C_Polyhedron.cc; tests/Polyhedron/chvatalcuts1.cc; doc/definitions.dox.

CPP
Public

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library; member of C_Polyhedron.

void refine_with_chvatal_cuts(dimension_type max_pair_tests);