Hey,
I suggested to basically just use a single shooting interval (N=1).
If you need multiple shooting intervals (maybe that improves convergence) and need to constrain u to have only one value over the full horizon, I guess you can augment the state dynamics and use a 0 rate constraint, see here:
Does that make sense?
Cheers,
Jonathan