There is a saying here in Texas, "If you don't have a hog problem, you will have."
I am on the river and have one. For years my initial solution was hunting, 120 to 150 per year, but when they didn't stop and I got tired of getting up at night and looking for them, I changed tactics a few years ago. I "let" my neighbor trap on my property then sell the hogs. Doesn't cost me a dime or a minute of my time, except to let him know if there is new activity. Here's how it goes:
Years ago, he obtained 22,000 pounds of corn from a farmer. Dunno, maybe it was bad and given to him. At first he made an open-top round pen, maybe 25 feet in diameter using stiff hog panels, t-posts and a vertical gate triggered by animals. After two years and some reliability issues, he built a new pen that is 30 feet diameter with more formal panel sections that can connect to one another. Cell phone motion-triggered camera and cell phone trigger for the gate. There are open-top pen designs all over utube that can be replicated. My neighbor then collects the animals live the following day and sells to a collector in our county and gets paid by the pound - l
arger ones get a higher per-pound rate.
Over the period of time, he has greatly reduced the population, so much that I haven't seen much activity for the past 6 months.