Network Optimization: Algorithms and Applications