Nonlinear time-dependent Schrodinger equations: the Gross-Pitaevskii equation with double-well potential