The optimal control of linear systems with unknown parameters