Criminal cases had been filed against two students, including a girl, based on a complaint from the parents of the deceased, police sources said.
The body of the second year engineering student was found on the railway track, 15 km from Devanahalli on the city outskirts on Saturday morning.
The student had left behind a suicide note stating that nobody was responsible for his death but added he was 'troubled' by college authorities and a former girlfriend, police said.
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.