Move house! Seriously, there was, don’t know if there still is, a product called, IIRC, Nippon, a gooey liquid which you pot on the areas they used as highways. The house in which my first wife and I lived was plagued by ants every spring/summer. This stuff stopped them coming. Whether they went elsewhere or died off we neither knew nor cared, just as long as they left us alone.
Come to think of it, that was 50 years ago; given the name they have probably been closed down as racist!,
Mike 😡😡😡😡😡