I didn't want to get into the philosophy debate, but...
It implies no such thing. It's not a mathematical "solve for X problem" -- the purpose of thought experiments is to make people question their own certainty about morality, which presumably is something that you would approve of. If someone says, "I know exactly what is right and what is wrong," you can say, "Okay, what's the right thing to do in this situation?" and get the likely response of "Well... er... I'm not sure."
Not really. What such thought experiments typically do is this:
1. Set up a situation in which the moral decision is fairly obvious. (A trolley is careening toward a group of five people. There's a fat man standing next to you. Do you shove him in front of the trolley? Answer: Of course not. You have no guarantee that those people would die without your intervention or that the fat man would stop the trolley. What you do know is that you're going to cause death or severe harm to the fat man. Look for a better solution.)
2. Introduce a set of bizarre constraints which would never apply in the real world. (You magically know that the trolley
will kill those people, that the fat man
will stop it, and that there are
no better solutions.)
3. Watch as people's moral intuition, which is designed to guide them in the real world and not crazy-thought-experiment-land, shorts out.
4. Act smug about it.
A much more sensible approach to the Trolley Problem is this version: You're on an out-of-control trolley speeding down a track. There are five people working on the track ahead of you. There's a switch you can pull that will send the trolley onto another track, with only one person working on it. Do you pull the switch?
Here, you're presenting the same basic question (take action and kill one person, or do nothing and kill five), but there are no crazy impossible constraints. This is a situation that could actually happen, and the two outcomes can reasonably be evaluated in the time available. But it's no fun for the philosopher, because "Yes, I pull the switch" is a pretty easy answer.