Skip to main content
Top
Published in: Acta Informatica 4/2022

Open Access 04-08-2022 | Original Article

On the decidability of finding a positive ILP-instance in a regular set of ILP-instances

Author: Petra Wolf

Published in: Acta Informatica | Issue 4/2022

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The regular intersection emptiness problem for a decision problem P (\({{\textit{int}}_{{\mathrm {Reg}}}}\)(P)) is to decide whether a potentially infinite regular set of encoded P-instances contains a positive one. Since \({{\textit{int}}_{{\mathrm {Reg}}}}\)(P) is decidable for some NP-complete problems and undecidable for others, its investigation provides insights in the nature of NP-complete problems. Moreover, the decidability of the \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem is usually achieved by exploiting the regularity of the set of instances; thus, it also establishes a connection to formal language and automata theory. We consider the \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem for the well-known NP-complete problem Integer Linear Programming (ILP). It is shown that any DFA that describes a set of ILP-instances (in a natural encoding) can be reduced to a finite core of instances that contains a positive one if and only if the original set of instances did. This result yields the decidability of \({{\textit{int}}_{{\mathrm {Reg}}}}\)(ILP).
Notes
The conference version of this work appeared in [36].

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

1 Introduction

The problem Integer Linear Programming (ILP for short) asks whether a given set of inequalities with integer coefficients has an integer solution. ILP is among the first problems for which NP-hardness was shown (it is on Karp’s original list of 21 NP-complete problems [14]), and it is of great practical relevance in mathematical optimization [13, 21, 22, 26]. There are a large number of academic prototypes as well as commercial implementations of ILP-solvers that are applied in various contexts [5, 11, 19, 20]; therefore, ILP is arguably of similar importance as the well-known Boolean satisfiability problem. For recent theoretical papers on ILP  see, e. g., [7, 8].
Linear and Integer Linear Programs are often used to model observations of the real world under the assumption that some properties are present. Important fields of applications are for example image segmentation [16] and motion segmentation [17]. These models often face uncertainties due to lack of information or measurement errors [12]. One possibility to handle this problem is to take every possible instance into account, in which the uncertainty is replaced by an actual value, and ask whether one of them is solvable. In doing so, we get a potentially infinite set of instances under which we seek a solvable one. For example, suppose we have a system of two inequalities \(a_{11} x_{1} + a_{12} x_2 \le b_1\) and \(a_{21} x_1 + a_{22} x_2 \le b_2\) with two integer variables \(x_1\) and \(x_2\) and only partial knowledge of the coefficients \(a_{11}, a_{12}, b_1, a_{21}, a_{22}, b_2\). Due to measurement inaccuracies, all we know is that \(a_{11}\) is a power of 2; \(a_{12}\) is even and negative; \(b_1\) is positive and less than 100; \(a_{21}\) is congruent to 3 modulo 29; \(a_{22}\) is 1 less than an odd power of 2; and \(b_2\) is negative. The described inequalities form an infinite family of inequalities, and the described system represents an infinite family S of instances of ILP. Since each coefficient fits a regular pattern, a DFA can describe the encodings of exactly the instances in S.
Compact representations of finite sets of instances have already been considered for other problems. In graph modification,1 the task is to transform a given graph using a given set of edit operations into a graph of a certain graph-family using as few operations as possible [2, 18]. The possible edit operations give rise to an edit distance [9] with respect to the set of graphs; thus, the above-described task can be seen as checking whether the set of all graphs within a certain distance from the given graph contains a member of the specified graph-family. The same can be done for string-problems where a given string is to be transformed (by using certain operations) into a target string [4, 34]. The \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem concerning graph problems and graph properties was recently considered in [6, 38], where several general decidability results were obtained.
Searching for a positive instance among infinitely many instances of a problem P seems to be a natural generalization of this setting. If we consider regular sets of instances, this task can be formalized as checking whether a given regular language of P-instances (represented by a deterministic finite automaton) and the fixed language of positive P-instances have a non-empty intersection. This was the original viewpoint of the line of research introduced by Güler et al. [6, 10, 35, 36, 38], where this problem is called the \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem of P (or \({{\textit{int}}_{{\mathrm {Reg}}}}\)(P) for short).2
The \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem has independently been studied under the name regular realizability problem RR(L), where the filter language L plays the role of problem P as defined above, i. e., \(RR(L) = {{\textit{int}}_{{\mathrm {Reg}}}}(L)\) (see [1, 2325, 27, 3032]). The RR problem appeared when considering models of generalized nondeterminism (GNA) where an auxiliary memory is used as a source of nondeterminism [29]. For each GNA class, there are complete RR(L) problems where the filter language L consists of prefixes of GNA-certificates (or guess words) [30]. That fact already gives RR-problems which are complete under log-space reductions for LOG, NLOG, P, NP, PSPACE, EXP, and \(\Sigma _1\). This observation motivated the attempt to present with the RR-problem ‘a specific class of algorithmic problems that represents complexities of all known complexity classes [...] in a unified way’ [31]. It turned out that RR-problems are universal in the sense that for any problem P, there exists an RR-problem RR(L) with the same complexity under disjunctive reductions in nondeterministic log-space (note that P and L are different languages). Recently, the RR problem of protocols of one-way and two-way finite automata equipped with an auxiliary data structure was studied [25].
In [32], instead of focusing on which complexity classes can be covered by an RR-problem, the authors concentrate on context-free filter languages and present examples for which RR(L) is either P-complete, NLOG-complete or has an intermediate complexity. In [27], the decidability of the RR-problem with languages of permutations of binary words as filters was considered. In this line of research, the filter languages are closely related to computations of specific machine models. As a consequence, the regularity of the input language is not exploited at all and the hard part of a problem is coded into regular languages consisting of single words only. In [31], the author notes that the presented reductions ‘cut off almost all properties of regular languages’.
In [1], \({{\textit{int}}_{{\mathrm {Reg}}}}(L)\) was studied for L with low computational complexity, but which describe structural properties of words that have high relevance for combinatorics on words and formal language theory (e.g., set of primitive words, palindromes, etc.). In this regards, (efficient) decision procedures are obtained.
In contrast to these research questions, the line of work initiated in [10, 35] focuses on classical (hard) computational problems as filter languages and respective decision procedures heavily take advantage of the regularity of the set of input instances. Investigating the \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem for NP-complete problems shows that the decidability of their \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem is not trivial, e. g., \({{\textit{int}}_{{\mathrm {Reg}}}}(\textsc {SAT})\) is decidable [10], whereas \({{\textit{int}}_{{\mathrm {Reg}}}}(\textsc {Bounded Tiling)}\) is not [35, 37].3 This is particularly interesting because the original hardness proofs of SAT and Bounded Tiling are both given by directly encoding Turing-machine computations into a problem instance [3, 28]. Finding a generic characterization of NP-complete problems with a decidable \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem is still an open problem. This work continues this line of research, and we will focus on the NP-complete integer linear programming problem as the filter language, i. e., we investigate the problem \({{\textit{int}}_{{\mathrm {Reg}}}}(\text { ILP})\).
Our main result is that \({{\textit{int}}_{{\mathrm {Reg}}}}(\text { ILP})\) is decidable. The idea is to transform the given DFA that represents the regular set of instances into a condensed one that accepts a finite set of instances, such that the condensed set contains a positive instance if and only if this is the case for the original set.4 This is done by first identifying for all pairs of states the set of coefficients that can be read between these two states, and then choosing a finite number of representatives for each such set of coefficients (in a sense, these are the coefficients that are ‘most promising’ regarding possible solutions). Then, again for all pairs of states, we identify a set of whole inequalities that can be read between these two states and that only have coefficients from the set of ‘promising’ coefficients constructed before. Finally, we will again choose suitable representatives for those sets of inequalities, from which we will construct the desired condensed automaton. We will also give bounds on the number and length of words accepted by the condensed automaton and, in the conclusions, discuss the chosen encoding and present an alternative encoding. The presented arguments can easily be adapted to prove the decidability of the \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem for Linear Programming (with integer coefficients).

2 Preliminaries

We assume the reader to be familiar with the basics of formal language theory and the complexity class NP. For a language descriptor A (e. g., regular expressions or automata), L(A) denotes the language described by A. With [n], \(n\in \mathbb {N}\), we denote the set \(\{1,\dots ,n\}\). A deterministic finite automaton (DFA) A is a tuple \((Q, \Sigma , \delta , q_0, F)\) where Q is a finite set of states, \(\Sigma \) a finite alphabet, \(\delta :Q \times \Sigma \rightarrow Q\) the (partial) transition function, \(q_0\) the start state, and F is the set of final states. The transition function \(\delta \) extends to the function \(\delta ^{*} :Q \times \Sigma ^{*} \rightarrow Q\) in the usual way. We will only consider partial automata where every state is coaccessible, i. e., from every state, some final state is reachable.
We first give a formal definition of the problem Integer Linear Programming. While the standard-form of ILP varies in different areas, we refer to the definition in [33] where this problem is called LIQ. We will refer to the described problem as ILP. The problem is NP-complete if we ask for solutions in \(\mathbb {Z}\) [33].
Definition 1
(ILP)
  • Given: Finite set \(\mathcal {A}\) of pairs \((\varvec{\alpha },\beta )\) where \(\varvec{\alpha } \in \mathbb {Z}^m\) and \(\beta \in \mathbb {Z}\).
  • Question: Is there an m-tuple \(\varvec{x} \in \mathbb {Z}^m\) such that \(\varvec{\alpha }^\intercal \cdot \varvec{x} \le \beta \) for all \((\varvec{\alpha },\beta ) \in \mathcal {A}\)?
The problem will be encoded in the following way. The whole set \(\mathcal {A}\) will be encoded in one word. For each pair \((\varvec{\alpha },\beta )\), the elements of \(\varvec{\alpha }\) and the \(\beta \)-value are encoded in binary over {0,1}. Each positive integer will be preceded with a \(+\), while each negative integer will be preceded with a −. The integers of \(\alpha \) will be separated from \(\beta \) by a \(\le \) symbol. The inequalities themselves are terminated by \(\$\)-symbols. Since we want to talk about regular languages of ILP-instances, we aim to have an encoding which is verifiable by a finite automaton. Therefore, we allow the inequalities of an ILP-instance to have different numbers of variables. The assignment of the coefficients to the variables is implicitly made by the order in which the coefficients occur. So, the ith encoded coefficient in an inequality refers to variable \(x_i\) and is referenced as the coefficient with index i. As the inequalities of an ILP-instance may have different numbers of coefficients, they are interpreted as filled up with coefficients zero until all inequalities have the same number of coefficients and hence the same number of variables. Alternative encodings are discussed in Sect. 6. More formally,
$$\begin{aligned} L_{\text {enc}} := L \left( \left( \left[ \$ | \left( [+|-][0 | 1 (0|1)^{*}] \right) ^{*} \le [+|-][0 | 1 (0|1)^{*}]\$ \right] \right) ^{*} \right) \end{aligned}$$
is the set of all encoded ILP-instances, and with \(\text { ILP}_{\text {enc}}\) we denote the set of all solvable encoded ILP-instances. As an example, consider the following integer linear program and one possible encoding:
$$\begin{aligned}&\big \{\left( (5,1,0,-7), 15\right) , \left( (0,-8,1,0), -4\right) , \left( (1,0,0,0), -1\right) \big \},\\&\quad +101+1+0-111\le +1111\,\$\ \, -0-1000+1\le -100\,\ \, +1\le -1\,\$\ \,. \end{aligned}$$
Note that coefficients zero can either occur with a \(+\) or a − sign.
The question we want to investigate is whether the set of solvable ILP-instances, encoded in the above-described way, and a regular language, given by an automaton, have a non-empty intersection.
Definition 2
(\({{\textit{int}}_{{\mathrm {Reg}}}}\)(ILP))
  • Given: Deterministic finite automaton A.
  • Question: Is \(L(A) \cap \text { ILP}_{\text {enc}} \ne \emptyset \)?

3 Construction of the condensed automaton

We will follow the ideas presented in [10] of investigating what kinds of loops can occur in the automaton without violating the encoding format, namely loops inside a coefficient, loops over whole coefficients, and loops over whole inequalities. There are several kinds of inequalities that can be processed by a finite automaton from states q to \(q'\):
  • inequalities with an infinite number of nonzero coefficients,
  • inequalities with a finite number of nonzero coefficients such that there exists a coefficient that can be an arbitrary large,
  • and inequalities with a finite number of nonzero coefficients such that all coefficients are bounded.
Inequalities of the first kind can always be satisfied as we explain in detail later. For the inequalities of the second and the third kind, we present an algorithm that collects representatives for the inequalities in a set \({\text {reps}}(\Xi _{q, q'})\). For the third kind, inequalities are added as they are and the decidability algorithm will just do the exhaustive search since there is only a finite number of such inequalities. For the second kind, the algorithm adds inequalities with the smallest possible absolute value of a coefficient to the set of representatives as well as inequalities of the form \((x_i > 0)\) or \((x_i < 0)\) for corresponding unbounded coefficient \(a_i\). We show that the satisfiability of an inequality from the set of representatives \({\text {reps}}(\Xi _{q, q'})\) leads to the satisfiability of an inequality from \(\Xi _{q, q'}\).
We will now go through the technicalities of finding the set of inequality representatives.
Definition 3
Let \(A = (Q, \Sigma , \delta , q_0, F)\) be a DFA. We define for all \(q, q' \in Q\) and \(s \in \{+, -\}\) the coefficient transition set \(\Lambda _{q,q'}^s\) and\(\beta \)- transition sets \(B^s_{q,q'}\) as
$$\begin{aligned} \Lambda _{q,q'}^{s}&= \big \{si \mid i \in \{0,1\}^{*} \wedge \exists \sigma \in \Sigma \backslash \{0,1,\$\}: \delta ^{*}(q, si) = q' \wedge \ \delta (q', \sigma ) \ne \emptyset \big \}.\\ B_{q,q'}^{s}&= \big \{si \mid i \in \{0,1\}^{*} \wedge \delta ^{*}(q, si) = q' \wedge \delta (q', \$) \ne \emptyset \big \}. \end{aligned}$$
Intuitively speaking, these transition sets contain all coefficients and \(\beta \)-values which can be completely read between q and \(q'\). Note that automata recognizing the transition sets are easily obtained from the original automaton. When \(q, q'\) and s are clear from the context, then we will simply write \(\Lambda \) and B.
We now want to find a set of representatives \({\text {reps}}(\Lambda )\) for each coefficient transition set \(\Lambda \). The set \({\text {reps}}(\Lambda )\) will contain only the smallest and largest coefficient, which in the following we will denote extreme coefficients, from the set \(\Lambda \). Since all inequalities are of the form \(\alpha _1 x_1 + \dots + \alpha _n x_n \le \beta \), increasing the absolute value of a positive summand \(\alpha _i x_i\) makes the inequality system harder to be solved, while decreasing it may only enlarge the set of solutions (correspondingly for negative summands). So, we only have to consider the largest and smallest coefficient \(\alpha _i\) contained in the coefficient transition set. The largest and smallest coefficient will correspond, in combination with a negative and positive \(x_i\) value, respectively, to the smallest negative and positive summand, respectively. If a coefficient transition set is infinite, it contains coefficients with an arbitrarily large magnitude, which we will represent by the meta-characters \(+ \infty \) and \(- \infty \) in order to indicate that we can replace them with large enough values. Similarly, if a \(\beta \)-transition set \(B_{q,q'}^+\) is infinite, we will use \(+\infty \)-symbol as a representative (indicating that we can find arbitrary large \(\beta \)-values and therefore such inequalities can be ignored), and for \(\beta \)-transition sets \(B_{q,q'}^-\) we choose the element with the smallest magnitude as representative.
In the following definition, the function \(\min \) returns from a subset of the language \(L( ( [+|-][0 | 1 (0|1)^{*}])^{*}) \) the string (if existent) with the smallest value when interpreted as a binary encoded integer with preceding sign, while \(\max \) returns the string with the largest value.
Definition 4
For transition sets \(\Lambda _{q,q'}^s\) and \(B_{q,q'}^s\), we define:
$$\begin{aligned}&{\text {reps}}(\Lambda _{q,q'}^+) := {\left\{ \begin{array}{ll} \{{\min }(\Lambda _{q,q'}^+), + \infty \}, &{} \text {if }|\Lambda _{q,q'}^+| = \infty \\ \{{\min }(\Lambda _{q,q'}^+),\, {\max }(\Lambda _{q,q'}^+)\}, &{} \text {otherwise,} \end{array}\right. }\\&{\text {reps}}(\Lambda _{q,q'}^-) := {\left\{ \begin{array}{ll} \{- \infty ,{\max }(\Lambda _{q,q'}^-)\}, &{} \text {if }|\Lambda _{q,q'}^-| = \infty \\ \{{\min }(\Lambda _{q,q'}^-),\, {\max }(\Lambda _{q,q'}^-) \}, &{} \text {otherwise,} \end{array}\right. }\\&{\text {reps}}(B_{q,q'}^+) := {\left\{ \begin{array}{ll} \{+ \infty \}, &{} \text {if }|B_{q,q'}^+| = \infty \\ \{{\max }(B_{q,q'}^+)\}, &{} \text {otherwise,} \end{array}\right. }\\&{\text {reps}}(B_{q,q'}^-) {:}{=} \{{\max }(B_{q,q'}^-)\}. \end{aligned}$$
Since the transition sets are given by finite automata, it can be checked whether they are finite or infinite. Recall that the elements in the transitions sets have no preceding zeros, i.e., the only elements with a letter 0 after the sign are \(+0\) and \(-0\). Hence, for a transition set \(\Lambda _{q,q'}^+\), the element \(\min (\Lambda _{q,q'}^+)\) is among the shortest words in \(\Lambda _{q,q'}^+\). Since \(\Lambda _{q,q'}^+\) is given by a DFA, the shortest words in the language are labels of simple paths in the automaton. Hence, we can enumerate the finitely many simple paths of the automaton in order to find the element \(\min (\Lambda _{q,q'}^+)\). Similarly, we can find \(\max (\Lambda _{q,q'}^-)\) among the shortest words of \(\Lambda _{q,q'}^-\).
The next step is to identify all inequalities which can be completely read in between two states and that only contain extreme coefficients, i. e., members from \({\text {reps}}(\Lambda )\) and \({\text {reps}}(B)\) as coefficients and \(\beta \)-values.
Definition 5
Let \(A = (Q, \Sigma , \delta , q_0, F)\) be a DFA with \(L(A) \subseteq L_\text {enc}\). For every pair of states \(q, q' \in Q\), we define the inequality transition set \(\Xi _{q,q'}\) as:
$$\begin{aligned} \Xi _{q,q'} = \Bigg \{s_1{i_1}s_2{i_2}\dots s_k{i_k} \le s_b j \$ \mid k \in \mathbb {N}, \exists p_0, \dots , p_{k+2} : \bigwedge ^{k}_{\ell = 1} s_\ell i_\ell \in {\text {reps}}(\Lambda _{p_{\ell -1}, p_\ell }^{s_\ell })\\ \wedge \, p_0 = q \,\wedge \delta (p_k, \le ) = p_{k+1} \wedge s_bj \in {\text {reps}}(B_{p_{k+1}, p_{k+2}}^{s_b})\wedge \delta (p_{k+2}, \$) = q' \Bigg \}. \end{aligned}$$
Now we want to pick finitely many representatives for every inequality transition set \(\Xi _{q,q'}\). From these representatives, we then build the condensed automaton \({\text {cond}}(A)\) which plays the crucial role in our main technical theorem stating that \(L(A) \cap \text { ILP}_{\text {enc}} \ne \emptyset \) if and only if \(L({\text {cond}}(A)) \cap \text { ILP}_\text {enc} \ne \emptyset \).
Some sets \(\Xi \) have the property that for any ILP-instance, we can find in \(\Xi \) an inequality that can be added to the instance without making it unsatisfiable. For those inequality transition sets, we simply choose \(\$\) as the representative to indicate that this transition set does not participate in the problem as we can always find a satisfiable inequality in it. Two types of inequality transition sets have this property. If \(\Xi _{q,q'}\) contains an inequality with an \(+\infty \)-symbol as \(\beta \)-value, then an inequality with an arbitrary high actual \(\beta \)-value can be read in between q and \(q'\). So, for every value of the left side of the inequality we can read an even larger right side. The other type of \(\Xi \) sets are those which contain inequalities with an unbounded number of nonzero coefficients. Recall that the \(\Xi \) sets only contain coefficients which are representatives of \(\Lambda \) sets and hence the number of different coefficients in all \(\Xi \) sets is finite. Hence, the only reason a \(\Xi \) set is infinite is because the number of coefficients in the inequalities can be arbitrarily large. Therefore, those inequality transition sets are exactly the sets which are infinite after we removed all inequalities ending with more than \(|Q| = n\) consecutive coefficients zero. By removing more than n consecutive coefficients zero from the end of the sum, we ensure that there is a nonzero coefficient under the last n coefficient. If the set is still infinite, we can find inequalities with nonzero coefficients with an arbitrary high index. Inequalities with more than n consecutive coefficients zero after the last nonzero coefficient can be ignored, because there is an equivalent inequality with less than n coefficients zero in the inequality transition set.
It remains to consider the case when the modified inequality transition sets are finite. In this case, we can iterate through the finitely many inequalities. Note that if an inequality \(\xi \) contains a coefficient \(\alpha _i = +\infty \) or \(\alpha _i=-\infty \), then we can replace this inequality with an inequality where \(\alpha _i\) has an arbitrarily high magnitude. Consider a solution vector \(\varvec{x}\) for \(\xi \). In the case that \(\alpha _i = +\infty \) and \(x_i < 0\), we can replace the inequality \(\xi \) with an inequality \(\xi '\) which is identical to \(\xi \) except for the coefficient \(\alpha _i\) which is replaced by an actual coefficient such that the term \(\alpha _i x_i\) is negative and dominates the inequality in the sense that \(\alpha _i x_i \le \beta - \sum _{j \ne i}{\alpha _j x_j}\). Hence, we know that for every solution vector \(\varvec{x}\) we can replace \(\xi \) by a satisfied inequality \(\xi '\) if \(x_i < 0\). For the case that \(x_i > 0\), we find the minimal coefficient with which we can replace \(\alpha _i\) in the respective coefficient transition set and hence can replace \(\alpha _i = +\infty \) in \(\xi \) by this value. Therefore, we can replace an inequality \(\xi \) containing at least one \(\infty \) coefficients by a set of inequalities where for every coefficient \(\alpha _i = + \infty \) the inequality \(x_i < 0\) and for every coefficient \(\alpha _i = - \infty \) the inequality \(x_i > 0\) is contained. The remaining inequalities not containing any \(\infty \) coefficient are simply added to the set of representatives for the inequality transition set. Recall that, whenever we chose a representative \(+\infty \) or \(-\infty \) for a coefficient transition set, then we also took the coefficient with the smallest absolute value \({\min }(\Lambda _{q,q'}^+)\) or \({\max }(\Lambda _{q,q'}^-)\) into the set of representatives. Hence, for each inequality in \(\Xi _{q, q'}\) containing an \(\infty \) symbol, there is a similar inequality in the set \(\Xi _{q, q'}\) where the \(\infty \) symbols are replaced with coefficients with smallest magnitude. This especially handles the edge case that a variable \(x_i\) with unbounded coefficient is set to zero.
With this considerations in mind, we define for each pair of states \(q, q' \in Q\) a set of representatives \({\text {reps}}(\Xi _{q,q'})\) for the inequality transition set \(\Xi _{q,q'}\). Let \(L_{\text {Val}} := L\left( [+|-]\left( [0 | 1 (0|1)^{*}]|\infty \right) \right) \) and let \(L_{\text {Trash}} := L((L_{\text {Val}})^{*}\) https://static-content.springer.com/image/art%3A10.1007%2Fs00236-022-00429-x/MediaObjects/236_2022_429_IEq178_HTML.gif . Then, the set \({\text {reps}}(\Xi _{q,q'})\) is computed by Algorithm 1 on input \(\Xi _{q,q'}\), given as a DFA.
Note that there are only finitely many sets \({\text {reps}}(\Xi _{q,q'})\) which are by construction all of a finite size.
We will now construct a condensed automaton which will have the finitely many inequalities, chosen as a representative, as its alphabet.
Definition 6
Let \(A = (Q, \Sigma , \delta , q_0, F)\) be a deterministic finite automaton with \(L(A) \subseteq L_{\text {enc}}\). We define \({\text {cond}}(A):= (Q, \Sigma ', \delta ', q_0, F)\) with the alphabet \(\Sigma ' = \bigcup _{q, q' \in Q} {\text {reps}}(\Xi _{q,q'})\) and \(\delta ' = \{(q, \xi , q') \mid \xi \in {\text {reps}}(\Xi _{q,q'}) \}\).
Lemma 3 will show that it is enough to consider simple paths in \({\text {cond}}(A)\).

4 Correctness of the condensed automaton

We will now present several lemmas which in the end will prove that \(L(A) \cap \text { ILP}_{\text {enc}} \ne \emptyset \) if and only if \(L({\text {cond}}(A)) \cap \text { ILP}_{\text {enc}} \ne \emptyset \). First, we will show that it is sufficient to consider only the largest and smallest coefficient which can be read in between two states.
Lemma 1
Let \(A = (Q, \Sigma , \delta , q_0, F)\) be a DFA, let \(w \in L(A) \cap \text { ILP}_{\text {enc}}\) with solution \(\varvec{x}\) and let \(\alpha _{ij}\) be the jth coefficient of the ith inequality of w. Let \(w = w'\alpha _{ij}w''\). If \(\alpha _{ij} = a_{ij}b_{ij}c_{ij}\), \(b_{ij} \ne \varepsilon \), and \(\delta ^{*}(q_0, w'a_{ij}) = \delta ^{*}(q_0, w'a_{ij}b_{ij})\), then the following holds:
1.
Assume \(x_j \ge 0\) and \(\alpha _{ij}\) has a \(+\) sign. Let \(w'\) result from w by replacing \(\alpha _{ij}\) with \(a_{ij}c_{ij}\). Then \(w' \in L(A) \cap \text { ILP}_{\text {enc}}\) and \(\varvec{x}\) is a solution for \(w'\).
 
2.
Assume \(x_j \ge 0\) and \(\alpha _{ij}\) has a − sign. Let \(w'\) result from w by replacing \(\alpha _{ij}\) with \(a_{ij}(b_{ij})^2c_{ij}\). Then \(w' \in L(A) \cap \text { ILP}_{\text {enc}}\) and \(\varvec{x}\) is a solution for \(w'\).
 
3.
Assume \(x_j \le 0\) and \(\alpha _{ij}\) has a \(+\) sign. Let \(w'\) result from w by replacing \(\alpha _{ij}\) with \(a_{ij}(b_{ij})^2c_{ij}\). Then \(w' \in L(A) \cap \text { ILP}_{\text {enc}}\) and \(\varvec{x}\) is a solution for \(w'\).
 
4.
Assume \(x_j \le 0\) and \(\alpha _{ij}\) has a − sign. Let \(w'\) result from w by replacing \(\alpha _{ij}\) with \(a_{ij}c_{ij}\). Then \(w' \in L(A) \cap \text { ILP}_{\text {enc}}\) and \(\varvec{x}\) is a solution for \(w'\).
 
Proof
The fact that \(w'\) is accepted by A follows from the definition of \(\alpha _{ij}\), which states that A is in the same state before and after reading the sub-word \(b_{ij}\). Therefore, \(b_{ij}\) can be pumped.
Since we know that \(\varvec{x}\) is already a solution for w we have to show that it remains a solution if we change one inequality in the described way. Recall that all considered inequalities are of the form \(\varvec{\alpha }^\intercal \cdot \varvec{x} \le \beta \).
In (1) \(x_j\), as well as its coefficient, are non negative integers satisfying the inequality. In \(w'\) the value of the coefficient \(\alpha _{ij}\) has decreased by removing \(b_{ij}\) (which is not empty) decreasing also the value of the summand \(a_{ij}c_{ij}\cdot x_j\), hence decreasing the sum of all summands in the inequality which has already been smaller than \(\beta \). Thus, the altered inequality of \(w'\) is also satisfied and since the other inequalities have not been altered, the ILP-instance \(w'\) is also satisfied by the solution \(\varvec{x}\).
In (2) the value of the summand \(\alpha _{ij}\cdot x_j\) is negative, hence increasing \(\alpha _{ij}\) decreases the value of the summand and therefore the value of the left side of the inequality. We do so by pumping \(b_{ij}\), therefore \(w'\) is also satisfied by \(\varvec{x}\).
Case (3) is analogical to (2) and case (4) is analogical to case (1).
This concludes the proof. \(\square \)
Next, we will focus on whole inequalities and show that restricting the inequalities in words from L(A) to the above-defined representatives does not affect the existence of a solvable ILP-instance in L(A). We already explained before the definition of the sets of representatives for inequality transition sets in Sect. 3 that for every solution vector \(\varvec{x}\) we can replace inequalities with a \(+\infty \) \(\beta \)-value by inequalities which are satisfied by \(\varvec{x}\). We further argued (and elaborated in Lemma 1) that for every solution vector \(\varvec{x}\) we can replace an inequality \(\xi \) with a \(+\infty \) or \(-\infty \) coefficient \(\alpha _i\) with an inequality \(\xi '\) where in dependence of the sign of the value of \(x_i\), this coefficient is replaced by an actual coefficient with the smallest absolute value in the respective coefficient transition set or with a coefficient with a large enough absolute value such that the following holds. If any inequality obtained by replacing \(\alpha _i\) by some coefficient from the respective coefficient transition set is satisfied by \(\varvec{x}\), then the obtained inequality \(\xi '\) is satisfied by \(\varvec{x}\). As we only need to maintain the existence of a solvable inequality system, it is safe to replace all inequalities obtained by replacing \(\alpha _i\) by the inequality \(\xi \) with a minimal absolute value of \(\alpha _i\) and the inequality demanding the right sign of the value of \(x_i\) in order to dominate the inequality by pumping the value of \(\alpha _i\).
With respect to inequality transition sets containing inequalities with arbitrarily high indexed nonzero coefficients, we will show next how to simultaneously replace such inequalities in a way that the replacements are satisfied by an extension of \(\varvec{x}\). So, if the ILP-instance is solvable without inequalities from sets \(\Xi \) which are represented by \(\$\)-symbols, then we can enlarge the instance and the solution to include those inequalities.
For the next lemma, we want to distinguish the infinite inequality transition sets without an unbounded \(\beta \)-value from the finite ones.
Definition 7
$$\begin{aligned} {\text {Inf}}_\Xi&:= \left\{ \Xi _{q,q'}\mid {\text {reps}}(\Xi _{q,q'}) = \{\$\}\wedge \Xi _{q,q'} \cap L\left( {L_{\text {Val}}}^{*}\le +\infty \$\right) = \emptyset \right\} \\ {\text {Fin}}_\Xi&:= \left\{ \Xi _{q,q'}\mid {\text {reps}}(\Xi _{q,q'}) \ne \{\$\}\right\} \end{aligned}$$
We will now find alternative representatives for the sets in \(\text {Inf}_\Xi \) such that if an ILP-instance consisting only of inequalities from the sets in \(\text {Fin}_\Xi \) has a solution \(\varvec{x}\), then we can extend the ILP-instance with any combination of alternative representatives of the sets in \(\text {Inf}_\Xi \), such that \(\varvec{x}\) can be extended to a solution of the extended ILP-instance (we shall prove this in Lemma 2). This shows that we can ignore inequalities from the sets in \(\text {Inf}_\Xi \), i. e., the ones with representative.
Definition 8
Let \(\sigma :[|\text {Inf}_\Xi |] \rightarrow \text {Inf}_\Xi \) be an arbitrary but fixed ordering of the sets in \(\text {Inf}_\Xi \). Let \(n := |Q|\) and \(\#_\pm (w)\) denote the number of signs in an inequality w. The function \(\underset{{\text {lex}}}{\min }\) returns the lexicographical minimal element of a set.5 For every \(1 \le i \le |\text {Inf}_\Xi |\) we define for the inequality transition set \(\sigma (i)\) in \(\text {Inf}_\Xi \) a set ofalternative representatives arep as
$$\begin{aligned} arep (\sigma (i)) \leftarrow \underset{{\text {lex}}}{\min }\left( \{w \in \sigma (i) \mid (i+1)\cdot n < \#_\pm (w) \le (i + 2)\cdot n \}\right) . \end{aligned}$$
For each fixed i the assignment of \( arep (\sigma (i))\) in the above definition can be determined by computing the intersection of two regular sets given by DFAs, yielding a finite language. This finite language can be enumerated in order to find the lexicographical minimal element. The idea is to pick inequalities as alternative representatives which together form a matrix in row echelon form. For every inequality we assign the variable \(x_k\) with the highest indexed nonzero coefficient \(\alpha _k\) with a value of which magnitude is large enough, such that the summand \(\alpha _kx_k\) dominates the inequality. An inequality in the sets of \(\text {Fin}_\Xi \) can only consist of up to \(n = |Q|\) different coefficients. The definition of \( arep (\Xi )\) ensures that the representatives of \(\Xi \in \text {Inf}_\Xi \) contain more coefficients than any representative of the finite inequality transition sets. It also ensures that the number of coefficients contained in the representing inequality is strictly monotonously rising with the order \(\sigma \). Especially, the index of the highest nonzero coefficient of \( arep (\sigma (i+1))\) is higher than the index of the highest nonzero coefficient of \( arep (\sigma (i))\).
Lemma 2
Let w be a solvable ILP-instance consisting only of inequalities from sets in \(\text {Fin}_\Xi \). Let \(\varvec{x}\) be a valid solution of w. Then, for every ILP-instance \(w'\) consisting of w and additional inequalities from \(\{ arep (\Xi ) \mid \Xi \in \text {Inf}_\Xi \}\) the vector \(\varvec{x}\) can be extended to a solution \(\varvec{x}'\) of \(w'\).
Proof
Let \(\varvec{x} = (x_1, x_2, \dots , x_i)\), let m be the number of variables in \(w'\), and let \( var\text {-}set (\xi )\) be a function returning the variables appearing in the inequality \(\xi \) with a nonzero coefficient. Let \( coeff (\xi , y_j)\) denote the coefficient of variable \(y_j\) in the inequality \(\xi \), let \( value (y_j)\) denote the assigned value \(x_j\) of the variable \(y_j\) in the constructed solution \(\varvec{x}'\), and let \( \beta (\xi )\) refer to the right side \(\beta \) of the inequality \(\xi \). Algorithm 2 assigns values to the new variables \(y_{i+1}, y_{i+2}, \dots , y_{m}\) appearing in \(w'\) such that \(\varvec{x}' = (x_1, \dots , x_i, x_{i+1}, \dots , x_m)\) is a solution of the instance \(w'\) and works as follows.
We go through the inequalities appearing in \(w'\) which have been chosen as alternative representatives for the sets in \(\text {Inf}_\Xi \) in the same order as when we assigned the representatives. Thus, the number of appearing variables per inequality is rising. In every considered inequality, there is at least one variable which has not appeared in the previously considered inequalities. We assign the new variables with a zero value, except for the variable with the highest index. This variable (MaxVar) gets a value which compensates all the other summands in the inequality. The sign of MaxVar is converse to the sign of its coefficient resulting in a negative summand. We can choose the value of MaxVar freely, since the variable has not appeared in any other inequality we considered earlier. If it appears in any later considered inequality, there will always be at least one new variable in the inequality which has not appeared earlier, and which can again compensate every other summand. It is easy to see that the considered inequality CurIneq is satisfied by the chosen variable assignment. Hence, \(\varvec{x}' = (x_1, \dots , x_i, value (y_{i+1}), \dots , value (y_m))\) is a solution of the ILP-instance \(w'\). \(\square \)
As a last step, we show that it suffice to consider only simple paths in \({\text {cond}}(A)\) in order to find a solvable ILP-instance in \(L({\text {cond}}(A))\), since we can always remove inequalities from a solvable ILP and maintain solvability.
Lemma 3
Let \(w, w'\in L_{\text {enc}}\) and \(w'\) be w without an arbitrary inequality \(\xi \) from w. (So, \(w'\) is w with one inequality less.) If \(w \in \text { ILP}_{\text {enc}}\) then \(w' \in \text { ILP}_{\text {enc}}\).
Proof
Adding an inequality can only decrease the set of solutions of the ILP-instance. So, removing an inequality cannot make the instance unsolvable. \(\square \)
We will now show that if there is a solvable ILP-instance in \(L({\text {cond}}(A))\), then we can replace any \(\$\)-symbols in this instance by actual inequalities, resulting in a solvable ILP-instance in L(A). On the other hand, if there is a solvable ILP-instance in L(A), the modifications we made on A while constructing \({\text {cond}}(A)\) preserve the existence of a solvable ILP-instance in the obtained language \(L({\text {cond}}(A))\).
Theorem 1
Let \(A = (Q, \Sigma , \delta , q_0, F)\) be a deterministic finite automaton with \(L(A) \subseteq L_{\text {enc}}\). Then, \(L(A) \cap \text { ILP}_{\text {enc}} \ne \emptyset \) if and only if \(L({\text {cond}}(A)) \cap \text { ILP}_\text {enc} \ne \emptyset \).
Proof
We first prove the only if direction. Let \(w \in L(A) \cap \text { ILP}_{\text {enc}}\) be the label of an accepting path p in A representing a solvable ILP-instance. Let \(\varvec{x}\) be a solution of w. Let \(w'\) only contain the inequalities of w, which are read between some states q and \(q'\) in p and for which \(\Xi _{q,q'} \in \text {Fin}_\Xi \). All other inequalities in w are replaced by -symbols in \(w'\). According to Lemma 3\(w'\) is still a solvable ILP-instance. Lemma 1 states that by pumping coefficients in \(w'\) up or down, according to the sign of the associated variable in \(\varvec{x}\), we obtain an ILP-instance \(w''\) which is still solvable. In case of pumping up a coefficient \(\alpha _i\) such that the term \(\alpha _i x_i\) is negative we can replace the inequality in which \(\alpha _i\) appears by \(x_i < 0\) for \(\alpha _i > 0\) and \(x_i > 0\) for \(\alpha _i < 0\). In case of pumping down, the string representing the smallest absolute value for a coefficient is chosen among the shortest possible strings. The resulting string \(w''\) is an element of \(L({\text {cond}}(A))\) and still a solvable ILP-instance. Hence, \(L({\text {cond}}(A))\cap \text { ILP}_{\text {enc}} \ne \emptyset \).
For the other direction, let \(w \in L({\text {cond}}(A)) \cap \text { ILP}_{\text {enc}}\).
By the definition of \({\text {cond}}(A)\), w only consists of inequalities from sets in \(\text {Fin}_\Xi \) or the \(\$\)-symbol. If w is already a member of L(A), the claim follows. Assume \(w \notin L(A)\). By the assignment of the sets \({\text {reps}}(\Xi _{q,q'})\) by Algorithm 1, w contains at least one inequality or one inequality of the form \(x_i <0\) or \(x_i >0\). Let \(\varvec{x}\) be a solution of the ILP described by w. First, assume w contains some inequality of the form \(x_i < 0\) or \(x_i >0\). We focus on the case \(x_i<0\), the other case is analogous. Let p be the path induced by w in \({\text {cond}}(A)\) and let \(q, q'\) be the states in p between which the inequality \(x_i<0\) is read. Then, by the definition of \({\text {reps}}(\Xi _{q,q'})\) we find an inequality \(\xi \) in \(\Xi _{q,q'}\) where the coefficient \(\alpha _i\) has value \(+\infty \). Since the constraint \(x_i<0\) is satisfied by \(\varvec{x}\) using a pumping argument, we find an inequality \(\xi '\) in \(\Xi _{q,q'}\) where all coefficients except \(\alpha _i\) have minimal absolute values and for which \(\alpha _i\) is positive and \(\alpha _ix_i \le \beta - \sum _{j\ne i} \alpha _jx_j\). Hence, \(\xi '\) is satisfied by an extension of \(\varvec{x}\) (\(\xi '\) might introduce new variables to w which need to be assigned). Thereby, we can replace inequalities containing \(\infty \) coefficients from the set \(\text {Fin}_\Xi \) by inequalities which can be read between the same pair of states in the automaton A without falsifying the ILP.
Next, we focus on inequalities in w which are represented by \(\$\)-signs. Let \(q, q'\) be the states in p between which an inequality \(\$\) is read. By Algorithm 1, the set \(\Xi _{q,q'}\) either contains an inequality with an \(\infty \)-symbol as \(\beta \)-value or is in \(\text {Inf}_\Xi \). We first handle all \(\$\)-transitions in the path p for which \(\Xi _{q,q'}\) is in \(\text {Inf}_\Xi \).
Definition 8 defines representatives which can be read between q and \(q'\) in A instead of \(\$\). Following Lemma 2, w can be enlarged with inequalities from \(\{ arep (\Xi ) \mid \Xi \in \text {Inf}_\Xi \}\) without making the ILP-instance represented by w unsolvable. So, if we replace the \(\$\)-transitions in the path p by paths in A corresponding to the alternative representatives from Definition 8, we get a path \(p'\) with the ILP-instance \(w'\) as its label.
Finally, we replace all \(\$\)-transitions in \(p'\) for which \(\Xi _{q,q'}\) contains inequalities with unbounded \(\beta \)-values indicated by a string ending with \(\infty \$\) in \(\Xi _{q,q'}\). Therefore, we choose an inequality which can be read between q and \(q'\) where all coefficients have minimal absolute value and a value for \(\beta \) above \(\sum _{j} \alpha _jx_j\). Since \(\beta \) is positive and can be pumped, we can find such an inequality. Clearly, the inequality obtained in such a way is satisfied by \(\varvec{x}\). We conclude by observing that the obtained string \(w'\) is accepted by A and an extension of the vector \(\varvec{x}\) is a solution for the ILP represented by \(w'\).
Hence, \(L(A) \cap \text { ILP}_{\text {enc}} \ne \emptyset \). \(\square \)
Now, we are ready to put the pieces together and present our main result. In the following, we give a decision procedure for the \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem of ILP.
Theorem 2
The problem \({{\textit{int}}_{{\mathrm {Reg}}}}(\text { ILP})\) is decidable.
Proof
Since \(L_{\text {enc}}\) is regular, we can restrict L(A) to the regular language \(L(A) \cap L_{\text {enc}}\). In the following, let \(A = (Q, \Sigma , \delta , q_0, F)\) be a deterministic finite automaton accepting the restriction of L(A) to \(L(A) \cap L_{\text {enc}}\). For the automaton A, the Definitions 3 and 4 describe the construction of coefficient transition sets and the assignment of their representatives. In Definition 5, inequality transition sets are constructed based on those representatives. These inequality transition sets get representatives themselves by the Algorithm 1. In Definition 6, a new automaton \({\text {cond}}(A)\) is defined, based on the representatives for the inequality transition sets. All those constructions can be computed by an algorithm. Theorem 1 states that \(L(A) \cap \text { ILP}_{\text {enc}} \ne \emptyset \Leftrightarrow L({\text {cond}}(A)) \cap \text { ILP}_{\text {enc}} \ne \emptyset \). Finally, Lemma 3 tells us that if there is a solvable ILP-instance in \(L({\text {cond}}(A))\) at all, then there is a solvable ILP-instance w in \(L({\text {cond}}(A))\) which can be read on a simple path in \({\text {cond}}(A)\). Since there are only finitely many simple paths in an automaton, and testing a given ILP-instance for solvability can be done in finite time, we can test all words in \(L({\text {cond}}(A))\) which correspond to labels of simple paths in \({\text {cond}}(A)\) for membership in \(\text { ILP}_{\text {enc}}\) in finite time. Hence, \(L(A) \cap \text { ILP}_{\text {enc}} \ne \emptyset \) is decidable. \(\square \)

5 Bounds

We give bounds on the number of words we need to consider in \(L({\text {cond}}(A))\), as well as on their length regarding the alphabet \(\Sigma '\) of \({\text {cond}}(A)\).
Theorem 3
Let \(A=(Q, \Sigma , \delta , q_0, F)\) be a deterministic finite automaton. Then, in order to decide whether \(L(A) \cap \text { ILP}_{\text {enc}} \ne \emptyset \) it suffices to consider up to \({\big ({(4|Q|^2)}^{|Q|}\cdot {2|Q|^{2}} +1\big )}^{|Q|} \in 2^{\mathcal {O}\left( |Q|^2\log (|Q|)\right) }\) many words in \({\text {cond}}(A)\).
Proof
As we only consider simple paths in \({\text {cond}}(A)\), the length of considered words in \(L({\text {cond}}(A))\) regarding \(\Sigma '\) is bounded by |Q|.
Therefore, also the number of inequalities per considered ILP-instance is bounded by |Q|. An inequality can consist of up to |Q| coefficients and a \(\beta \)-value or of a single \(\$\)-symbol. Each coefficient transition set \(\Lambda \) was assigned with two representatives. As we have one transition set for each sign, the up to \(2|Q|^2\) coefficient transition sets yield in total up to \(4|Q|^2\) representatives for coefficient transition sets. The sets \({B}_{q,q'}\) were assigned with single representatives,6 so there are in total up to \(2|Q|^2\) representatives for \(\beta \)-transition sets.
The total number of inequalities consisting of up to |Q| coefficients and a \(\beta \)-value or consisting only of \(\$\) is bounded by
$${(4|Q|^2)}^{|Q|}\cdot {2|Q|^{2}} +1.$$
The total number of ILP-instances consisting of up to |Q| inequalities of that form is bounded by
$$\begin{aligned} {\left( {(4|Q|^2)}^{|Q|}\cdot {2|Q|^{2}} +1\right) }^{|Q|} \in 2^{\mathcal {O}\left( |Q|^2\log (|Q|)\right) }. \end{aligned}$$
This is also an upper bound on the number of words which have to be considered in \(L({\text {cond}}(A))\). \(\square \)
Corollary 1
The problem \({{\textit{int}}_{{\mathrm {Reg}}}}\)(ILP) is NP-complete and solvable in time \(2^{\mathcal {O}(|Q|^2 \log (|Q|))}\).
Proof
The number of considered words in \(L({\text {cond}}(A))\) is bounded by \(2^{\mathcal {O}(|Q|^2 \log (|Q|))}\). The length of considered words in \(L({\text {cond}}(A))\) regarding the alphabet \(\Sigma '\) of \({\text {cond}}(A)\) is bounded by \(\mathcal {O}(|Q|)\). As each representative of a coefficient transition set appearing in words of \(L({\text {cond}}(A))\) is of length at most |Q|, the length of words in \(L({\text {cond}}(A))\) considering the alphabet \(\Sigma \) is bounded by \(|Q|^2\). Therefore, we can guess some word in \(L({\text {cond}}(A))\) and check its membership in \(\text { ILP}_{\text {enc}}\) by solving the represented ILP-instance. Since ILP is NP-complete \({{\textit{int}}_{{\mathrm {Reg}}}}\)(ILP)\(\in \) NP follows. For a given ILP-instance, we can construct a DFA accepting only this instance in polynomial time. Hence \({{\textit{int}}_{{\mathrm {Reg}}}}\)(ILP) is NP-complete. \(\square \)

6 Conclusion

According to [30], the presented results are stable under applying a length-preserving morphism to the encoding scheme. The results are also stable under changing the binary encoding to any base-k encoding. Recall that in order to talk about regular sets of problem-instances, we want to have a problem encoding which can be verified by a deterministic finite automaton. In particular, we cannot verify with a DFA that all variables appear in a certain inequality or that the inequalities have the same length. Therefore, we have implicitly filled the inequalities with coefficients zero to ensure the same number of variables per inequality. Note that this forbids an explicit matrix representation of an ILP-instance. Instead of referencing the variables of an inequality implicitly by the number and order of the coefficients we could also use another encoding, where we explicitly name the variables and the coefficients. In this setting multiple occurrences of the same variable would be possible and would be interpreted as a summation of terms. Here, we would define transition sets for coefficients and for variables. We would not pump the number of variables in an inequality but instead pump the label of a variable to make it independent of other variables and inequalities. We would still treat the coefficients in the same way and we would also consider only simple paths. In terms of the ‘\({{\textit{int}}_{{\mathrm {Reg}}}}\)-techniques’ of [35] we would switch from the replacing technique to the separating technique and the \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem of ILP in this variable-explicit encoding would still be decidable.
Although we considered partial DFAs, the construction also works for partial NFAs. It might be worthwhile to investigate further extensions of \({{\textit{int}}_{{\mathrm {Reg}}}}(\text { ILP})\) such as Boolean combinations of inequalities or quadratic programming.

Acknowledgements

The author thanks Markus L. Schmid for proofreading and helpful discussions and is grateful to the anonymous reviewers for their suggestions. The author was partially supported by DFG (FE 560 / 9-1).
Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://​creativecommons.​org/​licenses/​by/​4.​0/​.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Footnotes
1
A Dagstuhl seminar on ‘Graph Modification Problems’ was held in 2014 [2].
 
2
Note that this problem is only well-defined if it is clear how P is represented as a language, i.e., we have to define how P-instances are encoded as strings.
 
3
LOGSPACE and P also contain problems with undecidable \({{\textit{int}}_{{\mathrm {Reg}}}}\)-problem [35, 37].
 
4
Our construction uses similar ideas as given in [15].
 
5
The function \(\underset{{\text {lex}}}{\min }\) is used to make the definition clear. Any other element of the set could be used as well.
 
6
Recall that inequalities with \(\infty \) \(\beta \)-values are replaced by \(\$\) so only one actual representative for the sets \({B}_{q,q'}\) may appear as a \(\beta \)-value.
 
Literature
1.
go back to reference Anderson, T., Loftus, J., Rampersad, N., Santean, N., Shallit, J.: Detecting palindromes, patterns and borders in regular languages. Inf. Comput. 207(11), 1096–1118 (2009)MathSciNetCrossRef Anderson, T., Loftus, J., Rampersad, N., Santean, N., Shallit, J.: Detecting palindromes, patterns and borders in regular languages. Inf. Comput. 207(11), 1096–1118 (2009)MathSciNetCrossRef
2.
go back to reference Bodlaender, H., Heggernes, P., Lokshtanov, D.: Graph Modification Problems (Dagstuhl Seminar 14071) (2014) Bodlaender, H., Heggernes, P., Lokshtanov, D.: Graph Modification Problems (Dagstuhl Seminar 14071) (2014)
3.
go back to reference Cook, S.A.: The complexity of theorem-proving procedures. In: Proceedings of the Third Annual ACM Symposium on Theory of Computing, pp. 151–158. ACM (1971) Cook, S.A.: The complexity of theorem-proving procedures. In: Proceedings of the Third Annual ACM Symposium on Theory of Computing, pp. 151–158. ACM (1971)
4.
go back to reference Cormode, G., Muthukrishnan, S.: The string edit distance matching problem with moves. ACM Trans. Algorithms (TALG) 3(1), 2:1-2:19 (2007)MathSciNetMATH Cormode, G., Muthukrishnan, S.: The string edit distance matching problem with moves. ACM Trans. Algorithms (TALG) 3(1), 2:1-2:19 (2007)MathSciNetMATH
6.
go back to reference Diekert, V., Fernau, H., Wolf, P.: Properties of graphs specified by a regular language. In: Moreira, N., Reis, R. (eds.) 25th International Conference on Developments in Language Theory, DLT 2021, Porto, Portugal, August 16-20, 2021, Proceedings. Lecture Notes in Computer Science, vol. 12811, pp. 117–129. Springer (2021) Diekert, V., Fernau, H., Wolf, P.: Properties of graphs specified by a regular language. In: Moreira, N., Reis, R. (eds.) 25th International Conference on Developments in Language Theory, DLT 2021, Porto, Portugal, August 16-20, 2021, Proceedings. Lecture Notes in Computer Science, vol. 12811, pp. 117–129. Springer (2021)
7.
go back to reference Eiben, E., Ganian, R., Knop, D., Ordyniak, S.: Unary integer linear programming with structural restrictions. In: Proceedings of the twenty-seventh international joint conference on artificial intelligence, IJCAI 2018, July 13-19, 2018, Stockholm, Sweden, pp. 1284–1290 (2018) Eiben, E., Ganian, R., Knop, D., Ordyniak, S.: Unary integer linear programming with structural restrictions. In: Proceedings of the twenty-seventh international joint conference on artificial intelligence, IJCAI 2018, July 13-19, 2018, Stockholm, Sweden, pp. 1284–1290 (2018)
8.
go back to reference Ganian, R., Ordyniak, S.: The complexity landscape of decompositional parameters for ILP. Artif. Intell. 257, 61–71 (2018)MathSciNetCrossRef Ganian, R., Ordyniak, S.: The complexity landscape of decompositional parameters for ILP. Artif. Intell. 257, 61–71 (2018)MathSciNetCrossRef
9.
10.
go back to reference Güler, D., Krebs, A., Lange, K.J., Wolf, P.: Deciding regular intersection emptiness of complete problems for PSPACE and the polynomial hierarchy. In: International Conference on Language and Automata Theory and Applications, pp. 156–168. Springer (2018) Güler, D., Krebs, A., Lange, K.J., Wolf, P.: Deciding regular intersection emptiness of complete problems for PSPACE and the polynomial hierarchy. In: International Conference on Language and Automata Theory and Applications, pp. 156–168. Springer (2018)
12.
go back to reference Hladík, M.: Interval linear programming: a survey. In: Linear Programming: New Frontiers in Theory and Applications, chap. 2, pp. 85–120. Nova Science Publishers, New York (2012) Hladík, M.: Interval linear programming: a survey. In: Linear Programming: New Frontiers in Theory and Applications, chap. 2, pp. 85–120. Nova Science Publishers, New York (2012)
13.
go back to reference Jünger, M., Liebling, T.M., Naddef, D., Nemhauser, G.L., Pulleyblank, W.R., Reinelt, G., Rinaldi, G., Wolsey, L.A.: 50 Years of Integer Programming 1958–2008: From the Early Years to the State-of-the-Art. Springer, Berlin (2010)CrossRef Jünger, M., Liebling, T.M., Naddef, D., Nemhauser, G.L., Pulleyblank, W.R., Reinelt, G., Rinaldi, G., Wolsey, L.A.: 50 Years of Integer Programming 1958–2008: From the Early Years to the State-of-the-Art. Springer, Berlin (2010)CrossRef
14.
go back to reference Karp, R.M.: Reducibility among combinatorial problems. In: Miller, R.E., Thatcher, J.W. (eds.) Proceedings of a Symposium on the Complexity of Computer Computations, Held March 20-22, 1972, at the IBM Thomas J. Watson Research Center, Yorktown Heights, New York, USA. The IBM Research Symposia Series, pp. 85–103. Plenum Press, New York (1972) Karp, R.M.: Reducibility among combinatorial problems. In: Miller, R.E., Thatcher, J.W. (eds.) Proceedings of a Symposium on the Complexity of Computer Computations, Held March 20-22, 1972, at the IBM Thomas J. Watson Research Center, Yorktown Heights, New York, USA. The IBM Research Symposia Series, pp. 85–103. Plenum Press, New York (1972)
15.
go back to reference Lange, K.J., Reinhardt, K.: Set automata. In: Combinatorics, Complexity and Logic; Proceedings of the DMTCS’96. Citeseer (1996) Lange, K.J., Reinhardt, K.: Set automata. In: Combinatorics, Complexity and Logic; Proceedings of the DMTCS’96. Citeseer (1996)
16.
go back to reference Lempitsky, V.S., Kohli, P., Rother, C., Sharp, T.: Image segmentation with a bounding box prior. In: ICCV, pp. 277–284. Citeseer (2009) Lempitsky, V.S., Kohli, P., Rother, C., Sharp, T.: Image segmentation with a bounding box prior. In: ICCV, pp. 277–284. Citeseer (2009)
17.
go back to reference Li, H.: Two-view motion segmentation from linear programming relaxation. In: Computer Vision and Pattern Recognition, pp. 1–8. IEEE (2007) Li, H.: Two-view motion segmentation from linear programming relaxation. In: Computer Vision and Pattern Recognition, pp. 1–8. IEEE (2007)
18.
go back to reference Liu, Y., Wang, J., Guo, J.: An overview of kernelization algorithms for graph modification problems. Tsinghua Sci. Technol. 19(4), 346–357 (2014)MathSciNetCrossRef Liu, Y., Wang, J., Guo, J.: An overview of kernelization algorithms for graph modification problems. Tsinghua Sci. Technol. 19(4), 346–357 (2014)MathSciNetCrossRef
21.
go back to reference Nemhauser, G.L., Wolsey, L.A.: Integer and Combinatorial Optimization. Wiley Interscience Series in Discrete Mathematics and Optimization. Wiley, Hoboken (1988) Nemhauser, G.L., Wolsey, L.A.: Integer and Combinatorial Optimization. Wiley Interscience Series in Discrete Mathematics and Optimization. Wiley, Hoboken (1988)
22.
go back to reference Papadimitriou, C.H., Steiglitz, K.: Combinatorial Optimization: Algorithms and Complexity, 2nd edn. Prentice-Hall, Hoboken (1998)MATH Papadimitriou, C.H., Steiglitz, K.: Combinatorial Optimization: Algorithms and Complexity, 2nd edn. Prentice-Hall, Hoboken (1998)MATH
23.
go back to reference Rubtsov, A.A.: Regular realizability problems and regular languages. CoRR abs/1503.05879 (2015) Rubtsov, A.A.: Regular realizability problems and regular languages. CoRR abs/1503.05879 (2015)
24.
go back to reference Rubtsov, A.A., Vyalyi, M.N.: Regular realizability problems and models of a generalized nondeterminism. CoRR abs/1105.5894 (2011) Rubtsov, A.A., Vyalyi, M.N.: Regular realizability problems and models of a generalized nondeterminism. CoRR abs/1105.5894 (2011)
25.
go back to reference Rubtsov, A.A., Vyalyi, M.N.: Automata equipped with auxiliary data structures and regular realizability problems. In: Han, Y., Ko, S. (eds.) Proceedings of 23rd IFIP WG 1.02 International Conference on Descriptional Complexity of Formal Systems, DCFS 2021, Virtual Event, September 5, 2021. Lecture Notes in Computer Science, vol. 13037, pp. 150–162. Springer (2021) Rubtsov, A.A., Vyalyi, M.N.: Automata equipped with auxiliary data structures and regular realizability problems. In: Han, Y., Ko, S. (eds.) Proceedings of 23rd IFIP WG 1.02 International Conference on Descriptional Complexity of Formal Systems, DCFS 2021, Virtual Event, September 5, 2021. Lecture Notes in Computer Science, vol. 13037, pp. 150–162. Springer (2021)
26.
go back to reference Schrijver, A.: Theory of Linear and Integer Programming. Wiley-Interscience Series in Discrete Mathematics and Optimization, Wiley, Hoboken (1999)MATH Schrijver, A.: Theory of Linear and Integer Programming. Wiley-Interscience Series in Discrete Mathematics and Optimization, Wiley, Hoboken (1999)MATH
27.
go back to reference Tarasov, S.P., Vyalyi, M.N.: Orbits of linear maps and regular languages. In: Computer Science–Theory and Applications: 6th International Computer Science Symposium in Russia, CSR 2011, St. Petersburg, Russia, June 14-18, 2011, Proceedings, pp. 305–316 (2011) Tarasov, S.P., Vyalyi, M.N.: Orbits of linear maps and regular languages. In: Computer Science–Theory and Applications: 6th International Computer Science Symposium in Russia, CSR 2011, St. Petersburg, Russia, June 14-18, 2011, Proceedings, pp. 305–316 (2011)
28.
go back to reference van Emde Boas, P.: The Convenience of Tilings. Lecture Notes in Pure and Applied Mathematics, pp. 331–363 (1997) van Emde Boas, P.: The Convenience of Tilings. Lecture Notes in Pure and Applied Mathematics, pp. 331–363 (1997)
29.
go back to reference Vyalyi, M.N.: On models of a nondeterministic computation. In: Computer Science–Theory and Applications, Fourth International Computer Science Symposium in Russia, CSR 2009, Novosibirsk, Russia, August 18-23, 2009. Proceedings, pp. 334–345 (2009) Vyalyi, M.N.: On models of a nondeterministic computation. In: Computer Science–Theory and Applications, Fourth International Computer Science Symposium in Russia, CSR 2009, Novosibirsk, Russia, August 18-23, 2009. Proceedings, pp. 334–345 (2009)
31.
32.
go back to reference Vyalyi, M.N., Rubtsov, A.A.: On regular realizability problems for context-free languages. Probl. Inf. Transm. 51(4), 349–360 (2015)MathSciNetCrossRef Vyalyi, M.N., Rubtsov, A.A.: On regular realizability problems for context-free languages. Probl. Inf. Transm. 51(4), 349–360 (2015)MathSciNetCrossRef
33.
go back to reference Wagner, K., Wechsung, G.: Computational Complexity. Springer, Berlin (1986)MATH Wagner, K., Wechsung, G.: Computational Complexity. Springer, Berlin (1986)MATH
35.
go back to reference Wolf, P.: Decidability of the Regular Intersection Emptiness Problem. Master’s thesis, Wilhelm Schickhard Institut für Informatik, Universität Tübingen (2018) Wolf, P.: Decidability of the Regular Intersection Emptiness Problem. Master’s thesis, Wilhelm Schickhard Institut für Informatik, Universität Tübingen (2018)
36.
go back to reference Wolf, P.: On the decidability of finding a positive ILP-instance in a regular set of ILP-instances. In: Hospodár, M., Jirásková, G., Konstantinidis, S. (eds.) Descriptional Complexity of Formal Systems: 21st IFIP WG 1.02 International Conference, DCFS 2019, Košice, Slovakia, July 17-19, 2019, Proceedings. Lecture Notes in Computer Science, vol. 11612, pp. 272–284. Springer (2019) Wolf, P.: On the decidability of finding a positive ILP-instance in a regular set of ILP-instances. In: Hospodár, M., Jirásková, G., Konstantinidis, S. (eds.) Descriptional Complexity of Formal Systems: 21st IFIP WG 1.02 International Conference, DCFS 2019, Košice, Slovakia, July 17-19, 2019, Proceedings. Lecture Notes in Computer Science, vol. 11612, pp. 272–284. Springer (2019)
37.
go back to reference Wolf, P.: From decidability to undecidability by considering regular sets of instances. Theor. Comput. Sci. 899, 25–38 (2022)MathSciNetCrossRef Wolf, P.: From decidability to undecidability by considering regular sets of instances. Theor. Comput. Sci. 899, 25–38 (2022)MathSciNetCrossRef
Metadata
Title
On the decidability of finding a positive ILP-instance in a regular set of ILP-instances
Author
Petra Wolf
Publication date
04-08-2022
Publisher
Springer Berlin Heidelberg
Published in
Acta Informatica / Issue 4/2022
Print ISSN: 0001-5903
Electronic ISSN: 1432-0525
DOI
https://doi.org/10.1007/s00236-022-00429-x

Other articles of this Issue 4/2022

Acta Informatica 4/2022 Go to the issue

Premium Partner