Riflemen will tear them to pieces, but if you don't have both grenadiers and riflemen yet then city raider pikes are optimal. They're dirt cheap, will easily beat the cav since cav don't get defensive bonuses, and will later upgrade to CR grenadiers/riflemen.