Deakstadieđáhus: Structural controllability and optimal control of complex networks