English

An LP Algorithm for Counting Eulerian Orientations Through the Lens of Quasi-polymorphism

Computational Complexity 2026-07-30 v1 Data Structures and Algorithms

Abstract

The weighted Eulerian orientation counting problem (#EO\#\mathrm{EO}) plays a key role in the complexity classification program for Holant problems. A recent result established an FPNP\mathrm{FP}^{\mathrm{NP}} versus #P\#\mathrm{P}-hard dichotomy for #EO\#\mathrm{EO} problems. The tractable side of this dichotomy can be characterized by functions admitting quasi-polymorphisms of the ternary XOR operation, leaving open whether these cases on the FPNP\mathrm{FP}^{\mathrm{NP}} side are in fact in FP. In this paper, we settle this question by giving a polynomial-time algorithm for all cases on the FPNP\mathrm{FP}^{\mathrm{NP}} side. Consequently, we obtain a complete FP versus #P\#\mathrm{P} dichotomy for counting weighted Eulerian orientations, and further for complex-valued Holant problems with an odd-arity signature. Our algorithm is based on a linear programming relaxation, but we use it in a nonstandard way. Instead of proving that the relaxation is integral and solving the problem directly from an optimal LP solution, we use the relaxation as a structural tool to lift the quasi-polymorphism condition to an ordinary polymorphism condition. This reveals an affine local structure of the constraint functions, which leads to tractability.

Cite

@article{arxiv.2607.27961,
  title  = {An LP Algorithm for Counting Eulerian Orientations Through the Lens of Quasi-polymorphism},
  author = {Jincheng Guan and Shuai Shao and Ke Shi},
  journal= {arXiv preprint arXiv:2607.27961},
  year   = {2026}
}

Comments

14 pages