Text this: Dual active-set algorithm for optimal 3-monotone regression