Search for relativistic magnetic monopoles with the ANTARES neutrino telescope