They just work on the code book
They work on the code book excitation.
and find out the best excitation.
Yeah they do  analysis - by - synthesis. They try  they  they try every  every possible excitation they have in their code book and find the one that matches best.