A Probabilistic Search Method for Optimal Resource Deployment in a Microgrid | Synapse