Seol mar théacs é seo: Structural controllability and optimal control of complex networks