I don't think that there's such a thing as the optimal kerning. Whilst there are a bunch of rules and guidelines you should follow [1], it's quite a subjective process.
Kern Type [2] is an interesting game to play which allows you to compare your kerning against that of a typographer. It's a fun way to burn a few minutes and learn a bit about kerning.
[1] https://99designs.com/designer-blog/2014/01/20/11-kerning-ti...