A design and dispatch optimization algorithm based on mixed integer linear programming for rural electrification. (1st January 2019)