@ocots in this page https://control-toolbox.org/Tutorials.jl/stable/tutorial-lqr.html#Limitations:-using-matrix-formulation and please refer to https://control-toolbox.org/OptimalControl.jl/stable/tutorial-abstract.html#Known-issues (i'll do the same from there).