A search group algorithm for optimal voltage regulation in power systems