Switching between bistable states of a soliton in a doubly inhomogeneously doped fiber coupler