The jamming transition in high dimension: an analytical study of the TAP equations and the effective thermodynamic potential. (9th September 2016)