Text this: Optimal control of an inverse two-point boundary value problem for a pseudoparabolic equation with Samarskii--Ionkin-type boundary conditions.