Text this: Mathematical Models and Algorithms of Optimal Load Management of Electricity Consumers