We propose a computational model for analogy solving based on a topological formalism of representation. The source and the target analogs are represented as simplexes and the analogy solving is modeled as a topological deformation of these simplexes along a polygonal chain and according to some constraints. We apply this framework to the resolution of IQ-tests typically presented as "given A, B and C, find D such that A is to B what C is to D".