Contains code for optimizing the VM allocation across providers.