Optimal virtual machine allocation policy.