On the application of optimization methods to the determination of members of families of periodic solutions