Swinging around the high bar

The motion of a gymnast around the high bar is modelled first as swinging around a rigid rod then more accurately when the rod is considered to be elastic. How the gymnast should best move his hips is also considered.