Given the specifics of aircraft operation, large amounts of available coolant air, extra mass of cooling gear with available materials etc., I wouldn't be surprised if the result of that optimization problem is always against liquid cooling; at least for ICE engines where you can only achieve limited efficiency gains with higher temperatures and power densities.