Text this: Control algorithm for an elastic-viscoplastic model to study processes of shock interaction of bodies