State feedback control of constrained discrete time systems