Optimal Routing, Link Scheduling and Power Control