Generalized time-dependent Schrödinger equation in two dimensions under constraints