A linear control problem in an abstract Hilbert space