Variational approach for Bose–Einstein condensates in strongly disordered traps