Optimization and mathematical modeling of communication networks