Ising formulations of some graph-theoretic problems in psychological research: Models and methods