Text this: Optimization and security challenges in smart power grids /