Any form of warranty on that machine?

It could be the power supply, not easily changed or, as you said, the logic board.

If the latter, then a new machine makes more economical sense than fixing it.

If you have an Apple Authorized Service Provider, or an Apple Store, near you, it may be worth taking it in and getting them to diagnose the problem for you. It probably won't be free though.

Good luck