Energies with high-order non-submodular interactions have been shown to be
very useful in vision due to their high modeling power. optimization of such
energies, however, is generally NP-hard. A naive approach that works for small
problem instances is exhaustive search, that is, enumer