Graph problem, is it NP-Complete?
- From: arcadiorubiogarcia@xxxxxxxxx
- Date: Fri, 26 Oct 2007 07:04:53 -0700
Hi,
I'm trying to solve the following problem, which I suspect is NP-
Complete. I would appreciate any suggestions on how to prove its NP-
Completeness, and a possible algorithm for finding suboptimal
solutions. Thanks in advance.
- The input to the problem is:
1. An undirected weighted graph, whose weights are non-zero natural
numbers. The graph has always a "line-like" structure, i.e. it is
acyclic and all its vertices have 2 neighbours, except 2 that have 1
neighbour. Example:
(1)--2--(2)--5--(3)--3--(4)--3--(5)--1--(6)
Note: (1) is a vertex, --2-- is an edge of weight 2.
2. A non-zero natural number K.
- The output of the decision version of the problem should be:
YES if there exists a set of size <= K of connected subgraphs of the
input graph, that satisfy the following property:
The sum of all the weights of each edge of each subgraph that "map" to
each edge of the graph should be the same. Additionally, all the edges
of each subgraph must have the same weights. It's better to see an
example:
Problem:
(1)--2--(2)--5--(3)--3--(4)--3--(5)--1--(6)
Possible solution:
(1)--2--(2)--2--(3)
(2)--3--(3)--3--(4)--3--(5)
(5)--1--(6)
- Output of the optimization version: A set of minimal size of such
subgraphs
.
- Follow-Ups:
- Re: Graph problem, is it NP-Complete?
- From: David Kinny
- Re: Graph problem, is it NP-Complete?
- Prev by Date: graph theory question
- Next by Date: Re: Would like to find study group for computer science comprehensive exams.
- Previous by thread: graph theory question
- Next by thread: Re: Graph problem, is it NP-Complete?
- Index(es):
Relevant Pages
|