Zaslat SMS: Network optimization: continuous and discrete models