Parametric optimization - singularities, pathfollowing and jumps