search.paths.ms function

Searches for paths. Ties together highest.mi and return.mis functions.