Question: 1. Set-partition problem, given a set S = {a, a, ..., an of positive integers (denoting asset values), requires partitioning into subsets S and

1. Set-partition problem, given a set S = {aj, a2, ...,an of positive integers (denoting asset values), requirespartitionin

1. Set-partition problem, given a set S = {a, a, ..., an of positive integers (denoting asset values), requires partitioning into subsets S and S that minimizes the difference in the total values of S and S. a) Identify a greedy procedure to accomplish Set- partitioning. Does your procedure always produce the best partitioning? Either prove that or provide a counter-example. (8 pts) b) Now imagine the assets are held in gold/silver/ copper bullion: that is each asset a; is either a gold, silver, or copper coin. Revise your greedy procedure for partitioning these assets. (If it helps, assume a gold coin is worth 100 copper coins and a silver coin 10 copper coins.) Reason why it is either an algorithm or provide a counter-example.(7 pts)

Step by Step Solution

3.54 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

ANSWER ANSWER A Greedy Algorithm One way to deal with the issue is mirroring how kids pick groups fo... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!