Use Rice's theorem to show that the language of optimisable Turing machines is undecidable
There is some TM which is not in $L'$, and there is some TM which is in $L'$. So the definition of $L'$ determines a nontrivial property on r.e. languages and so by Rice's theorem it is not decidable.