Added two new constraints: Dual and ZeroVelocityThreshold