I just have to say this: For years I've had ants in my beehives when I used inner covers and telescopic tops, much less so when using migratory tops (there's a hint of a solution there). Then either migratory tops or top entrances I had even less. Along came the Screened bottom board and I had even less. I now use bottomless beehives with a small top entrance and don't find ants in my hives at all anymore. Now the ants wait at the base of the hive stands and harvest the debre that falls out of the hive.
I might add that in all those years I had ants in the hive, I never once noticed them to be more than an irritation to the beekeeper, they didn't seem to affect the bees as much as mites, Small Hive Beetles, or Wax Moths. In other words I consider the concern over ants way over blow and opted to ignore their existance years ago.
One exception was if the ants built a hill under the hive, then I did something because the ant hill could destablize the hive and cause it to fall over.