add SNOPT logic to multi-point optimization as well