Given aircraft and runway characteristics, how do you compute the maximum temperature for take-off?
Well, there is some subjectivity here, but I consider the optimum temperature for takeoff to be 72-degrees Farenheit.

As far as the outside temperature is concerned, there is no specific optimum. In general, colder is better.