This past weekend, I did a race known in Michigan as "The Iceman." It is a 28 mile mountain bike race through Traverse City, MI. It was a lot of fun and we were all lucky with an amazing 50 degree sunny day.
My race ended up bringing back back memories from high school. Memories of painful cramps. Growing up, playing sports, I would always got painful muscular cramps in my calves during the first few football games every year. It also applied to playing rugby during the summer during grad school. I had forgotten how bad I cramp up. First my calves, then my quads, then my adductor magnus.
Everyone always had their own special cure for cramps. Drink more water, stretch more, drink Gatorade. I saw the Philadelphia Eagles give their players pickle juice one year in hopes of preventing them. I took some pickle juice to a rugby game with me after that. I didn't think that it would get warm. After drinking it, running around for a bit, I threw it up. End of my personal pickle juice experiment.
Reading through the literature and doing a google search, muscle cramps still remain an unsolved problem.
There are a few theories. First, dehydration. Drink more water. Stay hydrated. While this prevails, they have studied athletes that cramp and found that many were still very hydrated.
Second, electrolyte theory. You have to have the correct sodium/potassium balance. Hence, the Gatorade revolution. On a side note, if you go lift weights for 45 min, you don't need to slug down a 32 oz bottle of Gatorade. This hypothesis suggests that there is an imbalance between sodium/potassium around the nerve fibers that excite a muscle. This makes them hypersensitive. Cramps first start as a twinge. They have measured electrolyte levels in Ironmen in those that had suffered cramps and those that did not. No difference in their electrolyte levels.
Another theory states that cramps come from an imbalance between the signals that excite a muscle and the signals that relax a muscle. This imbalance comes from fatigue. No studies have been done on this last theory.
So no true scientific evidence has emerged yet in the cause of muscle cramps. While I can't offer any suggestions besides to try to do the activity your going to do with same intensity and duration as your activity. I can suggest you leave the warm pickle juice alone.