Let A and B be solenoids with the same pole facing each other.
Then will their repulsion cause the set up to jump upwards?
Please correct me if I am wrong: Solenoid A exerts a downward force on Solenoid B, which in turn exerts the same force on the ground. Then due to newton's third law, the ground exerts the same force and the whole thing is pushed upwards. If this force is greater than gravity, the set up will jump upwards. The connecting material makes sure the solenoid B is also carried upwards with Solenoid A.