Jasmine is not in the lighthouse. She leads the Olivine City Gym (Steel-type). The lighthouse is on Cinnabar Island and houses Articuno.
To reach Jasmine: go to Olivine City (west of Ecruteak), defeat her for the Rainbow Badge.