Added an option to use a much simpler redispatch algorithm.