I did work for an outfit that had a program on the crew room computer to calculate cost index for each sector. After a laborious process you came up with a number that only ever varied by two or three in any case.
I think it will always be an approximation at best, it gets thrown out the window quite often (schedule considerations, speed restrictions etc.) but I guess it nudges things in the right direction.