11
Stack Exchange
votes

Minimum edge deletion partitioning of a planar graph

Posted on 8/31/2015
UQ ID:421
Science
Computer Science
Original

I'm interested in the time complexity of the following problem:

Given an undirected planar graph and a weight function (so weights can be negative, too), color the vertices in such a way that the sum of the weights of the monochromatic edges (i.e. those between same color vertices) is minimized. There is no limit on the number of colors you can use. Note that it is not necessarily optimal to give each vertex a distinct color as negative edge weights are possible.

A version of this problem where is not restricted to be a planar graph is NP-hard (see Minimum edge deletion partitioning) by a reduction from the vertex coloring problem. However, we cannot use the same reduction for the problem here because is planar.

Any hints, pointers, comments are welcome.

Keywords & Tags
complexity-theory
graphs
np-hard
weighted-graphs
Model Answers (9)
Submitted answers from various AI models
Unsolved
No reviews yet

K2-Think

Pending UQ Validation
Needs Human Verification
MBZUAI-IFM
Qwen2.5-32B
Sep 18, 2025, 01:50 PM

The problem of finding the minimum edge deletion partitioning (minimizing the sum of weights of monochromatic edges) in a planar graph with arbitrary integer edge weights is NP-hard.

Reasoning:

The problem can be rephrased as maximizing the sum of weights of edges crossing the vertex partition (since the total edge weight is fixed, minimizing monochromatic edges is equivalent to maximizing c...

0 model reviews
0 human reviews
No reviews yet

GPT-5

UQ Validated
Needs Human Verification
OpenAI
Sep 2, 2025, 06:56 AM

Short answer Your problem is exactly the weighted correlation clustering objective on a (not necessarily complete) graph: you want to find a partition of the vertices so as to maximize agreements, where an agreement is “put endpoints together” on a negative-weight edge and “put endpoints apart” on a positive-weight edge. Formally, if we let A be the total weight of agreements A = sum_{e=(u,v), w(e...

0 model reviews
0 human reviews
No reviews yet

DeepSeek R1

Failed UQ Validation
Needs Human Verification
DeepSeek
deepseek-ai/DeepSeek-R1
Aug 1, 2025, 12:00 AM
<think> Okay, I need to tackle this problem about partitioning a planar graph by deleting edges with minimum weight loss. The user is asking about the time complexity of minimizing the sum of weights of monochromatic edges in an undirected planar graph with possible negative weights. No color limit exists, so we can use as many colors as needed.

First, I recall that for general graphs, this probl...

0 model reviews
0 human reviews
No reviews yet

Claude 3.7 Sonnet

Failed UQ Validation
Needs Human Verification
Anthropic
Aug 1, 2025, 12:00 AM

Minimum Edge Deletion Partitioning of a Planar Graph - Time Complexity Analysis

This problem is about coloring vertices of a planar graph to minimize the sum of weights of monochromatic edges, where edge weights can be positive or negative.

Complexity Analysis

The problem is NP-hard for planar graphs with arbitrary edge weights.

I can prove this by reducing from the Maximum Cut proble...

0 model reviews
0 human reviews
No reviews yet

o4 mini

Failed UQ Validation
Needs Human Verification
OpenAI
Aug 1, 2025, 12:00 AM

Here is a brief summary of what is known once you recognize that your problem

Minimize  ∑_{uv∈E} w(uv)·[color(u)=color(v)]
over all vertex‐partitions (with arbitrarily many parts)

is nothing but the weighted “minimum‐disagreement” or correlation–clustering objective on a planar graph. In the general (non-planar) world this is already NP-hard; one needs to check whether planarity mak...

0 model reviews
0 human reviews
No reviews yet

o3 Pro

Failed UQ Validation
Needs Human Verification
OpenAI
Aug 1, 2025, 12:00 AM

What you are looking at is exactly the (weighted) correlation–clustering / multicut problem:

• For every edge e let x(e)=1 if its two endpoints end up in different colour classes (“the edge is cut”) and x(e)=0 otherwise.
• Your objective
min ∑{e monochromatic} w(e)
is the same as
max ∑
{e cut} w(e) ,
because ∑_{e∈E}w(e) is a constant.
• The vector x has to b...

0 model reviews
0 human reviews
No reviews yet

Claude Opus 4

Failed UQ Validation
Needs Human Verification
Anthropic
Aug 1, 2025, 12:00 AM

This is an interesting variant of the minimum edge deletion partitioning problem restricted to planar graphs. Let me analyze this problem systematically.

Problem Analysis

The problem asks us to partition the vertices of a planar graph to minimize the total weight of monochromatic edges (edges within the same partition). This is equivalent to maximizing the weight of edges between different pa...

0 model reviews
0 human reviews
No reviews yet

Gemini 2.5 Pro

Failed UQ Validation
Needs Human Verification
Google
Aug 1, 2025, 12:00 AM

An excellent question! This problem delves into a classic graph partitioning problem and how its complexity can change dramatically with structural constraints like planarity.

Let's break down the problem and connect it to well-known problems in graph theory and complexity.

1. Reformulating the Problem

Your problem is: Given: A planar graph and a weight function $w:E \rightarr...

0 model reviews
0 human reviews
No reviews yet

o3

Failed UQ Validation
Needs Human Verification
OpenAI
Aug 1, 2025, 12:00 AM

The optimisation task you describe is exactly the (weighted) 0-/∞ version of

  Correlation-Clustering (also called Multicut, Cluster-Editing without edge insertions, or   Minimum Disagreement).

Instance  A graph G=(V,E) with an integral weight w(e) on every edge.

Solution  A partition Π of V (equivalently: a colouring with an arbitrary number of colours).

Cost
 cost(Π)=Σe∈E w(e)  if the tw...

0 model reviews
0 human reviews
Submit Your Model's Answer
Your submission will be validated by our LLM validator and then by human experts

You need to be logged in to submit an answer