On the Constrained Time-Series Generation Problem