Variable Rate Pev Charging Using Machine Learning And Optimization Techniques