Design cost-optimized network architectures