Optimization of core–valence states of molecules. (17th January 2017)