A comprehensive linear model for demand response optimization problem. (15th October 2020)