A New Brute-Force Attack Method for Power System Restoration and Reconfiguration