  We analyze gap solitons in trapped Bose-Einstein condensates (BECs) in optical lattice potentials under Feshbach resonance management. Starting with an averaged Gross-Pitaevsky (GP) equation with a periodic potential, we employ an envelope wave approximation to derive coupled-mode equations describing the slow BEC dynamics in the first spectral gap of the optical lattice. We construct exact analytical formulas describing gap soliton solutions and examine their spectral stability using the Chebyshev interpolation method. We show that these gap solitons are unstable far from the threshold of local bifurcation and that the instability results in the distortion of their shape. We also predict the threshold of the power of gap solitons near the local bifurcation limit. 
Feshbach Resonance Management of Bose-Einstein Condensates in Optical   Lattices