Fixed-Parameter Tractability of Maximum Colored Path and Beyond
Fedor V. Fomin, Petr A. Golovach, Tuukka Korhonen, Kirill Simonov, Giannos Stamoulis
Abstract
We introduce a general method for obtaining fixed-parameter algorithms for problems about finding paths in undirected graphs, where the length of the path could be unbounded in the parameter. The first application of our method is as follows.
We give a randomized algorithm, that given a colored n-vertex undirected graph, vertices s and t, and an integer k, finds an (s, t)-path containing at least k different colors in time 2 k n O(1) . This is the first FPT algorithm for this problem, and it generalizes the algorithm of Björklund, Husfeldt, and Taslaman [SODA 2012] on finding a path through k specified vertices. It also implies the first 2 k n O(1) time algorithm for finding an (s, t)-path of length at least k.
Our method yields FPT algorithms for even more general problems. For example, we consider the problem where the input consists of an n-vertex undirected graph G, a matroid M whose elements correspond to the vertices of G and which is represented over a finite field of order q, a positive integer weight function on the vertices of G, two sets of vertices S, T ⊆ V (G), and integers p, k, w, and the task is to find p vertex-disjoint paths from S to T so that the union of the vertices of these paths contains an independent set of M of cardinality k and weight w, while minimizing the sum of the lengths of the paths. We give a 2 p+O(k 2 log(q+k)) n O(1) w time randomized algorithm for this problem.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext dba06eba-a5ec-4088-810a-9caf87d4f8fcCited by top-tier papers2
- Path Cover, Hamiltonicity, and Independence Number: An FPT PerspectiveFedor V. Fomin, Petr A. Golovach, Nikola Jedlicková, Jan Kratochvíl et al.STOC 2026 · 7 citations
- Determinantal SievingEduard Eiben, Tomohiro Koana, Magnus WahlströmSODA 2024 · 3 citations
Builds on2
Related papers
- Solving hard cut problems via flow-augmentationEun Jung Kim, Stefan Kratsch, Marcin Pilipczuk, Magnus WahlströmSODA 2021
- Planar Disjoint Shortest Paths is Fixed-Parameter TractableMichal Pilipczuk, Giannos Stamoulis, Michal WlodarczykSODA 2026
- Fair Short Paths in Vertex-Colored GraphsMatthias Bentert, Leon Kellerhals, Rolf NiedermeierAAAI 2023 · 4 citations
- Locally Rainbow PathsTill Fluschnik, Leon Kellerhals, Malte RenkenAAAI 2024
- Augmenting to 4-vertex connectivity is fixed-parameter tractableJohannes Carmesin, M. S. RamanujanSODA 2026 · 5 citations
