Rational-input integer programming #
Theorem 2.17 of the January 8, 2007 web draft of [AB07], printed p. 52 / PDF p. 68,
asks whether rational linear inequalities admit a nonnegative integer assignment.
RationalIntegerProgram.Feasible states this problem, with unary dimension and binary rational
numerators and denominators. Lists are padded with zero or truncated to the declared dimension;
all supplied coefficients are charged in the encoding.
clearDenominators multiplies each row by the product of its positive denominators (including
the right-hand side), then adds nonnegativity rows. satisfies_clearDenominators_iff preserves
exactly the integer assignments, with no new unknowns. Binary product, division and multiplication
certificates prove polynomial time, including the bit cost of the denominator products.
NP membership follows from the integer-input small-solution theorem. Hardness reuses the
zero-one reduction to integer inequalities, casting its coefficients to rationals.
Main results #
RationalIntegerProgram.satisfies_clearDenominators_iff: preservation of each assignment.RationalIntegerProgram.computableInPolyTime_clearDenominators: certified denominator clearing.RationalIntegerProgram.npComplete: the rational-input problem is NP-complete.
The tuple of the fields of encInequality.
Framed list of binary rationals followed by the binary rational bound. Each rational uses its reduced signed-binary numerator, framed, followed by its positive binary denominator.
Rational linear inequalities whose unknowns range over nonnegative integers.
- numVars : ℕ
Number of variables, charged in unary.
- constraints : List Inequality
The rational inequality rows.
Instances For
The tuple of the fields of enc.
Unary dimension, framed, then a framed list of rows under encInequality.
Rational coefficients use explicit signed-binary numerators and positive binary denominators.
Feasibility with nonnegative integer coordinates, as in draft Theorem 2.17.
Clear each row by its positive denominator product, including the bound, and append
-x j ≤ 0 for every variable. The dimension and integer solution set are preserved.
Denominator clearing does not introduce auxiliary variables.
Denominator clearing preserves exactly the nonnegative integer assignments, with no change of dimension. In particular it does not substitute rational witnesses for integer ones.
Native polynomial-time denominator clearing, charging the binary sizes of products.
The explicit denominator-clearing many-one reduction to integer-input feasibility.
Rational-input integer programming with nonnegative integer unknowns is NP-complete ([AB07], January 8, 2007 draft, Theorem 2.17, printed p. 52 / PDF p. 68). The explicit encoding uses unary dimension and binary reduced numerators/denominators.