motivated in large part by applications of optimal control theory to structural