^^^ Same essential article is circulating all the news sites, it's where I got the quote from. Omar is indeed the psychotic pirate.
I'm thinking an aircraft carrier, with a couple of P3s and some fighters armed with conventional cannon and laser-guided ASMs...hostile speedboat approaches shipping vessel, P3 paints, ASM launches, no more hostile speedboat. P3 identifies the mother ship that launched it, paints it, ASM launches, no more mother ship. A couple of weeks of that and they'd have no more boats from which to launch their attacks and when no one returns from the raids they'd probably have a shorter line of new recruits. Cost would be less than a couple of ship's ransoms.
Although actually I'd prefer a technological solution. Start refitting ships with a secure holding area (preferably hidden/difficult to locate) and an impenetrable engine room. Install a remote override in the secure holding area tied into GPS navigation with external cameras, etc. Run them on Macs to keep Drew happy.
As you approach these waters, disengage bridge control, essentially running it on autopilot/remote for the next several hundred miles. The crew enters the secure holding area and runs the ship from there. Pirates approach, no evasive action necessary. They scamper aboard and scurry about like rats, shoot up the place, doesn't matter, ship continues undisturbed. The would-be thieves can't stop the ship or change its course; their choice is either leave or go along for the ride. If they remain on board, then when they're far enough away from Somalia, the other navy ships (not just ours, but the multination contingent) can intercept and arrest or engage the hitchhikers, impound their boat and send them to the nation of the ship's registry for trial. Expensive? Yes, but lots less than paying ransom and enduring the uncertainty and delays. As more of such ships gain the technology and fewer pirates are left, the issue will resolve itself.
If the crew gathers in the saucer section, they can disengage from the secondary hull and the warp nacelles, allowing them to retreat to a safe distance. Wait...what?