arXiv:2608.30728cs.DSAug 2026

Manuscript Offprint

arXiv:2608.30728

On the maximum weight convex problem for some geometric graph-convexities

Fariza Aklouche, Pierre Bergé, Michel Habib

Abstract

For a given geometric graph-convexity on a graph G equipped with a weight function on the vertices with value in Z, the MAX WEIGHT CONVEX SET problem consists in determining the convex set S with maximum weight (sum of the weight of the vertices in S). Although the problem is NP-complete in general, it remains polynomial for particular cases.

After a survey of known results, our main contribution uses a generalisation of the maximum subsequence problem to laminar trees. Then we derive a linear algorithm for proper interval graphs and a quadratic one for interval graphs. Both improve the state of the art.

1 Introduction to convexity spaces and geometric convexities

Definitions. A convexity space is an ordered pair (V,C)(V, \mathcal{C}), where VV is a non-empty set and C\mathcal{C} is a collection of VV-subsets, to be regarded as convex sets, such that:

(i) ∅,V∈C\emptyset, V \in \mathcal{C}.

(ii) Arbitrary intersections of convex sets are convex.

(iii) Every nested union of convex sets is convex.

Given a convexity space (V,C)(V, \mathcal{C}), the convex hull of X⊆VX \subseteq V denoted by conv⁡(X)\operatorname{conv}(X) is the smallest convex set containing XX, being the intersection of all the convex sets that contain XX. Families satisfying (iii) are known as inductive systems. A vertex xx of a convex set SS is an extreme point of SS if S∖{x}S \setminus \{x\} is also a convex set.

Introduced first by Edelman and Jamison in 1985 [17], convex geometries appeared in the literature under different names and aspects, the most famous one being antimatroids. The convexity C is a convex geometry if it satisfies the Minkowsky-Krein-Milman property: every convex set is the convex hull of its extreme vertices. Equivalently: a convex geometry is a

∗^{*}An extended abstract [1] of this version was presented in conference COSI, Bejaia, Algeria, 2025 convexity space satisfying the Anti-Exchange Property: for any convex set SS and two distinct points x,y∉Sx, y \notin S, x∈conv(S∪{y})x \in \mathrm{conv}(S \cup \{y\}) implies y∉conv(S∪{x})y \notin \mathrm{conv}(S \cup \{x\}). Given a convex geometry (V,C)(V, \mathcal{C}), then the set system (V,F)(V, \mathcal{F}) where F={X:X=V∖Y,Y∈C}\mathcal{F} = \{X : X = V \setminus Y, Y \in \mathcal{C}\} is an antimatroid. We call the sets X∈FX \in \mathcal{F} feasible sets. In the remainder, we say that a convexity space is geometric if it is a convex geometry.

Following Duchet [15], a graph-convexity space is an ordered pair (G,C)(G, \mathcal{C}), formed by a connected graph G=(V,E)G = (V, E) and a convexity C\mathcal{C} on VV such that (V,C)(V, \mathcal{C}) is a convexity space satisfying the additional axiom:

(iv) Every member of C induces a connected subgraph of G.

Antimatroids capture various elimination orderings on graph classes, which are the basis of numerous efficient algorithms. There is a close relationship between convexity spaces and the notion of abstract betweenness defined by Menger [26]. Betweenness is a ternary relation, that relates the “placement” of a point z between two other points a and b. We say z belongs to the interval I[a,b]I[a,b] when z is between a and b. The notion of interval varies with every betweenness. As noticed by Chvátal [10], several abstract betweennesses can be defined on graphs. Given a betweenness relation, one can deduce a graph-convexity space as follows: C⊆V(G)C \subseteq V(G) is convex if ∀a,b∈C\forall a, b \in C and ∀z∈I[a,b],z∈C\forall z \in I[a,b], z \in C.

As a first example, the set of vertices A is a geodesic convex set if A contains all vertices which belong to shortest paths between vertices in A. Geodesic convexity is geometric for a graph G if and only if (iff) G is a Ptolemaic graph, i.e. chordal and distance hereditary [22].

A well studied antimatroid is the one that rises from chordal graphs, i.e. the graphs where the largest induced cycle is a triangle. Chordal graphs are characterized by a vertex ordering known as a perfect elimination ordering (PEO). An ordering σ=v1,v2,…,vn\sigma = v_1, v_2, \ldots, v_n is a PEO for GG if for all i∈[n]i \in [n], viv_i is simplicial in G[v1,…,vi−1]G[v_1, \ldots, v_{i-1}], meaning the neighbourhood of viv_i to its left in σ\sigma induces a clique. Thus vnv_n is a simplicial vertex in GG. The set system (V,F)(V, \mathcal{F}) whose ground set are the vertices of a chordal graph, and its feasible sets are the suffixes of PEOs form an antimatroid [25]. Given such an antimatroid, the corresponding convex geometry is the tuple (V,N)(V, \mathcal{N}) where S⊆VS \subseteq V is convex if all chordless paths between the vertices in SS are also in SS. That is, for all a,c∈Sa, c \in S, if bb lies in a chordless (a,c)(a, c)-path in GG, then b∈Sb \in S. This is known as the monophonic convexity or simply m-convexity. Monophonic convexity yields a convex geometry on a graph GG iff GG is weak polarizable (every subgraph is chordal or it has a proper homogeneous set) [14]. Naturally this class of graphs contains all chordal graphs.

Another well studied antimatroid is the double shelling antimatroid of posets. Let P(V,≺)P(V, \prec) be a poset. The double shelling antimatroid on PP is the set system whose feasible sets are unions of ideals and filters of PP. The corresponding convex geometry is a set system (V,N)(V, \mathcal{N}), where a set S∈NS \in \mathcal{N} is convex if for all a,c∈Va, c \in V, every bb that satisfies a≺b≺ca \prec b \prec c or c≺b≺ac \prec b \prec a is also in SS. For a more comprehensive survey on this topic, we refer the reader to the monograph Greedoids by Korte, Lovász, and Schrader [25], and to [20, 15] for more on graph convexities.

As considered by Chvatal [10], many other discrete convexities in graphs can be defined via intervals. As an example, let us mention the m3m_3 convexity in which I[x,y]={z∣z∈pI[x, y] = \{z \mid z \in p an induced path of length ≥3\geq 3 from xx to y}y\}. If GG is HDD-free (House, Domino, Diamond), then the m3m_3-convexity is a convex geometry [20].

Furthermore, the 2-paths-convexity, used for the study of cocomparability graphs (i.e. complement of comparability graphs) and asteroidal triple free graphs (AT-free graphs for short) is defined for the following notion of interval: I[x,y]={z∣∃p,q two chordless paths, such that p from z to x avoids N[y] and q from z to y avoids N[x]}I[x, y] = \{z \mid \exists p, q \text{ two chordless paths, such that } p \text{ from } z \text{ to } x \text{ avoids } N[y] \text{ and } q \text{ from } z \text{ to } y \text{ avoids } N[x]\}. If GG is a cocomparability graph, the 2-paths convexity is geometric.

Following [24], a convexity space is said to have Carathéodory number dd iff dd is the smallest positive integer with the following property: if a point lies in the convex hull of a set XX, then it lies in the convex hull of a subset X0⊆XX_0 \subseteq X such that ∣X0∣≤d|X_0| \leq d.

Problem studied. In this paper, we mainly deal with discrete convex geometry on which we consider the simple optimization problem proposed below. It has applications to polytopes [2, 13] and has already gave rise to very nice combinatorial algorithms. We will consider some of them here.

Name : MAX WEIGHT CONVEX SET

Data: ground set V, equipped with a weight function ω ⁣:V→Z\omega\colon V \to \mathbb{Z} and a discrete convex geometry C\mathcal{C} on V.

Result: SS a C\mathcal{C}-convex set in VV with maximum weighta^{a}: ω(S)=Σx∈Sω(x)\omega(S) = \Sigma_{x \in S} \omega(x).

a^{a}It should be noted that the weight of the empty set is 0, which could be the optimum if for every vertex x∈Vx \in V, ω(x)<0\omega(x) < 0.

Unfortunately, this problem is NP-hard in general using an easy reduction from INDEPENDENT SET [19]. Therefore it is very interesting to consider graph classes on which this problem can be solved efficiently. If a graph G admits several connected components G1,…,GkG_1, \ldots, G_k for every graph convexity C\mathcal{C}, one can consider the problem on each connected component and the value for G is simply the maximum of the computations. Therefore in what follows all our graphs are supposed to be connected.

The difficulty of the problem comes from the closure operation associated with C. Suppose we have a subset A⊆V(G)A \subseteq V(G) with a very positive weight, to go from A to conv(A) we could be forced to add vertices with negative weights. Another difficulty comes from the number of convex sets to be considered. In some graph classes, a given graph G may admit an exponential number of convex sets.