Network Models in Optimization and Their Applications in Practice