Qualitatively Constrained (Regression) Smoothing Splines via Linear Programming and Sparse Matrices.