Abstract

We consider the general case of pseudo-Boolean optimization (PBO). This problem belongs to the NP-hard class of computational complexity and generalizes the well-known quadratic unconstrained binary optimization (QUBO) problem, which is able to model a wide range of combinatorial optimization problems and also has applications in quantum computing. Several state-of-the-art methods in the literature for solving specific classes of PBO problems rely on the ability to quickly evaluate changes in objective function value upon a flip move, i.e., after changing the value of a Boolean variable in a given solution from 0 to 1 or from 1 to 0. In this work, we propose closed-form formulae, and develop algorithms and auxiliary data structures for quickly evaluating 1-flip move neighborhoods in PBO problems. We work with the objective function represented as a posiform, i.e., a sum of terms that may contain Boolean variables or negations thereof. This representation is interesting for solving large-scale instances, since converting a posiform to an expression containing no variable negations may take exponential time and space in the number of variables. We also provide implementations of our algorithms and data structures as a library written in C programming language. This library can be used to implement methods with fast flip move evaluations for solving PBO problem instances. We conducted computational experiments with implementations of a Iterated Tabu Search (ITS) metaheuristic, when solving randomly-generated instances, and also instances of the Hypergraph Maximum Cut problem, which can be easily recast as a PBO problem. The results showed that our best evaluation algorithms provided relatively large speedups as instance sizes increased, and became more competitive as a consequence of speedup.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.