Text this: Bilevel programming approach to demand response management with day-ahead tariff