Matter solitons in Bose-Einstein condensates with optical lattices