Resource-Constrained Cooperative Wireless Networks: Theory and Practice