← Latest papers
🤖 AI

Maximum Satisfiability of Simple Temporal Problems

This paper investigates the parameterized complexity of the Maximum Satisfiability of Simple Temporal Problems (MAXSTP), demonstrating that while the problem is W[1]-hard when parameterized by the number of variables or treewidth, it admits fixed-parameter tractable solutions when combining the maximum coefficient magnitude with the vertex cover size.

Original authors: Johannes K. Fichte, Johanna Groven, Peter Jonsson, Victor Lagerkvist, Jorke M. de Vlas

Published 2026-07-28
📖 5 min read🧠 Deep dive

Original authors: Johannes K. Fichte, Johanna Groven, Peter Jonsson, Victor Lagerkvist, Jorke M. de Vlas

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to organize a massive, chaotic schedule for a group of friends. You have a list of rules: "Alice must arrive at least 10 minutes before Bob," "Charlie can't show up until 2 PM," and "Dave needs to leave exactly 1 hour after Eve." In the world of computer science, this is called a Simple Temporal Problem (STP). It's a way for computers to reason about time and make sure all these rules fit together without crashing into each other. Usually, these problems are easy to solve; the computer can quickly tell you if a perfect schedule exists or if the rules are impossible to follow.

But what happens when the rules are messy? What if you have hundreds of constraints, and some of them just don't make sense together? Maybe Alice can't be both 10 minutes before Bob and 5 minutes after him at the same time. In the real world, data is often imperfect. Instead of throwing away the whole schedule because of a few bad rules, we want to find the Maximum Satisfiability version: "What is the biggest group of rules we can keep so that a valid schedule still exists?" This is like trying to save the most friends' preferences possible while still getting everyone to the party on time. This specific puzzle is known as MAXSTP. It's a classic challenge in artificial intelligence, but it's notoriously difficult because finding that "best possible subset" of rules is a computational nightmare.

This paper dives deep into why MAXSTP is so hard and tries to find a way to solve it faster by looking at the "shape" of the problem. The authors, a team of researchers from Linköping University, treat the problem like a detective story. They ask: "If we know certain things about the problem—like how many people are involved, how big the time gaps are, or how the rules are connected—can we solve it efficiently?" They use a branch of math called parameterized complexity, which is like checking if a problem gets easier if you fix one specific number (like the number of variables) while letting the rest grow.

The team's investigation reveals a fascinating twist. They discovered that for MAXSTP, the usual "shortcuts" that work for other types of logic puzzles simply don't work here. In many similar problems, if you just know the number of variables (the number of people in the schedule), you can solve the puzzle quickly. But for MAXSTP, the authors proved that even knowing the number of variables isn't enough to make the problem easy; it remains stubbornly hard, no matter how you slice it. They showed this by building a complex mathematical bridge from a known difficult problem called Multicolor Clique, proving that if you could solve MAXSTP quickly just by counting variables, you could also solve a whole class of other impossible-to-solve problems.

However, the story doesn't end in defeat. The researchers found that the problem can become manageable, but only under very specific conditions. They showed that if you know the magnitude (the size of the biggest time gap in the rules, like "10 minutes" vs. "10 years") combined with the vertex cover (a measure of how densely the rules are connected), the problem becomes solvable in a reasonable amount of time (specifically, it is Fixed-Parameter Tractable). They also found that if you combine the magnitude with the number of variables, you can solve the problem, but it is still quite hard: the time required grows exponentially with the number of variables, meaning it is solvable for small groups but not for massive ones (a class known as XP).

But there's a catch. They tested another popular measure of complexity called treewidth (which measures how "tree-like" the connections between rules are). For many other problems, treewidth is a magic key that unlocks fast solutions. For MAXSTP, the authors proved that even if you know the treewidth, the problem is still too hard to solve quickly unless you also know the magnitude of the time gaps. In fact, they showed that for MAXSTP, the "size of the numbers" (magnitude) is a non-negotiable ingredient; without it, the problem resists all attempts to make it easy.

The paper also draws a sharp line between "quantitative" reasoning (dealing with numbers and time, like MAXSTP) and "qualitative" reasoning (dealing with vague relationships like "before," "after," or "next to"). They found that while qualitative problems can often be solved quickly using standard tricks, the quantitative MAXSTP is fundamentally tougher. It's like the difference between arranging people in a line based on vague descriptions ("Alice is somewhere before Bob") versus arranging them based on exact minutes ("Alice is exactly 14 minutes before Bob"). The exact numbers add a layer of complexity that breaks the usual shortcuts.

In the end, the authors conclude that MAXSTP is a resilient beast. It doesn't yield to simple counting or standard graph shapes. To tame it, you need to combine the structure of the problem with the specific scale of the numbers involved. While they haven't solved every version of the problem, they have mapped out exactly where the difficulty lies, showing us that to get a fast solution, we must respect the magnitude of the numbers we are dealing with. Their work suggests that while we can't make MAXSTP easy in every scenario, we can definitely make it solvable in the right conditions, provided we have the right combination of tools.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →