State and output feedback control for constrained discrete-time nonlinear systems. (November 2019)