C++ Selected-coordinate integer-point existence
|
Type
|
Level
|
MID
|
UID
|
REFS
|
Title
|
Statement
|
Rationale
|
Comment
|
BIBLIOGRAPHY
|
STATUS
|
COMPONENT
|
APPLICABILITY
|
VERIFICATION_METHODS
|
VERIFICATION_CRITERIA
|
SOURCE
|
LANGUAGE
|
VISIBILITY
|
INTERFACE
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
SW_SPEC
|
1 |
|
|
Parents:
|
Incoming link from:
2. C generated domain observations
1 |
A successfully completed contains_integer_point(integer_dimensions) shall return true exactly when the entry polyhedron contains a point whose selected coordinates are integers. Other coordinates shall remain real, and excluded NNC boundaries shall not be introduced. Empty selection shall test nonemptiness; selecting all coordinates shall have the existing 🔗 5. Exact integer-point existence in polyhedra meaning. A selected index outside the ambient dimension shall raise std::invalid_argument before querying or normalizing the receiver. The represented value shall be preserved; logically const constraint extraction may normalize caches under 🔗 2. Equivalent borrowed polyhedral descriptions. If a required mixed feasibility encoding exceeds the MIP dimension limit, std::length_error shall be raised under 🔗 1. Exact strict mixed-integer feasibility. When the query uses the mixed-integer solver, the equality divisibility and interruption conditions in 🔗 1. Mixed integer satisfiability shall apply. The initialization, lifetime, synchronization, arithmetic-profile and failure conditions of 🔗 1. Polyhedral values, coefficient profile and 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. |
For x = 0, y = 1 ⁄ 2, selecting only x admits the point, while requiring both coordinates to be integral does not. The all-coordinate case can reuse the established integer-point algorithm; proper subsets use exact mixed feasibility with the original boundary conditions. |
|
|
|
|
|
Check rational singleton enumeration, strict integer-empty intervals with feasible unselected real coordinates, all/empty masks, empty/universe and zero dimensions, both topologies, pending constraints and generators, reload, source-value preservation and rejected indices. |
src/Polyhedron_defs.hh; src/Polyhedron_public.cc; tests/Polyhedron/selectedinteger1.cc. |
|
|
Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. bool Polyhedron::contains_integer_point( const Variables_Set& integer_dimensions) const; |