Three Lagrangians for the complete-active space coupled-cluster method