Planning and Optimization Approach using Genetic A