Madurai-Tirupati Bi-weekly Express/16780 takes 15hrs of journey... instead of going to chennai from there going to tirupati is long and time also waste... better u take Madurai-Tirupati Bi-weekly Express/16780 only...
other ways:
Take From madurai to Katpadi(vellore) from katpadi so many train there to go to Tirupati.. this is the shortest route