Zaslat SMS: Optimization algorithms for networks and graphs