When new, anyway, strings tend to stretch and tension needs to be periodically increased to stay in tune.
I doubt that one could work "aging" into an algorithm that would guarantee that a certain degree of tension on a string of a given diameter would result in a given pitch.