Optimizing Social Welfare for Network Bargaining Games in