Sets time (minutes) for the specified array index and link.
Syntax: SetTime(index,link: integer; time: TCost)