https://hal.inria.fr/hal-00966505Kára, JanJanKáraKAM - Department of Applied Mathematics [Prague] - CU - Charles University [Prague]Kratochvil, JanJanKratochvilKAM - Department of Applied Mathematics [Prague] - CU - Charles University [Prague]Wood, David R.David R.WoodDepartament de Matemàtica Aplicada II - UPC - Universitat Politècnica de Catalunya [Barcelona]On the complexity of the balanced vertex ordering problemHAL CCSD2007[INFO.INFO-DM] Computer Science [cs]/Discrete Mathematics [cs.DM]Inria Sophia Antipolis-Méditerranée / I3s, Service Ist2014-03-26 16:59:222021-11-10 17:38:032014-03-27 13:38:35enJournal articleshttps://hal.inria.fr/hal-00966505/document10.46298/dmtcs.383application/pdf1We consider the problem of finding a balanced ordering of the vertices of a graph. More precisely, we want to minimise the sum, taken over all vertices v, of the difference between the number of neighbours to the left and right of v. This problem, which has applications in graph drawing, was recently introduced by Biedl et al. [Discrete Applied Math. 148:27―48, 2005]. They proved that the problem is solvable in polynomial time for graphs with maximum degree three, but NP-hard for graphs with maximum degree six. One of our main results is to close the gap in these results, by proving NP-hardness for graphs with maximum degree four. Furthermore, we prove that the problem remains NP-hard for planar graphs with maximum degree four and for 5-regular graphs. On the other hand, we introduce a polynomial time algorithm that determines whetherthere is a vertex ordering with total imbalance smaller than a fixed constant, and a polynomial time algorithm that determines whether a given multigraph with even degrees has an 'almost balanced' ordering.