Development of Real Coded Genetic Algorithm for Multiperiod Optimization