Manuscript Offprint
arXiv:2611.04889NP-Hardness and a PTAS for Maximum Interval Multicover, with Applications to Dense Subgraphs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Given intervals and points on a line, each point with a demand, and a budget , Maximum Interval Multicover asks for at most intervals that satisfy as many points as possible, a point being satisfied if it lies in at least as many of the chosen intervals as its demand. This models, for instance, committee elections in which every candidate is approved by a contiguous group of voters and every voter wants at least her own number of approved candidates elected. Xu, Ran and Zhang introduced the problem and gave a 1/2-approximation; the objective is not submodular when demands exceed one. Li, Tu, Zhang and Cao gave a polynomial-time approximation scheme (PTAS) for the minimization counterpart, unweighted partial interval multicover, and asked for its complexity. As the two problems share a decision version, the complexity of both was open. We prove that both problems are NP-hard, even for intervals of equal length; as their optima are integers bounded by the input size, neither has a fully polynomial-time approximation scheme unless . We then give a PTAS for Maximum Interval Multicover, also for arbitrary nonnegative nondecreasing rewards for the coverage of each point. Together, these results settle its approximability up to the existence of an efficient PTAS. Building on a decomposition from Nonner's PTAS for Densest -Subgraph on interval graphs, our scheme cuts the line into pieces at a small loss and solves every piece exactly. Its dynamic program processes the endpoints of the intervals through a common point not along the line but in an interleaving of left and right endpoints that it chooses, which reduces its memory of these intervals to two counters. The same algorithm yields PTASes on convex bipartite graphs for Bipartite Dense Subgraph, improving on the ratio 2/3 of Backer and Keil for the subclass of bipartite permutation graphs, and on interval graphs for Maximum -Vertex Cover and weighted clique counts.
1 Introduction
Consider a family of intervals and a set of points on the real line. Selecting a given number of intervals to cover as many points as possible is polynomial-time solvable [CG19, Met26]. We study the generalization in which each point has a demand specifying how many selected intervals must contain it. Formally, we are given a family of closed intervals and a set of points on the real line, each with a demand . We write for the coverage of point by an interval selection . The point is satisfied if . In Maximum Interval Multicover (MAXIMC), introduced by Xu, Ran and Zhang [XRZ24, XRZ25], the goal is to satisfy as many points as possible using at most intervals.
A point contributes nothing until its whole demand is met, so intervals complement each other: e.g. two intervals that cover a point of demand 2 are worthless separately and valuable together. Satisfying all coverage demands with a minimum number of intervals is polynomial-time solvable. Hence, the difficulty lies in choosing which demands to satisfy.
The model also describes committee elections in which every candidate is approved by a contiguous group of voters (the voter-interval domain [EL15]): electing candidates to maximize the number of voters who approve at least their own prescribed number of them is an instance of MAXIMC. For satisfaction functions that are concave in the number of approved members, as in the Thiele rules studied there, polynomial-time algorithms on this domain were given in two recent preprints [MS26, ALSKV26]. Theorem 1 below allows arbitrary nondecreasing satisfaction functions that may differ between voters.
Xu, Ran and Zhang gave a 1/2-approximation for MAXIMC [XRZ24, XRZ25]. Li, Tu, Zhang and Cao [LTZC26] studied its minimization counterpart, Partial Interval Multicover, where the number of satisfied points is fixed and the number of selected intervals has to be minimized. They gave a PTAS for it [LTZC26, Theorem 1], proved NP-completeness of a weighted generalization [LTZC26, Theorem 2], and stated that the complexity of the unweighted problem remained open. They also asked whether their approach could improve the approximation for MAXIMC, and whether an approximation-preserving reduction relates partial interval multicover to Densest -Subgraph. Their hardness proof also applies to a weighted version of Densest -Subgraph. Their unweighted problem has the same decision version as MAXIMC: can at most intervals satisfy at least points? The variant of MAXIMC in which a point counts only if it is covered exactly as often as its demand is NP-hard already for unit rewards [CGLO17].
We settle the complexity of MAXIMC and give an approximation scheme that also applies to several dense subgraph problems.
Theorem 1. There is a PTAS for MAXIMC with general coverage rewards.
With nonnegative point profits and , Theorem 1 gives a PTAS for MAXIMC. This improves the ratio 1/2 of [XRZ24, XRZ25] and positively answers the question of Li et al., albeit using a different method. Running their PTAS for every number of points yields a selection that satisfies at least OPT many points but may use up to intervals. As points count only when fully covered, trimming such a solution to intervals may leave only one satisfied point whereas an optimal solution satisfies , even if all demands are at most .(Section C).
Theorem 2. The decision version of MAXIMC is strongly NP-complete. This holds even when all intervals are distinct and have the same positive length, all endpoints and points are distinct integers, no point is an endpoint, and for every point .
Zhou et al. [ZRZ+26] independently proved that this decision problem is NP-complete even for unit intervals. Theorem 2 settles the complexity of MAXIMC and, since the decision versions coincide, answers the question of Li et al. for unweighted partial interval multicover, strengthening their hardness result for the weighted version. In general instances, coordinates can be replaced by their ranks and demands and the budget capped at , so all numbers are polynomially bounded anyway; “strongly” matters for intervals of equal length, whose coordinates cannot be replaced by ranks. As the optima are integers bounded by the input size, neither MAXIMC nor partial interval multicover has an FPTAS unless P = NP; in particular, the PTAS of Li et al. cannot be improved to an FPTAS. Whether MAXIMC has an efficient PTAS is open. With demands at most , a sweep solves MAXIMC exactly with operations (Theorem 7), so hardness requires unbounded demands unless P = NP.
The algorithm of Theorem 1 extends to sums of nonnegative rewards of three kinds (Theorem 6): (i) for every point, a reward nondecreasing in its coverage; (ii) for every interval, a reward depending on the number of other selected intervals that contain its left endpoint and on whether the interval itself is selected, nondecreasing in both; (iii) for every optional point, which can be selected under a separate or a joint budget, a reward nondecreasing in its coverage for either selection status. Kind (ii) expresses edges and cliques of interval graphs, since two intervals intersect exactly when one contains the left endpoint of the other, and kind (iii) the second side of a convex bipartite graph. The extension requires some optimal solution to be upward closed, that is, to contain every interval that contains one of its members (with ties broken as in Section 2); for the objectives of Theorems 1 and 3, this follows from an exchange argument (Lemma 1). A bipartite graph is convex if has a linear order in which the neighbourhood of every vertex of is consecutive. Bipartite Dense Subgraph asks for and maximizing the number of edges between them, subject either to separate budgets and or to a total budget . For a vertex set of a graph, is the number of -cliques induced by , and for rationals the edge utility of is .
Theorem 3. For every fixed , each of the following problems admits a deterministic algorithm that respects the budgets, achieves at least times the optimum, and uses arithmetic operations on numbers of polynomial bit length, where is the number of vertices.
(a) Bipartite Dense Subgraph on convex bipartite graphs, with separate or total budgets.
(b) On interval graphs, choosing at most vertices to maximize , where the rationals are part of the input.
(c) On interval graphs, choosing at most vertices to maximize the edge utility, for given rationals .
For the total-budget version of part (a), which is Densest -Subgraph, Backer and Keil [BK10] gave a 3/2-approximation, that is, value at least two thirds of the optimum, on bipartite permutation graphs, which form a proper subclass of the convex bipartite graphs [STU11]; the same ratio for separate budgets was announced in a conference abstract by Inaba, Tayu and Ueno [ITU16]. Backer and Keil noted that “the ability to solve for a fixed but arbitrarily wide subproblem in polynomial time would lead to a PTAS” [BK10, Section 4]; in this spirit, our window algorithm (Theorem 4) solves subproblems of any fixed width exactly, which yields a PTAS on the larger class. Parts (b) and (c) contain Densest -Subgraph ( and otherwise, or and ), for which Nonner gave a PTAS on interval graphs [Non11, Non16]; part (c) also contains Maximum -Vertex Cover, vertices covering the most edges (), for which we know of no previous approximation scheme on interval graphs. Convex orders and interval representations can be computed in linear time [BL76]. The complexity of Densest -Subgraph on interval graphs is a long-standing open question [Non16], and we do not know whether any problem of Theorem 3 is NP-hard; our framework does not give the reduction asked for by Li et al.
1.2 Technical overview
Slabs and shifting. We use the structure of an optimal solution from Nonner's PTAS for Densest -Subgraph [Non16]. For the objective of Theorem 1, some optimal solution is upward closed, by the exchange argument of [Non16] and [LTZC26, Proposition 1] (Lemma 1). Disjoint representatives, chosen greedily from by leftmost right endpoint, cut the line at their right endpoints into slabs. An interval of covering a point of a slab contains one of the three nearest representatives, and is then forced by upward closure, or belongs to one of the two adjacent crossing families: the intervals that start inside a representative and end between its right endpoint and that of the next. By shifting [HM85, Bak94] with , ignoring every -th slab costs at most OPT/L for a suitable offset and leaves runs of fewer than slabs. The subproblem on a run, a window, must be solved within its share of the budget and with little loss.
Why crossing families are hard. A family of intervals that all cross a common point can be used in exponentially many ways, even with a fixed number of selected members and a closed choice, which contains every member of the family that contains one of its members: if the starts and the ends appear in the same order, every subset is closed, and subsets of the same size produce different coverage patterns. Neither Nonner's scheme nor that of Li et al. optimizes over this space exactly. Nonner keeps a polynomial collection of choices of the prescribed size whose coverage is close to that of the optimal choice; a small loss of coverage costs few edges, but it can destroy a threshold reward completely. Li et al. replace the optimal choice by one that dominates its coverage at every point, at the price of up to times as many intervals outside the forced containers [LTZC26, Lemma 1]; this is affordable when the number of intervals is the objective, but not under a hard budget. A dynamic program that sweeps the line from left to right would have to remember the selected crossing intervals.
Choices as merges. Sort the starts of the members of a crossing family and, separately, their ends. A merge of the two sorted lists, that is, any interleaving of them, selects the members whose start precedes their end in it; the sets selected in this way are exactly the closed choices (Lemma 5, Figure 1). This elementary fact is a form of the description of the up-sets of a two-dimensional order by monotone lattice paths. Our key observation is that a merge can serve as the order in which a dynamic program visits the endpoints. Unlike their order on the line, where all starts precede all ends, a merge advances on both sides of the common point at once, and the program need not store the choice: a point left of the common point is covered by the selected members whose starts have been visited, and a point to the right by those whose ends have not, whose number is the prescribed size minus the number of selected ends visited; two counters suffice.
Chains of families. Consecutive crossing families of a window share a slab, which contains the ends of one family and the starts of the next. Merges chosen independently for all families can always be realized by one interleaving of the sorted event lists of all slabs (Lemma 6). Hence a dynamic program whose state records how many events of each slab have been processed, and two counters per family, optimizes exactly over all closed choices with prescribed family sizes, with operations (Theorem 4). To combine windows, each is charged only for its intervals that do not contain its leftmost boundary, similar to the accounting of shared containers in Nonner's PTAS [Non16]; this charge bounds the number of intervals that the window adds to a solution assembled from left to right, and the charged sets of the windows of an optimal solution are disjoint (Lemma 10). So a longest-path computation stays within the budget.
Hardness. We reduce from rectilinear Steiner arborescence, which is strongly NP-complete [SS05] (see also [AMP15, Section 2]), via integral flows on a grid. We first build a proper family of intervals, in which no interval contains another, with tests (guards and probes, Figure 3) that reward exact coverage values: packets of interchangeable candidate intervals carry flow values, and the tests copy and conserve flow and reward arcs without flow. Properness is what the next step needs: positive integer masses at positions on the line, at least one between any two consecutive endpoints, then give every interval the same total mass, and adding at every position a reward proportional to mass times coverage makes the tests nondecreasing while adding the same constant to every selection of intervals. Nondecreasing integer rewards are sums of threshold rewards, that is, points with demands, and reading the polynomially bounded masses as lengths makes all intervals equally long.
1.3 Related work
On general set systems, MAXIMC with all demands equal to two contains Densest -Subgraph (the sets are the vertices, the elements the edges), which is hard to approximate within almost polynomial factors under the Exponential Time Hypothesis [Man17]; much better ratios are achievable on structured classes [BK10, Non16]. If every element instead earns its coverage capped at a common value , the objective is submodular, and a randomized algorithm achieves the ratio , which is best possible under the Unique Games Conjecture [BFGG22]. Maximum -Vertex Cover has a rich approximation literature [AS04, Man19], including a PTAS for bipartite graphs announced in a preprint [Pas19]; solving it exactly on a graph with vertices is equivalent to solving Sparsest -Subgraph exactly, whose

(b)

Figure 1: (a) A crossing family of intervals that start inside and end to the right of ; contains , and contains . The selected members are solid. (b) Rows are the starts in increasing order, columns the ends; member (labelled ) sits in the row of its start and the column of its end; its containers lie above and to the right. The merge is the monotone path (down for a start, right for an end); it selects the members whose start precedes their end, the cells to the right of the path, so it cannot select without .
complexity on interval graphs is open [WBG16]. Sections 2 to 4 prove Theorem 1, Section 5 treats general rewards and Theorem 3, and Section 6 proves Theorem 2; the appendix contains the omitted proofs.
2 Preliminaries and the slab structure
We fix conventions and describe the structure of an upward-closed optimal solution, adapting the decomposition of Nonner [Non16].
Conventions. Intervals are closed, coordinates are rational, and only their order matters. We refine ties once and for all: at a common coordinate, starts come first, then points (including the optional points of Section 5), then ends, and remaining ties are broken by fixed labels. Afterwards all endpoints and points are distinct, a point lies in an interval exactly when , where and denote the endpoints, two intervals intersect exactly when they did before, and an interval that contains another after the refinement also contained it before. From now on, containment refers to the refined coordinates; repeated intervals in the input are therefore allowed. We assume , since otherwise selecting all intervals is optimal. For and any position on the line, let
At a point this is its coverage. At the start of an interval it counts the selected intervals that start before and are still active, excluding itself; this case is used only in Section 5. For intervals and we write if . The containers of an interval , which need not belong to , form the set . A set is upward closed if it contains all containers of each of its members. We write for the objective of Theorem 1 and OPT for its maximum over . We extend every to by for ; this changes no value of a feasible solution.
Lemma 1 (containment exchange [Non16], [LTZC26, Proposition 1]). Suppose that replacing a selected interval by an unselected container preserves feasibility and does not decrease the objective. Then some optimal solution is upward closed. In particular, this holds for and .
Proof. Number the intervals so that containers come after the intervals they contain. An optimal solution maximizing the sum of the numbers of its members is upward closed, since an exchange would increase this sum. For , an exchange keeps and does not decrease any coverage.
Representatives and slabs. We add three sentinel intervals such that lies to the left of all coordinates of the instance and lie to the right of them. They contain no point, are contained in no interval of , and are never selected; they only serve as boundaries. Let .

Figure 2: A window with kept slabs; the boundaries play the role of consecutive representatives. One member of each family is shown, starting inside and ending in the next slab; the containers of the boundaries (gray) form the fixed set . Within a window selection, a point of is covered only by intervals of and members of and .
Fix an upward-closed optimal solution . Its representatives are chosen greedily: is the interval of with the smallest right endpoint, and is the interval of with the smallest right endpoint among those that start to the right of ; the procedure stops when no such interval exists, after steps. The representatives are pairwise disjoint, . We set , and . The slabs are the open regions for ; every point lies in exactly one slab. For , the crossing family of and is
the set of intervals that start inside and end between the right endpoints of and . In particular for every .
The next lemma says that few groups of intervals matter in a slab.
Lemma 2 (locality). Let , let be a position in , and let satisfy . Then
Proof of Lemma 2. If is one of , it is its own container, so assume otherwise. We have , and because endpoints are distinct.
Case . If started to the right of , then for it would contradict the choice of , which has the smallest right endpoint among the intervals of starting there, and for it would contradict the termination of the greedy procedure. Hence ; in particular is not the sentinel . If , then contains . Otherwise , that is, .
Case . Then , since no interval of ends to the right of , and . If , then contains . Otherwise . If , then . If , then is not a sentinel, and since , the interval contains .
3 Exact optimization in a window
This section contains the main technical contribution, an exact algorithm for windows. Their boundaries are arbitrary intervals; Section 4 uses boundaries taken from an optimal solution, which the algorithm need not know.
Definition 1 (window). Let . A window consists of intervals from and integers . Its kept slabs are for , its families are for , and its fixed set is . A choice consists of sets with for ; its window selection is , and its value is
The intervals of F are forced; the only freedom lies in the families (Figure 2).
Lemma 3 (structure of a window). In every window the following hold.
(i) The families are pairwise disjoint and disjoint from . Hence the cost is the same for all choices.
(ii) A member of starts inside , hence in if , and it ends in if , or between and if .
Proof of Lemma 3. A member of satisfies . Hence it contains no boundary, and the range of determines , which gives (i); (ii) follows since . For (iii), members of with end before , members with start after , members of start before and members of end after .
Theorem 4 (exact window algorithm). For every window with for all , a choice of maximum value, and its value, can be computed with operations.
3.1 Closed choices are merges
Fix one family . All members contain , so a member contains a member exactly when and . A set is closed if it contains every member of containing a member of .
Lemma 4. Every choice can be replaced by a choice with the same family sizes, in which every is closed, whose window selection has at least the same coverage at every position. In particular, some choice of maximum value consists of closed sets.
Proof. Replace a selected by an unselected that contains it; this keeps and does not decrease any coverage. As in the proof of Lemma 1, finitely many replacements lead to closed sets.
A merge of is a sequence of the endpoints of its members that lists the starts in increasing order and the ends in increasing order. The following correspondence is elementary, a variant of the bijection between up-sets of a two-dimensional order and monotone lattice paths; what is new is its use as a dynamic-programming state. The merge selects the members whose start precedes their end in it.
Lemma 5 (merges). A set is closed if and only if it is selected by some merge of M.
Proof of Lemma 5. For , let and be the ranks of its start among the starts and of its end among the ends of . A member contains exactly when and .
Suppose a merge selects , and contains . In the merge, the start of comes no later than the start of , which precedes the end of , which comes no later than the end of . So the merge selects , and the selected set is closed.
Conversely, let be closed. For let , where the maximum of the empty set is 0; the sequence is nondecreasing. We claim that exactly when . If , then itself shows . If , every with satisfies , since otherwise would contain and closedness would force ; hence . Now build the merge that places the -th start immediately after the first ends, keeping the starts in increasing order, which is possible because is nondecreasing. The start of then precedes its end exactly when , so the merge selects .
3.2 Interleaving all families
The families of a window share slabs: by Lemma 3(ii), the slab contains the ends of and the starts of . We record the events of the window in event sequences: lists the starts of in increasing order; for , lists, in increasing order, the ends of , the starts of and the points of in ; and lists the ends of in increasing order. The start of a member of lies in and its end in . An interleaving is a linear order of all events that restricts to the order of each event sequence. Restricted to the endpoints of , an interleaving is a merge of ; we say that the interleaving selects the members selected by this merge.
Lemma 6 (compatibility). For any merges of there is an interleaving whose restriction to the endpoints of is for every .
Proof. We construct linear orders , where orders the events of , restricts to the order of each of these sequences, and restricts to on the endpoints of for every . Let . Given , let be the starts of in increasing order; they occur in this order in , because they belong to . For each end of , the merge prescribes how many of these starts precede it, and these numbers are nondecreasing along , because the ends appear in increasing order in . Insert the events of one by one, in their order, into the gaps between consecutive events of , always into the gap marked by a cursor; events placed in the same gap keep the order of insertion. The cursor starts at the gap in front of all events of . Before an end that must be preceded by exactly starts is placed, the cursor moves to the gap immediately after if it is not there already ( leaves it at the front); every other event is placed at the current cursor. Because the prescribed numbers are nondecreasing, the cursor never moves to the left, so keeps its order. Each end of is preceded by exactly the prescribed starts; since a merge is determined by these numbers, is realized, and no relative order of events of changes. The starts of are placed at the cursor like the points; their order relative to the ends of is fixed in the next step. The order is the required interleaving.
3.3 The dynamic program
The algorithm processes the events of all sequences one at a time, in an order it chooses, while maintaining the state
where is the number of processed events of , and and are the numbers of processed starts and processed ends of selected members of . As for merges, a member is selected exactly when its start is processed before its end. This can be tested at either endpoint from alone, since the positions of the start and of the end of in their sequences are fixed: when the start of is processed, is selected if its end has not been processed yet, and when its end is processed, is selected if its start has been processed. A transition processes the next event of some sequence :
-
the start of a member : if is selected, require and increase ;
-
the end of a member : if is selected, require and increase ;
-
a point : gain .
The initial state is zero everywhere; a state is accepting if every sequence is exhausted and for all . The following lemma explains the gain.
Lemma 7 (two counters). Process the events along an interleaving that selects exactly members of each , and let be the resulting window selection. When a point is processed, .
Proof. The events of processed before are exactly those that precede in . By Lemma 3(iii), the selected members of that contain are those whose ends follow in ; their number is minus the number of selected ends preceding . The selected members of that contain are those whose starts precede in , and counts exactly these.
The prescribed size is essential here: the start of a selected member of lies in and may be processed after , so these members cannot be counted through their starts. For the same reason, the gains collected by a sequence of transitions are the true values only if it ends in an accepting state, and only such sequences are used.
Proof of Theorem 4. Every sequence of transitions from the initial state to an accepting state processes the events along an interleaving. The selected sets are closed by Lemma 5, each has size because every selected member increases exactly once, and the total gain is by Lemma 7. Conversely, by Lemma 4 some optimal choice consists of closed sets; by Lemma 5 they are selected by merges, and by Lemma 6 some interleaving realizes all these merges. Following this interleaving never violates a requirement and ends in an accepting state with total gain val(W).
Gains and feasibility of transitions depend only on the state, and every transition increases ; so the best gain of every state is computed in topological order, and predecessor pointers recover an optimal choice. There are at most states with at most transitions each, and every stored value is a sum of at most table entries.
4 From windows to an approximation scheme
We combine windows and prove Theorem 1. The difficulty is the budget: windows taken from an optimal solution share long intervals that contain several representatives, so adding up their sizes would count such intervals repeatedly.
The algorithm. Fix an integer . For every , every sequence in , and all integers with , compute with Theorem 4 the maximum value of a choice and an optimal choice, together with the cost of the window (Lemma 3(i)). Build a directed graph whose nodes are the pairs with and . Every window contributes the arcs
The graph is acyclic because . A path is admissible if it starts at a node ; its output is the union of with the window selections of its arcs. The algorithm computes an admissible path of maximum weight and returns its output.
Lemma 8 (soundness). The output of an admissible path that ends at satisfies and is at least the weight of the path.
Proof. We show by induction along the path that the union built so far has at most as many intervals as the current second coordinate. This holds at the first node. Before an arc of a window with boundaries is used, the union contains : either the arc is the first one and is the initial set, or the union contains the fixed set of the previous window, which includes the containers of that window's last boundary, and this boundary is . The arc therefore adds at most new intervals.
For the value, observe that the kept slabs of consecutive windows on the path are disjoint: the kept slabs of a window end at , whereas those of the next window begin at the right endpoint of its first boundary, which is . Every point is therefore counted by at most one window. If a window counts p, its window selection W is contained in S, so and . Points counted by no window contribute nonnegative values to .
Windows from an optimal solution. Let and its representatives be as in Section 2. For consecutive slabs with and , the optimal window has boundaries for and sizes ; its kept slabs are . Let .
Lemma 9. The set is contained in , each is closed, and for every point in . Hence the maximum value of a choice in the optimal window is at least , summed over the points of these slabs.
Proof. The real boundaries are representatives and belong to , so their containers belong to because is upward closed; sentinels have no containers. The same property makes closed. For a point with , Lemma 2 shows that every interval of containing is a container of , or , all of which are boundaries of the window, or a member of or , both of which are families of the window. Hence contains all intervals of that contain .
Disjoint charges. Fix and call a slab kept if . The kept slabs form maximal runs of at most consecutive indices, with . Let be the set of the optimal window of the -th run, and define the charged sets
Thus is the cost of the -th optimal window.
Lemma 10 (disjoint charges). The sets are pairwise disjoint subsets of O.
Proof. They are subsets of by Lemma 9. Let and , and put ; then . We show that contains , so that . In the earlier window, is a container of some or a member of some , where . In the later window, is a container of some with or a member of some with . A member of an earlier family ends before , whereas a container of ends at or after and a member of a later family ends after ; hence is a container of in the earlier window. A container of starts at or before , whereas a member of a later family starts after ; hence is a container of in the later window. Since contains and with , and sentinels have no containers, is a representative and contains it (possibly ). The set consists of containers of , so the same argument, with , shows that is disjoint from every .
Theorem 5. For every integer , the algorithm returns a set with and , using operations on numbers of polynomial bit length.
Proof. The values are nonnegative and sum to OPT, and every point lies in exactly one slab; so for some the slabs with index congruent to modulo contribute at most OPT/L. If no slab is kept, then OPT OPT/L, so OPT = 0 and any output suffices. Otherwise consider the admissible path that starts at and uses the arcs of the optimal windows of the runs, in order. Consecutive arcs fit together, because the last boundary of one run is the first boundary of the next. The second coordinate of every node on the path is a partial sum of by Lemma 10, so all these arcs exist. By Lemma 9, the weight of the path is at least the contribution of the kept slabs, which is at least . By Lemma 8, the output of the maximum-weight path has and value at least this weight.
The node starts an admissible path, so the algorithm always returns a set. There are at most windows, each solved with operations by the proof of Theorem 4, which gives operations in total and dominates the preprocessing and the path computation; the graph has nodes and at most arcs per window, and path weights are sums of at most table entries.
Proof of Theorem 1. Apply Theorem 5 with .
5 General local rewards and dense subgraphs
We extend the algorithm to the local rewards described in Section 1.1 and derive Theorem 3; for convex bipartite graphs, optimal solutions need not select consecutive vertices (Remark 1).
The reward model. Besides the intervals, the input may contain a finite set of optional points, which can be selected as well. A solution is a pair with and , subject either to and , or to . The objective is a sum of nonnegative rational rewards of three kinds, each given by an explicit table of its values for coverage :
(i) for every point , a point reward , where is nondecreasing;
(ii) for every interval , an interval reward , where if and otherwise, and is nondecreasing in both arguments;
(iii) for every optional point , an optional-point reward , where if and otherwise, and is nondecreasing for each ; no relation between and is required.
Here counts the selected intervals that contain the start of , excluding .
Theorem 6 (general approximation scheme). Suppose that some optimal solution of an objective of this form has an upward-closed interval set . Then for every integer , a feasible solution of value at least OPT can be computed with arithmetic operations on numbers of polynomial bit length.
Proof sketch. The algorithm and its analysis are those of Sections 3 and 4 with three additions, detailed in Section A. First, the event sequence of a kept slab also contains its optional points and the starts of all intervals in . Such an interval belongs to , to , or to no family, so its selection status is 1, the verdict of the dynamic program, or 0, and is given by the formula of Lemma 7, in which does not yet include . Second, the program branches on the status of every optional point and counts the selected ones; this count becomes an additional coordinate of the graph of Section 4. Third, when windows are combined, coverage values and the status of intervals can only increase, while every optional point lies in the kept slabs of at most one window and keeps its status; this is where monotonicity is used, in particular that of in its first argument, because an interval counted with status 0 by one window may be selected by another. Lemma 4 fails for interval rewards, since replacing a selected interval by a container can lower the reward of the replaced interval; the program still optimizes over closed choices only, which suffices because the choice of an optimal window is closed. In the analysis, Lemma 2 applied at the start of an interval shows that an optimal window contains every interval of that starts in its kept slabs.
The applications below verify the hypothesis with Lemma 1.
Convex bipartite graphs. Let be convex with respect to the order of ; if no such order is given, one can be computed in linear time by testing the consecutive-ones property [BL76]. Place at position and represent every with neighbourhood by the interval ; vertices of without neighbours affect no objective and are ignored. Then for every set of such intervals and every . With the optional points and the rewards , the objective of Theorem 6 equals . Replacing a selected interval by an unselected container keeps and both budgets, and it does not decrease the coverage of any point, so Lemma 1 provides an upward-closed optimal solution, and Theorem 6 proves Theorem 3(a).
Interval graphs. Now the vertices are the intervals of , adjacent when they intersect (a representation can be computed in linear time from the graph [BL76]), and we select with . We charge each clique, and each edge, to its member that starts last.
Lemma 11 (charging to the latest start). For every and every ,
and for rationals the edge utility of equals
Proof. Every member of a clique other than the one that starts last, say , starts before and intersects , so it contains ; conversely, any intervals that contain form a clique together with . This gives the first identity. For the second, charge every edge to its later-starting endpoint ; the earlier-starting neighbours of are exactly the intervals containing , of which are selected. If is selected, these edges are worth each for selected and for unselected neighbours; if is not selected, they are worth for selected and 0 for unselected neighbours.
Proof of Theorem 3(b) and (c). For (b), take as interval rewards. For (c), with , use and ; the clipping changes no value that occurs. These rewards are nonnegative and nondecreasing in , and equals
in (b) and in (c). By Lemma 11 they sum to the objectives.
Let and let contain . Every interval intersecting intersects , so replacing by maps the cliques containing injectively to cliques containing . For the edge utility, the edge keeps one selected endpoint, the edges from a common neighbour to and to exchange their values, and an edge from to a vertex not adjacent to gains , where is the status of that vertex. The budget is unchanged, so neither objective decreases. Replacing a selected interval by an unselected container does not decrease either objective, so Lemma 1 and Theorem 6 apply.
6 NP-hardness
We prove Theorem 2 in two stages. First, we establish strong NP-hardness of Maximum Exact Interval Multicover (MAXEIMC) on proper interval families by a reduction from Rectilinear Steiner Arborescence (RSA), using a bounded integral flow problem on a directed grid as an intermediate step. Second, we reduce MAXEIMC to MAXIMC, ensuring that all intervals have equal length. In MAXEIMC, we are given a family of intervals, a set of points, each with a target and a positive weight , and an integer . Each point contributes to the objective if , and 0 otherwise. The objective is to select exactly intervals maximizing the total weight of satisfied points. A family of intervals is proper if its endpoints are distinct and its starts appear in the same order as its ends; for distinct endpoints, this means that no interval contains another.
6.1 From Steiner arborescences to exact-coverage tests
In the rectilinear Steiner arborescence problem (RSA), we are given a set of terminals in the plane, each with nonnegative integer coordinates. We seek a shortest union of horizontal and vertical segments containing, for every terminal, a path from the origin that is monotone in both coordinates. RSA is strongly NP-complete [SS05] (see also [AMP15, Section 2]), so we may assume that all coordinates are bounded by a polynomial in ; we also assume . Let denote the directed integer grid on the smallest rectangle containing and , with arcs pointing rightward and upward. By a standard observation [21], equals the minimum number of arcs in an arborescence of rooted at that contains . By Lemma 15, RSA reduces to the following bounded integral flow problem on the directed grid : minimize the number of arcs with positive flow, subject to for every arc , supply at , demand one at each terminal, and zero supply elsewhere. Such flows exist, and . Equivalently, we may maximize the number of arcs carrying zero flow. We denote the optimum of this maximization problem by .
The construction. We now reduce this bounded integral flow problem on a directed grid to MAX-EIMC. The grid order below is topological and admits consecutive frontier replacements; these are the structural properties used by the construction. Process the vertices of row by row from the bottom and, within a row, from left to right. The frontier consists of the arcs from processed to unprocessed vertices. By Lemma 16, these arcs can be ordered such that processing a vertex replaces a consecutive subsequence of incoming arcs by the outgoing arcs . More precisely, the ordered frontier changes from to , where juxtaposition denotes list concatenation. After every vertex we insert an identity stage, which leaves the frontier unchanged. This gives stages with frontiers , the first and the last of them empty. Let be the total supply of the vertices processed by stage , with supply at , at terminals and 0 elsewhere; for every feasible flow, the total flow on is .
For every stage , and we create a packet of identical candidate intervals. The number of selected candidates from this packet represents the flow on . Every stage has a center site. The packets of stage start between the centers of stages and and end between the centers of stages and , so the center of stage is covered by exactly the candidates of stage . Between two consecutive centers, the packets of stage end and those of stage start in the following order, interleaved with points of two kinds: guards, of weight , and probes, of weight 1. Intuitively, guards enforce the flow's feasibility, whereas probes reward arcs carrying no flow. Our choice of weights will guarantee that any optimal solution must satisfy all guards.

Figure 3: Stages , which processes with and , and , an identity stage, between the centers of stages and , in the order of endpoints before lengths are adjusted. The ordered frontier changes from to : the consecutive block is replaced by , preserving the order of the remaining arcs. The identity stage leaves . Packet starts and ends follow these orders, ensuring properness. The sketch on the right shows the arcs incident to . Bars are packets of stage (gray), (blue) and (green); dashed lines are guards, dotted lines probes, and their respective targets are shown at the bottom. If all guards are satisfied, every arc keeps its number of selected candidates. Furthermore, the two leftmost guards together enforce flow conservation at , since is precisely the supply of . The leftmost probe is satisfied exactly when carries no flow.
-
The center of stage carries a guard with target .
-
If stage processes : for each arc of in order, end its old packet, start its new packet, and place a guard with target ; then end the packets of , start those of , and place a guard with target ; then treat like , with target .
-
If stage is an identity stage: for each frontier arc in order, end its old packet, start its new packet, and place a guard with target ; if the arc was created in the preceding vertex stage, place a probe with target between its two packets.
Finally, we slightly perturb the endpoints of the candidate intervals in each packet to obtain a proper interval family. Sites and endpoints receive consecutive integer coordinates in this order. Let , let be the number of guards and the total weight of the tests satisfied by .
Lemma 12 (exact-coverage instance). The construction takes polynomial time and yields a proper interval family, polynomially bounded positive integer point weights, and at most the number of candidates, such that .
Proof sketch. Between the centers of stages and , only candidates of these two stages are active, and at the center of stage exactly those of stage . So if satisfies all guards, the center guards force selected candidates in each stage , and . A packet replacement changes the coverage by the difference of the old and new selected counts, and consecutive guards with equal targets force equal counts, so flow values are copied (Figure 3); replacing by changes the coverage by , the supply of , so flow is conserved. Hence the counts form a feasible flow, and conversely every feasible flow is realized while satisfying all guards. A probe sees minus the count of its arc's old packet, so it rewards exactly the arcs without flow. Selections satisfying all guards thus reach , while violating a guard leaves at most . In every stage, starts and ends of candidates both follow the frontier order and then , so the family is proper. Section B gives the details.
6.2 From exact coverage to demands
The existence of positive equal masses follows from the classical proper-to-unit interval conversion, which preserves endpoint order [BW99]. Our reduction requires the following polynomially-bounded version.
Lemma 13 (equal masses). Consider a family of intervals with distinct endpoints and points, none of them an endpoint, such that every gap between two consecutive endpoints contains a point. If the family is proper, there are integers for the points and , computable in polynomial time, such that every interval of the family satisfies , and and . Conversely, if positive masses with equal sums exist, the family is proper.
We prove Lemma 13. For a proper family, we first construct positive real masses using a strictly increasing cumulative-weight function whose increase over each interval is 1. Total unimodularity then yields integer masses with polynomial bounds.
Assume first that the family is proper. Index the intervals by their starts and the points from left to right. Every interval contains a point; let and denote the indices of the first and last points in . We have and by properness and the presence of a point in every gap between consecutive endpoints.
Real masses. We construct a strictly increasing with for all . Here represents the cumulative weight of the first points. Let and , and handle in turn, with defined on : if , extend strictly increasingly up to ; then set and interpolate linearly between and . This keeps increasing, because and, if , also since . Finally, extend strictly increasingly up to . The differences are positive masses with all interval sums ; after scaling, .
Integral masses. Let be the incidence matrix with if and only if . If for , then , so as well. Thus every column has consecutive ones. Appending a column of ones preserves this property, and a matrix with consecutive ones in every column is totally unimodular, as is well known. (In a square submatrix, subtracting from each row its predecessor, from the bottom up, preserves the determinant and leaves in each column at most one entry +1 and at most one entry -1, which gives the incidence matrix of a directed graph.) Negating the appended column preserves total unimodularity, so the matrix is totally unimodular.
The real masses constructed above show that the polyhedron is nonempty, where . After deleting redundant equations, it has a basic feasible solution, which can be computed in polynomial time by linear programming. Its basis matrix has at most rows, determinant , and cofactors in . By Cramer's rule, every basic variable equals a determinant obtained from the basis matrix by replacing one column with the right-hand side, whose entries have absolute value at most ; expanding along this column bounds the variable by . Hence and are integers bounded by , so , and because every interval contains a point.
Converse. If an interval strictly contains another, the gap immediately after its left endpoint contains a point outside the smaller interval. Positive point masses therefore give the larger interval strictly greater total mass, contradicting equal sums.
We now reduce MAXEIMC on proper interval families with polynomially bounded positive integer weights to MAXIMC. Consider such an instance with , and let be an integer upper bound on its point weights. Add a point with zero reward in every gap between consecutive endpoints, and let and be as in Lemma 13. For each original point , set ; for added points, set . Thus . Define for . Then , and is nondecreasing because decreases by at most in one step while . Since every interval has mass , double counting gives, for every with ,
Replace every point by points of unit profit and demand , for , placed near ; their total profit at coverage is . Assigning consecutive segments of lengths proportional to to the original and added points makes all intervals equally long (Section B.4). The number of satisfied points is nondecreasing in and , so its maximum over is attained at . By (1), we have . Section B.4 verifies the size of the construction, its integer coordinates of polynomial size, and the remaining conditions of Theorem 2. Composed with the first reduction, this proves Theorem 2; membership in NP is clear.
7 An exact algorithm for bounded demands
Theorem 7. If all demands are at most , then MAXIMC with profits can be solved exactly with operations besides sorting and arithmetic on profits.
Proof. Sweep the starts, points and ends in increasing order, with ties refined as in Section 2. A state records the number of intervals selected so far and a set of at most selected intervals that are currently active; the table stores the largest profit of a history leading to the state. At a start, either skip the interval or, if , select it: increase and insert the interval into , and if then has members, discard the one that ends first. At an end, remove the interval from if it is there. At a point , gain if .
We claim that at every point , where is the set of intervals selected so far. When an interval is discarded, consists of selected intervals that end after . As long as is active, none of them ends, and a later discard keeps a set of intervals ending after , because it removes the member of that ends first, where is the new interval. Hence while a discarded interval is active, and when , every discarded interval has ended and consists of all active selected intervals. Since all demands are at most , the gains are exact. The future evolution depends only on , so histories with the same state can be merged. There are at most states per event, and each update takes operations.
The running time is exponential in , so this is an XP algorithm with respect to the maximum demand, not a fixed-parameter one.
8 Concluding remarks
Open questions include an efficient PTAS for MAXIMC, its complexity for a common demand given as part of the input, fixed-parameter tractability in the maximum demand, the complexity of Bipartite Dense Subgraph on convex bipartite graphs and of Maximum -Vertex Cover on interval graphs, interval costs, under which containment exchange fails, and circular arcs, where crossing families form a cycle.
Use of generative AI. The authors used OpenAI ChatGPT and Anthropic Claude during the research and writing process. The tools suggested formulations of definitions, theorem and proof drafts, leads for related-work searches, and edits to prose and organization; some suggestions were incorporated after human review and independent verification against the mathematics and primary literature. The authors assume responsibility for all content.
References
[ALSKV26] Dimitris Avramidis, Alexandra Lassota, Ulrike Schmidt-Kraepelin, and Adrian Vetta. Computing Thiele rules on interval elections and their generalizations, 2026.
[AMP15] Oswin Aichholzer, Wolfgang Mulzer, and Alexander Pilz. Flip distance between triangulations of a simple polygon is NP-complete. Discrete & Computational Geometry, 54(2):368–389, 2015.
[AS04] Alexander A. Ageev and Maxim I. Sviridenko. Pipage rounding: A new method of constructing algorithms with proven performance guarantee. Journal of Combinatorial Optimization, 8(3):307–328, 2004.
[Bak94] Brenda S. Baker. Approximation algorithms for NP-complete problems on planar graphs. Journal of the ACM, 41(1):153–180, 1994.
[BFGG22] Siddharth Barman, Omar Fawzi, Suprovat Ghoshal, and Emirhan Gürpınar. Tight approximation bounds for maximum multi-coverage. Mathematical Programming, 192(1):443–476, 2022.
[BK10] Jonathan Backer and J. Mark Keil. Constant factor approximation algorithms for the densest k-subgraph problem on proper interval graphs and bipartite permutation graphs. Information Processing Letters, 110(16):635–638, 2010.
[BL76] Kellogg S. Booth and George S. Lueker. Testing for the consecutive ones property, interval graphs, and graph planarity using PQ-tree algorithms. Journal of Computer and System Sciences, 13(3):335–379, 1976.
[BW99] Kenneth P. Bogart and Douglas B. West. A short proof that ‘proper = unit’. Discrete Mathematics, 201(1–3):21–23, 1999.
[CG19] Reuven Cohen and Mira Gonen. On interval and circular-arc covering problems. Annals of Operations Research, 275(2):281–295, 2019.
[CGLO17] Reuven Cohen, Mira Gonen, Asaf Levin, and Shmuel Onn. On nonlinear multi-covering problems. Journal of Combinatorial Optimization, 33(2):645–659, 2017.
[EL15] Edith Elkind and Martin Lackner. Structure in dichotomous preferences. In Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence (IJCAI 2015), pages 2019–2025, 2015.
[HM85] Dorit S. Hochbaum and Wolfgang Maass. Approximation schemes for covering and packing problems in image processing and VLSI. Journal of the ACM, 32(1):130–136, 1985.
[ITU16] Yuta Inaba, Satoshi Tayu, and Shuichi Ueno. A 3/2-approximation algorithm for the bipartite dense subgraph problem on bipartite permutation graphs. In Proceedings of the 2016 IEICE General Conference. Institute of Electronics, Information and Communication Engineers, March 2016. Session AS-1, presentation AS-1-3.
[LTZC26] Peng Li, Xiangzhi Tu, Zhao Zhang, and Yixin Cao. Partial interval multicover: Approximation and complexity. Theoretical Computer Science, 1075:115958, 2026.
[Man17] Pasin Manurangsi. Almost-polynomial ratio ETH-hardness of approximating densest k-subgraph. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing (STOC 2017), pages 954–961. ACM, 2017.
[Man19] Pasin Manurangsi. A note on max k-vertex cover: Faster FPT-AS, smaller approximate kernel and improved approximation. In 2nd Symposium on Simplicity in Algorithms (SOSA 2019), volume 69 of OASIcs, pages 15:1–15:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019.
[Met26] Vacharapat Mettanant. Efficient algorithms for the interval maximum coverage problem. Theoretical Computer Science, 1069:115802, 2026.
[MS26] Pasin Manurangsi and Krzysztof Sornat. Polynomial-time algorithm for Thiele voting rules with voter interval preferences, 2026.
[Non11] Tim Nonner. PTAS for densest k-subgraph in interval graphs. In Algorithms and Data Structures (WADS 2011), volume 6844 of Lecture Notes in Computer Science, pages 631–641. Springer, 2011.
[Non16] Tim Nonner. PTAS for densest k-subgraph in interval graphs. Algorithmica, 74(1):528–539, 2016.
[Pas19] Vangelis Th. Paschos. A polynomial time approximation schema for maximum k-vertex cover in bipartite graphs, 2019.
[SS05] Weiping Shi and Chen Su. The rectilinear Steiner arborescence problem is NP-complete. SIAM Journal on Computing, 35(3):729–740, 2005.
[STU11] Anish Man Singh Shrestha, Satoshi Tayu, and Shuichi Ueno. Bandwidth of convex bipartite graphs and related graphs. In Computing and Combinatorics (COCOON 2011), volume 6842 of Lecture Notes in Computer Science, pages 307–318. Springer, 2011.
[WBG16] Rémi Watrigant, Marin Bougeret, and Rodolphe Giroudeau. Approximating the sparsest k-subgraph in chordal graphs. Theory of Computing Systems, 58(1):111–132, 2016.
[XRZ24] Yuxuan Xu, Yingli Ran, and Zhao Zhang. Approximation algorithm for the maximum interval multi-cover problem. In Algorithmic Aspects in Information and Management (AAIM 2024), volume 15179 of Lecture Notes in Computer Science, pages 28–34. Springer Nature Singapore, 2024.
[XRZ25] Yuxuan Xu, Yingli Ran, and Zhao Zhang. A 1/2-approximation algorithm for maximum interval multi-cover. Theoretical Computer Science, 1049:115369, 2025.
[ZRZ+26] Mingchao Zhou, Yingli Ran, Lei Zhao, Xiangzhi Tu, and Zhao Zhang. Partial interval multicover is NP-complete even for unit intervals. arXiv:2610.41182, 2026.
A Proof of the general approximation scheme
We prove Theorem 6. Recall the reward model of Section 5. All tables are extended to by saturation, which changes no value of a feasible solution.
Windows with general rewards. Fix a window as in Definition 1 and an integer . A general choice consists of sets with , each of them closed, and a set of exactly optional points in the kept slabs. With , its value is the sum of the point rewards and the optional-point rewards over the points and optional points in the kept slabs, and of the interval rewards over the intervals that start in a kept slab.
Lemma 14. For every window and every , a general choice of maximum value, and its value, can be computed with arithmetic operations.
Proof. For , the event sequence now also contains the optional points of and the starts of all intervals of that start in ; by Lemma 3(ii), such an interval belongs to , to , or to no family, and only members of were already present. The state receives one more counter , the number of selected optional points processed so far. The transitions of Section 3.3 are extended as follows; in all cases the gain is evaluated before the counters are updated.
-
At an optional point , choose ; if , require and increase . Gain .
-
At the start of an interval in , let if , let be the verdict of Section 3.3 if , and let otherwise. Gain , and then, if , update as before.
Accepting states additionally require . The proof of Lemma 7 applies verbatim to every position of , not only to points: the selected members of that cover are those whose ends follow in , and the selected members of that cover are those whose starts precede in . In particular, at the start of , the counter does not include , in accordance with the definition of . The selection status used for is its status in . Hence every accepting transition sequence yields a general choice whose value is the total gain; the selected sets are closed by Lemma 5. Conversely, every general choice is realized by some interleaving (Lemma 5 and 6; the proof of Lemma 6 applies verbatim, since the new events of are placed at the cursor like points) together with the branch decisions . If no general choice exists, no state is accepting and the window yields no arc. The state space grows by the factor .
The dynamic program optimizes over closed choices only. This suffices, because the windows used in the analysis come from an upward-closed optimal solution, whose intersections with the families are closed.
The algorithm. For every window and every with , compute the maximum value val of a general choice by Lemma 14, together with the cost of the window. The nodes of the graph are triples with , and ; under a total budget, the nodes satisfy instead. A window with value val for yields the arcs of weight val whenever the head is a node. Admissible paths start at nodes , and the output of a path consists of the union of with the window selections of its arcs, together with the union of the sets of its arcs.
Soundness. Let be the output of an admissible path ending at . As in Lemma 8, . The kept slabs of the windows on the path are disjoint, so the sets are disjoint and ; in particular the output is feasible. Every reward event, that is, every point, optional point and interval start, lies in the kept slabs of at most one window of the path. Consider an event counted by a window with selection . A point reward does not decrease, because . An interval reward of does not decrease, because , , and is nondecreasing in both arguments. An optional point in the kept slabs of the window is selected in exactly when it belongs to , because no other window selects it; since is nondecreasing, its reward does not decrease. Events counted by no window contribute nonnegative rewards. Hence the value of the output is at least the weight of the path.
Approximation. Fix an optimal solution with upward closed, and define representatives and slabs as in Section 2. Every reward event lies in exactly one slab, because points, optional points and starts of intervals are distinct from the right endpoints of the representatives. Choose the residue as in the proof of Theorem 5, so that the rewards of in the slabs with index congruent to modulo sum to at most OPT/L. For each run of kept slabs, take the optimal window of Section 4 with and the general choice , ; it is closed because is upward closed. By Lemma 2, applied at every position in the kept slabs, contains every interval with ; hence for all points, optional points and starts in the kept slabs, and every interval of that starts in the kept slabs belongs to . Intervals outside do not belong to . Therefore this general choice has the same rewards as on the kept slabs. The interval coordinates along the resulting path are bounded by as in Lemma 10, the optional-point coordinates by because the kept slabs of the runs are disjoint, and under a total budget their sum is at most ; so all arcs exist. The path has weight at least OPT, and soundness transfers this weight to the output.
Running time. We may assume . There are at most pairs of windows and values of , each solved with operations, and the graph has polynomially many nodes and arcs. Every stored value is a sum of at most table entries.
Remark 1 (non-consecutive optima). Optimal solutions need not select consecutive vertices of : for neighbourhoods , and and budgets , , the unique optimum selects the first and the third vertex. Since for fixed the best consists of the points with the most neighbours in , and symmetrically, the difficulty lies entirely in the joint choice.
Why later endpoints. Charging edges to their selected endpoints instead of their later-starting endpoints would give the term for , which decreases in the coverage when (as for Maximum -Vertex Cover); such rewards are not monotone, and Lemma 8 would fail.
B Details of the hardness reduction
This appendix completes the proofs of Lemma 12 and Theorem 2. We use the notation of Section 6: is the directed grid on the smallest integer rectangle containing and , with arcs; ; the supply is at , at the terminals and 0 elsewhere.
B.1 Flows and arborescences
Lemma 15. The minimum number of arcs of an arborescence in rooted at that contains equals the minimum number of arcs with positive flow in an integral flow with whose net outflow at every vertex equals its supply. Such flows exist.
Proof. Given an arborescence, send one unit from to every terminal along its tree path; the flow is at most on every arc and positive only on arcs of the arborescence. Conversely, consider a feasible flow and a vertex incident to an arc with positive flow. If the arc leaves , the inflow of is at least its outflow, because the supply of is nonpositive; so has an incoming arc with positive flow in either case, and so does every terminal. Choose one such incoming arc for every such vertex . Following chosen arcs backwards never repeats a vertex, because is acyclic, and can only stop at ; hence the chosen arcs form an arborescence rooted at that contains , and it has at most as many arcs as the flow has arcs with positive flow. Feasible flows exist because monotone paths from to every terminal exist in the rectangle.
B.2 The frontier
Lemma 16. When the vertices of are processed row by row from the bottom and, within each row, from left to right, the frontier can be listed so that processing a vertex replaces a consecutive block , consisting of the arcs entering from the left and from below in this order, by the block , consisting of the existing arcs leaving upwards and to the right in this order.
Proof. Immediately before the vertex is processed, list the frontier as follows: first the upward arcs leaving the processed vertices of row , from left to right; then the arc from to , if it exists; finally the upward arcs leaving row at the columns , from left to right. These are exactly the arcs from processed to unprocessed vertices. The arc entering from below is the first arc of the last group, so is consecutive. Replacing it by the upward arc leaving and the arc from to gives the same description for the next vertex of the row. At the end of a row, the frontier consists of the upward arcs leaving that row, which is the description for the first vertex of the next row. The first frontier is empty, so induction proves the claim; arcs that do not exist at the boundary of the rectangle are simply omitted.
B.3 Proof of Lemma 12
The stages, frontiers , totals , packets, centers, guards and probes are as in Section 6.1. Summing the supplies of the processed vertices shows , , and, for every feasible flow, that the total flow on is , because no arc enters a processed vertex from an unprocessed one. For a selection , let denote the number of selected candidates of the packet of in stage .
Claim 1. If satisfies all guards, then , and there is a feasible flow with for all and .
Proof. Between the centers of stages and , only candidates of these two stages are active. At the center of stage exactly the candidates of stage are active, so its guard gives , and summing over gives ; the first and the last stage have empty frontiers and targets 0. Consider a vertex stage that processes , with . Before the first replacement the coverage is by the center guard of stage . Replacing the packet of an arc changes the coverage by , and the next guard has target again, so ; inductively this holds for all arcs of . Replacing by changes the coverage from to , and the guard demands ; since is the supply of , the selected counts satisfy conservation at . The arcs of are copied as those of , now with target . Identity stages copy every arc in the same way. Hence every arc has a single value in all stages in which it lies on the frontier. Every arc of lies on some frontier, every vertex is processed once, and conservation holds at every vertex; so is a feasible flow.
Claim 2. Every feasible flow y is realized by a selection that satisfies all guards: select any candidates of the packet of a in every stage.
Proof. At every center, the coverage is the total flow on the frontier, which is . Each replacement in a vertex stage or an identity stage changes the coverage by the difference between new and old counts, which is zero for copied arcs and equals the supply of v for the replacement of by ; hence every guard sees its target.
Claim 3. If satisfies all guards, the probe of an arc is satisfied exactly when . Every arc of has exactly one probe.
Proof. In the identity stage after the vertex stage that created , the coverage before the old packet of ends is , by the preceding guard, and at the probe it is , because the new packet has not started. Every arc is created exactly once, namely when its tail is processed.
Claim 4. The candidates form a proper family.
Proof. All endpoints are distinct because all events have distinct coordinates. The starts of the candidates of stage lie between the centers of stages and , and their ends between the centers of stages and ; within the stage, the starts appear in the order of , listed as in a vertex stage, and the ends appear in the order of as well, listed as the decomposition used by the next stage, which by the proof of Lemma 16 is the same list; in both cases the candidates of one packet follow the order of . Hence the starts and the ends of all candidates are both ordered by stage, then by frontier position, then by .
Proof of Lemma 12. By Claims 1, 2 and 3, the selections satisfying all guards have size , and their maximum value of is , using Lemma 15. A selection of size violating some guard has , since there are probes of weight 1. Hence every maximizer satisfies all guards. Feasible flows exist, so is at most the number of candidates. Properness is Claim 4. The point weights are 1 and , hence positive integers bounded by the grid size. The grid has vertices and arcs, there are stages with at most frontier arcs each, and every packet has candidates; all quantities are polynomial in the size of the flow instance instance, because its coordinates are polynomially bounded.
B.4 Details of the reduction from exact coverage to demands
Coordinates. Let be the number of intervals and the number of original and added points, before replacement; at most points are added. For each such point , let be the number of replacement points created at ; then . Let . Assign to the original and added points, from left to right, consecutive open segments of lengths , with the segment for given by , where is the total mass of the points to its left. Move every endpoint to times the total mass of the points to its left, and place the replacement points for at the integers . These lie inside the segment for because . Because an added point lies between any two consecutive endpoints, all endpoints remain distinct; every interval now has length , all coordinates are distinct integers, no point is an endpoint, and each replacement point is covered by exactly the intervals that covered the point it replaces. Points whose demand exceeds the number of intervals covering them are never satisfied and are removed, which changes no number of satisfied points; afterwards every point satisfies .
Size. The number of replacement points is at most , and all coordinates are at most . Since and is polynomially bounded, the construction has polynomial size and polynomially bounded numbers. The preceding reduction produces instances satisfying this weight bound, with .
Targets. For every integer reward threshold , the MAXEIMC instance has a selection of exactly intervals with reward at least if and only if the resulting MAXIMC instance has a selection of at most intervals satisfying at least points. This includes thresholds for which or exceeds the number of replacement points.
C Trimming a solution that exceeds the budget
Let and be such that is an integer. Take the intervals for and points of demand at the integers . The point lies in exactly the intervals with , so these intervals together satisfy all points, whereas any of them satisfy at most one point, because distinct points lie in distinct sets of intervals. Far to the right, add intervals that all contain further points of demand and no other point. A set of at most intervals can satisfy points of only one of the two groups, so an optimal solution satisfies points. The first intervals satisfy as many points, but every of them satisfy at most one point.