No, the highest grade is not considered in the GPA calculation. Some undergraduate institutions will exclude the first grade if a student has retaken a course and only calculate the higher, more recent grade. This is not the case for PTCAS, as they consider
every grade for every course taken and therefore average your grades.
If you got a C in a course and an A when you retook it, it would effectively average into a B for your GPA calculations.