An interesting problem

Правка en1, от darkshadows, 2015-07-16 07:03:57

A undirected complete bipartite graph G = (U, V, E) exists where |U| = |V|. For all vertices u and v, the weight of the edge between u and v is Wu, v(assume positive).

We have to do perfect matching such that Bitwise OR of weights of edges in matching is maximised.

I was trying to think of a polynomial time solution, but couldn't succeed.

Теги interesting, problem, whoreadstaganyway

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский darkshadows 2015-07-16 07:03:57 385 Initial revision (published)