Mixed integer non-linear programming and Artificial Neural Network atch in competitive electricity