Necessary Optimality Conditions in the Problem with Phase Space Change - PDF (Russian)