Using capacitors to supply peak current
This sounds expensive but it will work. If your 24Vdc supply is REGULATED which most are these days then your caps could be at a lower voltage rating . As long as the WORKING voltage rating exceeds the 24v psu then you are OK .I suggest 35volt caps which will save you money.The reason I said caps and not cap is that I suggest you use several in parallel.Paralell caps will cost even less and lower values are easier to find.Also the total ESR will be lower meaning that normal electros could be used saving more money.When you experiment with your caps yopu will find that you will get away with significantly less than the previously stated 375 millifarad.I think 375 millifarad is a sensible starting value.Once you have established your minimum total capacitance then upfactor it for aging temp ,tolerances.Doubling it would give peace of mind.If you want to know if its pulled in properly or not then on the fly inductance measurements work well because the inductance change is large and hence easy to detect reliably.