Optimization of Source/Relay Wireless Networks with Multiuser Nodes