A MINLP Approach for Network Reconfiguration and Dispatch in Distribution Systems