Convex separable problems with linear and box constraints