Randomized Kernel Rounding for Routing, Scheduling, and Machine Learning