+1 vote
Consider problem similar to a minimum or maximum spanning tree, but instead we want to find the maximum product spanning tree, that is a tree that maximums the product of weights of the edges. Describe an efficient algorithm to find the maximum product spanning tree.  

[Assume each edge weight is at least 1.]
in Greedy Algorithms by AlgoMeister (684 points)

2 Answers

+2 votes
If w1 w2 w3  is maximized, then log w1 + log w2 + log w3 is maximized.

So, if we replace each w1 with its log value, and then find the maximum weight spanning tree, that is like finding maximum product spanning tree for the original tree.
by AlgoMeister (1.6k points)
Adding to that, can we also assert that if logw1 + logw2 + logw3 is maximized then w1 + w2 + w3 is also maximized? Concluding that MPST is the same as MST?
No, that statement (logw1 + logw2 + logw3 is maximized then w1 + w2 + w3 is also maximized) is not relevant for this question.  Product of edge weights is maximized <=> Sum of logs of edge weights is maximized.
0 votes
​If the product  w1*w2*w3 is at its maximum, then the sum log(w1) + log(w2) + log(w3) is also at its maximum due to the logarithmic property. Therefore, substituting each w1 with its logarithmic value and determining the maximum weight spanning tree is similar to discovering the maximum product spanning tree in the original tree.
by (220 points)

Related questions

0 votes
2 answers
asked Mar 3, 2018 in Greedy Algorithms by jmlitfi AlgoMeister (684 points)
0 votes
4 answers
asked Mar 3, 2018 in Greedy Algorithms by jmlitfi AlgoMeister (684 points)
0 votes
3 answers
asked Mar 3, 2018 in Greedy Algorithms by jmlitfi AlgoMeister (684 points)
+1 vote
2 answers
asked Mar 3, 2018 in Greedy Algorithms by jmlitfi AlgoMeister (684 points)
+1 vote
2 answers
asked Mar 3, 2018 in Greedy Algorithms by jmlitfi AlgoMeister (684 points)
The Book: Analysis and Design of Algorithms | Presentations on Slideshare | Lecture Notes, etc
...