Linear programming with nonparametric penalty programs and iterated thresholding. (2nd January 2023)