We introduce a very natural generalization of the well-known problem of simultaneous congruences. Instead of searching for a positive integer $s$ that is specified by $n$ fixed remainders modulo integer divisors $a_1,\dots,a_n$ we consider remainder intervals $R_1,\dots,R_n$ such that $s$ is feasible if and only if $s$ is congruent to $r_i$ modulo $a_i$ for some remainder $r_i$ in interval $R_i$ for all $i$. This problem is a special case of a 2-stage integer program with only two variables per constraint which is is closely related to directed Diophantine approximation as well as the mixing set problem. We give a hardness result showing that the problem is NP-hard in general. By investigating the case of harmonic divisors, i.e. $a_{i+1}/a_i$ is an integer for all $i<n$, which was heavily studied for the mixing set problem as well, we also answer a recent algorithmic question from the field of real-time systems. We present an algorithm to decide the feasibility of an instance in time $\mathcal{O}(n^2)$ and we show that if it exists even the smallest feasible solution can be computed in strongly polynomial time $\mathcal{O}(n^3)$.
翻译:我们非常自然地概括了众所周知的同时一致性问题。 我们不是寻找正整数美元, 而是寻找美元固定余额的正整数美元, 以美元标出, 以美元标出, 以美元标出, 以美元标出, a_ 1,\\ dots, a_ n$, 我们考虑余下间隔 $_ 1, R_ n$, 这样美元才可行, 只有当美元与美元标出, 以美元标出, 以美元标出, 以美元标出, 以美元标出, 以美元标出, 以美元标出, 美元标出, 美元标出, 美元标出, 美元标出, 美元 美元标出, 美元 美元标出, 美元 美元标出, 美元 美元标出, 美元 以美元标出 。