A utilitarian view asserts that it is permissible to flip the switch. According to simple Utilitarianism, flipping the switch would be not only permissible, but, morally speaking, the better option (the other option being no action at all).
While simple utilitarian calculus seeks to justify this course of action, some non-utilitarians may also accept the view. Opponents might assert that, since moral wrongs are already in place in the situation, flipping the switch constitutes a participation in the moral wrong, making one partially responsible for the death (when otherwise the mad philosopher would be the sole culprit). Additionally, opponents may point to the incommensurability of human lives.
It might also be justifiable to consider that simply being present in this situation and being able to influence its outcome constitutes an obligation to participate. If this were the case, then deciding to do nothing would be considered an immoral act.,