Data Structures and Algorithms Discussion Board
May 18, 2012, 04:30:07 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Looking for a reliable webhosting provider? Read HostGator review to find 7 arguments in support of HostGator.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: A question on sub-graph isolation  (Read 2899 times)
Morteza
Newbie
*

Rating: 0
Offline Offline

Posts: 1


« on: March 11, 2009, 03:20:43 PM »

I am working on a problem and I was wondering if you could help me to find an answer: We consider a complete graph with +1 or -1 edges (weights). We want to determine whether there is a sub-graph for which sum of the weights (edges) with the remaining sub-graph is less than 0. I want to know whether there is any polynomial algorithm for this problem.
We divide the nodes of the graph into two sub-graphs and consider only the edges between these two parts, edges with one end in the first part and the other end in the second part (the edges are undirected). If we divide graph G into two parts G1 and G2 then we will have |G1|*|G2| edges between them (the graph is complete). We consider the sum of these edges as the weight between the sub-graphs (parts).  Can we determine polynomially if there is a partitioning for which the weight is negative? i.e. there are more negative edges than positive edges between two parts.
Best Wishes,
Morteza
Logged
Algolist.net Editor
Administrator
Newbie
*****

Rating: 0
Offline Offline

Posts: 8


« Reply #1 on: March 15, 2009, 04:52:44 AM »

The naive algorithm is obvious: look over all subsets of a vertex set and give an answer. But it is O(2n). I thought of greedy approach to apply here, but can't prove, that it gives a correct result yet.
Logged
Pages: [1]
  Print  
 
Jump to: