Optimization-based resource allocation and transmission scheduling for wireless networks