Not sure if you don't already know this but, don't use DC for electromagnets. You'll just end up overheating your electromagnet, with very little magnetic force coming out of it. Use AC, and it'll be much stronger.
(no, I don't mean 120V mains AC
)
Many not's here you know dear Admin...
Induction heating would be a problem in case you use a core... plus energy wasted as heat...
The core inside the coil would act as a shorted coil...
Alternating polarity... bad or neutral...
AC much stronger.... hmmm... I know that the B of the magnetic field is proportional to current... any current...
Unless sustaining a low dumping factor which is highly impossible due to the energy lost in the core...
I don't think AC in any means is better that DC for the job...