Network Optimization: Continuous and Discrete Models (Optimization, Computation, and Control)