S. V. Belokopytov, M. G. Dmitriev, Direct scheme in optimal control problems with fast and slow motions