The bilinear–biquadratic model on the complete graph