##article.return## HardFlow: Hard-Constrained Sampling for Flow-Matching Models via Trajectory Optimization Download Download PDF