Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Optimized QUBO formulation methods for quantum computing

Dario De Santis1, dario.desantis@sns.it    Salvatore Tirone1,2,3, Stefano Marmi1, Vittorio Giovannetti4 Scuola Normale Superiore, Piazza dei Cavalieri 7, I-56126 Pisa, Italy 2QuSoft, Science Park 123, 1098 XG Amsterdam, the Netherlands 3Korteweg–de Vries Institute for Mathematics, University of Amsterdam, Science Park 105-107, 1098 XG Amsterdam, the Netherlands 4NEST, Scuola Normale Superiore and Istituto Nanoscienze-CNR, I-56126 Pisa, Italy
Abstract

Quantum computers have strict requirements for the problems that they can efficiently solve. One of the principal limiting factor for the performances of noisy intermediate-scale quantum (NISQ) devices is the number of qubits required by the running algorithm. Several combinatorial optimization problems can be solved with NISQ devices once that a corresponding quadratic unconstrained binary optimization (QUBO) form is derived. Several techniques have been proposed to achieve such reformulations and, depending on the method chosen, the number of binary variables required, and therefore of qubits, can vary considerably. The aim of this work is to drastically reduce the variables needed for these QUBO reformulations in order to unlock the possibility to efficiently obtain optimal solutions for a class of optimization problems with NISQ devices. This goal is achieved by introducing novel tools that allow an efficient use of slack variables, even for problems with non-linear constraints, without the need to approximate the starting problem. We divide our new techniques in two independent parts, called the iterative quadratic polynomial and the master-satellite methods. Hence, we show how to apply our techniques in case of an NP-hard optimization problem inspired by a real-world financial scenario called Max-Profit Balance Settlement (MPBS). We follow by submitting several instances of this problem to two D-wave quantum annealers, comparing the performances of our novel approach with the standard methods used in these scenarios. Moreover, this study allows to appreciate several performance differences between the D-wave Advantage and next-generation Advantage2 quantum annealers. We show that the adoption of our techniques in this context allows to obtain QUBO formulations with significantly fewer slack variables, i.e., around 90% less, and D-wave annealers provide considerably higher correct solution rates, which moreover do not decrease with the input size as fast as when adopting standard techniques.

I Introduction

In recent years, many efforts have been devoted to understand to what extent modern noisy intermediate-scale quantum (NISQ) devices can help to solve optimization problems of any sort (see Refs. [1, 2, 3] for recent reviews). Particular attention has been paid to their potential to solve NP-hard and NP-complete problems, which most of the times can be formulated as quadratic unconstrained binary optimizations (QUBO). For instance, all famous NP Karp’s problems [4] can be casted in this form [5].

The possibility to solve QUBO problems with quantum devices has been studied on several supports, especially on quantum annealers [2, 3, 6, 1, 7, 8] but also on logical-gate quantum computers [9, 10, 11, 12] and Rydberg atom arrays [13, 14, 15]. Although these technologies are not expected to solve NP problems efficiently [16, 17], namely providing exponential speed-ups compared to classical strategies, possible polynomial in-time advantages attract great interest. Indeed, given the importance of the real-world applications involved with the solutions of these hard combinatorial problems [2], any achievable improvement is well-received. Exemplary scenarios come from finance [18, 19, 20, 21, 22, 23], logistics [24, 25, 26] and drug discovery [27].

Consider the situation where we aim to solve a generic constrained optimization problem with a QUBO solver. The first step is to reformulate it in a quadratic unconstrained form, namely as a QUBO. We call logical variables those defining the initial problem. The constraints attached to the original problem can be enforced in a QUBO form by employing additional slack variables. The larger is the total number of variables, logical and slack, in a QUBO problem, the harder is in general to solve it.

Whereas the well-established procedures to translate optimization problems into QUBOs [28] can be efficient in several scenarios, their implementation can be extremely inefficient at times. To be more precise, we say that a method to obtain these formulations is inefficient for a problem whenever it requires too many slack variables, namely their number is comparable with that of logical variables. In these cases, the practical usefulness of QUBO solvers can be highly limited. For instance, if we have a maximum size for the problems that our solver can receive, any reduction of slack variables allows to increase the total number of logical variables associated to the initial problem, namely larger problems can be tackled. Moreover, the more slack variables we implement, the higher is the connectivity that we require in our QUBO and therefore in the QUBO solver that we aim to use. This consequence can be a very limiting factor for the performances of modern NISQ devices.

The main motivation of this work is to unlock the possibility to solve certain classes of optimization problems with those quantum technologies specialized to solve QUBO problems. For this purpose, we introduce the iterative quadratic polynomial and master-satellite methods. Their goal is to provide QUBO forms requiring a minimal employment of slack variables. The former consists in a new paradigm to translate problem constraints into corresponding quadratic penalty forms, while the latter allows the simultaneous enforcement of different constraints sharing the same restricted set of binary variables. Noteworthy, our techniques can also be used to enforce non-linear equality and inequality constraints defined through integer or non-integer parameters, without the need to approximate the constraints or to employ slack variables solely to obtain corresponding linearizations. Hence, the same computational effort is required both for linear and non-linear constraints, where no approximate enforcing of the constraints is required. Moreover, the QUBO variables employed by our methods for each constraint are not necessarily completely connected. These features allow improving the output quality of NISQ devices used as QUBO solvers as fewer and less-connected qubits are in general required.

We apply these techniques in the context of an NP-hard problem coming from finance, namely the Max-Profit Balance Settlement (MPBS) problem [29]. We provide a drastic reduction of the slack variables necessary to enforce the corresponding inequality constraints. We generate several instances of this problem reflecting some main features of realistic datasets [30] and we show that our methods provide the corresponding QUBO forms by employing around 90% less slack variables, if compared with the QUBO forms obtainable with a standard procedure [28].

We solve several instances of MPBS with two different quantum annealers manufactured by D-Wave Systems, Inc. [31], namely the D-wave Advantage_system4.1 and Advantage2_prototype1.1. The annealer Advantage2_prototype1.1, being a prototype of the next-generation D-wave annealers, has a reduced number of qubits but is characterized by higher connectivity and lower noise. Hence, not only do we compare the outputs obtained when the QUBO problems are generated with different approaches, but we also provide a comparison between the performances of these annealers. We show that, while by using the standard approach the solution quality drops quite fast with the input size, our methods unlock the possibility to consider much larger instances. The number of successes that we obtain when the QUBO forms are generated with our methods are always significantly higher: the multiplicative factor between the successes obtainable with the two methods ranges from 7777 (smallest instances with Advantage_system4.1) to 184184184184 (largest instances with Advantage2_prototype1.1).

We point out the existence of other techniques attempting to reduce the slack variables employed for QUBO reformulations. For instance, the alternating direction method of multipliers [32] and the augmented Lagrangian method [33, 34] have recently been adopted in this context [35, 36, 37], where preliminary QUBO problems have to be solved in order to get the final QUBO formulation of the original optimization problem. Another approach consists in enforcing constraints in an approximate fashion via a finely-tuned rescaling of the parameters defining the target linear inequalities [38, 39, 40]. Differently from these strategies, neither we require to solve preliminary QUBOs nor we approximate the starting optimization problem. Rather, we change the paradigm under which constraints are enforced.

The content of this work is structured as follows. In Section II, we introduce the fundamental tools needed throughout this work, as the definition of graph-based problems, QUBO forms and the standard technique to achieve these quadratic forms. The first part of Section III is devoted to describe in an intuitive way the main ideas behind of our novel methods. Instead, the iterative quadratic polynomial and the master-satellite methods are respectively described in details in Sections III.1 and III.2. The latter method requires a tuning of the QUBO penalty multipliers that is radically different from those found in standard QUBO formulations. Different strategies for this tuning are presented in Section III.3. The last heuristic that we introduce is a generalization of the master-satellite approach, suitable for those cases where three or more constraints are defined over the same variables, which is proposed in Section III.4. We identify a class of optimization problems, namely the locally-constrained problems, in Section IV, which are particularly suitable for the application of our techniques. The definition of the NP-hard Max-Profit Balance Settlement (MPBS) problem is given in Section V, where we also analyse its QUBO formulation and the corresponding needs in terms of slack variables when using standard techniques. Instead, we show how to apply our novel techniques to MPBS step-by-step in Section VI. The corresponding improved performance obtainable in the context of quantum annealing is shown in Section VII, where the novel and the standard strategies are put in comparison.

II Main tools

QUBO problems are defined as optimizations of quadratic forms defined over a set of binary variables 𝐱={0,1}N𝐱superscript01𝑁\mathbf{x}=\{0,1\}^{N}bold_x = { 0 , 1 } start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT, without the possibility to attach any constraint [28]. Hence, we have the following equivalent notations:

min/max𝐱𝐱TQ𝐱=min/max𝐱i,j=1NQijxixj=min/max𝐱Q(𝐱),subscriptmin/max𝐱superscript𝐱𝑇𝑄𝐱subscriptmin/max𝐱superscriptsubscript𝑖𝑗1𝑁subscript𝑄𝑖𝑗subscript𝑥𝑖subscript𝑥𝑗subscriptmin/max𝐱𝑄𝐱\displaystyle\mathop{\mbox{min/max}}\limits_{\begin{subarray}{c}\mathbf{x}\end% {subarray}}\,\mathbf{x}^{T}Q\mathbf{x}=\mathop{\mbox{min/max}}\limits_{\begin{% subarray}{c}\mathbf{x}\end{subarray}}\sum_{i,j=1}^{N}Q_{ij}x_{i}x_{j}=\mathop{% \mbox{min/max}}\limits_{\begin{subarray}{c}\mathbf{x}\end{subarray}}Q(\mathbf{% x})\,,min/max start_POSTSUBSCRIPT start_ARG start_ROW start_CELL bold_x end_CELL end_ROW end_ARG end_POSTSUBSCRIPT bold_x start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_Q bold_x = min/max start_POSTSUBSCRIPT start_ARG start_ROW start_CELL bold_x end_CELL end_ROW end_ARG end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i , italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT italic_Q start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = min/max start_POSTSUBSCRIPT start_ARG start_ROW start_CELL bold_x end_CELL end_ROW end_ARG end_POSTSUBSCRIPT italic_Q ( bold_x ) , (1)

where Q𝑄Qitalic_Q is an upper-triangular N×N𝑁𝑁N\times Nitalic_N × italic_N real-valued matrix and the corresponding optimization can either be a minimization or a maximization. Although these two cases are computationally equivalent, we consider the maximization case from now on.

Quantum annealers are the QUBO solvers that we adopt later in this work to solve these optimization problems, which in general are NP-hard [5]. The explanation of how quantum annealers work in order to obtain optimal solutions of QUBO problems can be found, e.g., in Refs. [1, 2, 3]. We point out that we do not consider other heuristics from classical computation to solve these problems. An example of such techniques is called simulated annealing [41, 42, 43], the classical counterpart of quantum annealing, which searches into the space of possible solutions, while slowly decreasing the probability to accept worse alternatives of the current solution. A comparison between quantum and simulated annealing can be found in Ref. [44]. A different heuristic designed for the solution of QUBO problems is called tabu search, which is put in contrast with simulated annealing in Ref. [45].

We proceed by explaining how several optimizations can be translated into a QUBO problem and where does the necessity to introduce new methods for this translation come from. Consider an optimization problem defined through the maximization of an objective function, which from now on we call W𝑊Witalic_W, where some constraints on the possible solutions must be satisfied. Usually, from the very definition of the objective function, we obtain a natural set of logical variables 𝐱=(x1,x2,)𝐱subscript𝑥1subscript𝑥2\mathbf{x}=(x_{1},x_{2},\dots)bold_x = ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … ) associated to the units that describe the problem itself. For instance, if the problem requires to find a particular sub-graph of an input graph, the binary variables may be associated to its arcs and/or nodes, or, if we aim to subdivide a particular quantity among different parties, the binary variables may be used to describe the corresponding fractions. Whenever W(𝐱)𝑊𝐱W(\mathbf{x})italic_W ( bold_x ) can be written as a linear or quadratic form of the variables (x1,x2,x3,)subscript𝑥1subscript𝑥2subscript𝑥3(x_{1},\,x_{2},\,x_{3},\dots)( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , … ), its QUBO form is obtained straightforwardly. Nonetheless, in order to translate the constraints attached to our optimization problem in a QUBO form, we usually need additional binary variables 𝐬=(s1,s2,)𝐬subscript𝑠1subscript𝑠2\mathbf{s}=(s_{1},s_{2},\dots)bold_s = ( italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … ), called slack variables, which are employed solely to enforce constraints [28].

This work is devoted to expose novel techniques to implement constraints in QUBOs. We point out that, even if some constraints could be particularly demanding in terms of slack variables, others may be not. Hence, whenever we use the expression “target constraints”, we refer to those on which we decide to apply our novel tools.

We study the generic situation of problems defined on directed, weighted and node-attributed multigraphs, namely:

Definition 1 (R-multigraph).

An R-multigraph consists of the quadruple 𝒢=(𝒱,,w,𝐟)𝒢𝒱𝑤𝐟\mathcal{G}=(\mathcal{V},\mathcal{E},w,\mathbf{f})caligraphic_G = ( caligraphic_V , caligraphic_E , italic_w , bold_f ), where 𝒱𝒱\mathcal{V}caligraphic_V is a set of nodes, \mathcal{E}caligraphic_E is a multiset of ordered pairs of nodes called arcs, w:+:𝑤superscriptw:\mathcal{E}\rightarrow\mathbb{R}^{+}italic_w : caligraphic_E → blackboard_R start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT is a function assigning positive real numbers, called weights, to arcs and 𝐟:𝒱n:𝐟𝒱superscript𝑛\mathbf{f}:\mathcal{V}\rightarrow\mathbb{R}^{n}bold_f : caligraphic_V → blackboard_R start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT is a function assigning real-valued n𝑛nitalic_n-dimensional vectors, called attributes, to nodes.

Hence, we allow multiple arcs (u,v)𝑢𝑣(u,v)\in\mathcal{E}( italic_u , italic_v ) ∈ caligraphic_E between two nodes u,v𝒱𝑢𝑣𝒱u,v\in\mathcal{V}italic_u , italic_v ∈ caligraphic_V, where each arc (u,v)𝑢𝑣(u,v)\in\mathcal{E}( italic_u , italic_v ) ∈ caligraphic_E has an origin u𝑢uitalic_u, a target v𝑣vitalic_v node and a positive weight w(u,v)𝑤𝑢𝑣w(u,v)italic_w ( italic_u , italic_v ). Moreover, each node u𝒱𝑢𝒱u\in\mathcal{V}italic_u ∈ caligraphic_V may have attributes given by a real-valued n𝑛nitalic_n-dimensional vector 𝐟(u)=(f1(u),,fn(u))𝐟𝑢subscript𝑓1𝑢subscript𝑓𝑛𝑢\mathbf{f}(u)=(f_{1}(u),\dots,f_{n}(u))bold_f ( italic_u ) = ( italic_f start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( italic_u ) , … , italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( italic_u ) ). Naturally, what follows can be applied to simpler graphs, e.g., undirected and/or unweighted.

The majority of the optimization problems considered in the literature can be casted as follows: find the sub-graph 𝒢=(𝒱,,w,𝐟)superscript𝒢superscript𝒱superscript𝑤𝐟\mathcal{G}^{*}=(\mathcal{V}^{*},\mathcal{E}^{*},w,\mathbf{f})caligraphic_G start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = ( caligraphic_V start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , italic_w , bold_f ) of a given R-multigraph 𝒢=(𝒱,,w,𝐟)𝒢𝒱𝑤𝐟\mathcal{G}=(\mathcal{V},\mathcal{E},w,\mathbf{f})caligraphic_G = ( caligraphic_V , caligraphic_E , italic_w , bold_f ) that maximizes the quantity W(𝒢^)𝑊^𝒢W(\hat{\mathcal{G}})italic_W ( over^ start_ARG caligraphic_G end_ARG ) under some given constraints, where 𝒢^^𝒢\hat{\mathcal{G}}over^ start_ARG caligraphic_G end_ARG is a generic sub-graph of 𝒢𝒢\mathcal{G}caligraphic_G. In order to write these problems in a more compact form, we introduce a binary variable xi={0,1}subscript𝑥𝑖01x_{i}=\{0,1\}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = { 0 , 1 } for each arc (u,v)𝑢𝑣(u,v)\in\mathcal{E}( italic_u , italic_v ) ∈ caligraphic_E. Hence, we obtain a bijection (u,v)xi𝑢𝑣subscript𝑥𝑖(u,v)\,\leftrightarrow\,x_{i}( italic_u , italic_v ) ↔ italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, where i=1,2,,N𝑖12𝑁i=1,2,\dots,Nitalic_i = 1 , 2 , … , italic_N and N=||𝑁N=|\mathcal{E}|italic_N = | caligraphic_E |. Each sub-graph ^^\hat{\mathcal{E}}\subseteq\mathcal{E}over^ start_ARG caligraphic_E end_ARG ⊆ caligraphic_E is identified by a single combination of 𝐱={x1,x2,,xN}{0,1}N𝐱subscript𝑥1subscript𝑥2subscript𝑥𝑁superscript01𝑁\mathbf{x}=\{x_{1},x_{2},\dots,x_{N}\}\in\{0,1\}^{N}bold_x = { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT } ∈ { 0 , 1 } start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT, where xi=1subscript𝑥𝑖1x_{i}=1italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = 1 if the corresponding arc is included in ^^\hat{\mathcal{E}}over^ start_ARG caligraphic_E end_ARG and xi=0subscript𝑥𝑖0x_{i}=0italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = 0 otherwise. Given this bijection, each combination of 𝐱𝐱\mathbf{x}bold_x defines a different ^^\hat{\mathcal{E}}\subseteq\mathcal{E}over^ start_ARG caligraphic_E end_ARG ⊆ caligraphic_E and 𝒱^^𝒱\hat{\mathcal{V}}over^ start_ARG caligraphic_V end_ARG, where u𝒱^𝑢^𝒱u\in\hat{\mathcal{V}}italic_u ∈ over^ start_ARG caligraphic_V end_ARG if there exists at least one arc in ^^\hat{\mathcal{E}}over^ start_ARG caligraphic_E end_ARG such that u𝑢uitalic_u is either the origin or the target node. For instance, 𝐱={1,1,,1}𝐱111\mathcal{E}\,\leftrightarrow\,\mathbf{x}=\{1,1,\dots,1\}caligraphic_E ↔ bold_x = { 1 , 1 , … , 1 }.

We start by considering the class of optimization problems that have objective functions and constraints that are, respectively, (at most) quadratic and linear in the binary variables xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. In case of mEC0subscript𝑚𝐸𝐶0m_{EC}\geq 0italic_m start_POSTSUBSCRIPT italic_E italic_C end_POSTSUBSCRIPT ≥ 0 equality constraints ECi(𝐱,w,𝐟)=0𝐸subscript𝐶𝑖𝐱𝑤𝐟0EC_{i}(\mathbf{x},w,\mathbf{f})=0italic_E italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_x , italic_w , bold_f ) = 0 and mIC0subscript𝑚𝐼𝐶0m_{IC}\geq 0italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT ≥ 0 inequality constraints ICj(𝐱,w,𝐟)0𝐼subscript𝐶𝑗𝐱𝑤𝐟0IC_{j}(\mathbf{x},w,\mathbf{f})\leq 0italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x , italic_w , bold_f ) ≤ 0, an optimization problem of this kind can be written as:

=argmax𝐱W(𝐱,w,𝐟) s.t. ECi(𝐱,w,𝐟)=0 for i=1,,mECICj(𝐱,w,𝐟)0 for j=1,,mIC.superscriptsubscript𝐱𝑊𝐱𝑤𝐟missing-subexpressionmissing-subexpression s.t. 𝐸subscript𝐶𝑖𝐱𝑤𝐟0 for 𝑖1subscript𝑚𝐸𝐶missing-subexpressionmissing-subexpression𝐼subscript𝐶𝑗𝐱𝑤𝐟0 for 𝑗1subscript𝑚𝐼𝐶\begin{array}[]{cccc}\mathcal{E}^{*}=\arg&\max_{\mathbf{x}}&W(\mathbf{x},w,% \mathbf{f})\\ &\mbox{ s.t. }&EC_{i}(\mathbf{x},w,\mathbf{f})=0&\mbox{ for }i=1,\dots,m_{EC}% \\ &&IC_{j}(\mathbf{x},w,\mathbf{f})\leq 0&\!\mbox{ for }j=1,\dots,m_{IC}\end{% array}\,.start_ARRAY start_ROW start_CELL caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = roman_arg end_CELL start_CELL roman_max start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT end_CELL start_CELL italic_W ( bold_x , italic_w , bold_f ) end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL s.t. end_CELL start_CELL italic_E italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_x , italic_w , bold_f ) = 0 end_CELL start_CELL for italic_i = 1 , … , italic_m start_POSTSUBSCRIPT italic_E italic_C end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x , italic_w , bold_f ) ≤ 0 end_CELL start_CELL for italic_j = 1 , … , italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT end_CELL end_ROW end_ARRAY . (2)

Moreover, we assume the parameters defining the linear inequality constraints to be integer (positive or negative), so that ICj(𝐱)𝐼subscript𝐶𝑗𝐱IC_{j}(\mathbf{x})italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) can only assume integer values. The linearity assumption of all the constraints and the requirement that the inequality ones are integer valued are necessary in order to introduce the standard method to obtain QUBO reformulations, as we show in Section II.1. Later, in Section III, we introduce novel methods that do not require the starting optimization problem to satisfy none of these assumptions: non-linear and non-integer constraints can be enforced without additional effort with respect to the linear integer-valued constraint cases.

II.1 Standard QUBO formulation

The goal of a QUBO reformulation of the optimization problem (2) is to provide a quadratic unconstrained binary optimization problem

=argmax𝐱,𝐬W(𝐱)+λ(i=1mECPiEC(𝐱)+j=1mICPjIC(𝐱,𝐬)),superscriptsubscript𝐱𝐬𝑊𝐱𝜆superscriptsubscript𝑖1subscript𝑚𝐸𝐶superscriptsubscript𝑃𝑖𝐸𝐶𝐱superscriptsubscript𝑗1subscript𝑚𝐼𝐶superscriptsubscript𝑃𝑗𝐼𝐶𝐱𝐬\mathcal{E}^{*}=\arg\max_{\mathbf{x},\mathbf{s}}W(\mathbf{x})+\lambda\left(% \sum_{i=1}^{m_{EC}}P_{i}^{EC}(\mathbf{x})+\sum_{j=1}^{m_{IC}}P_{j}^{IC}(% \mathbf{x},\mathbf{s})\right)\,,caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = roman_arg roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_W ( bold_x ) + italic_λ ( ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_E italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_E italic_C end_POSTSUPERSCRIPT ( bold_x ) + ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_I italic_C end_POSTSUPERSCRIPT ( bold_x , bold_s ) ) , (3)

that provides the same optimal configurations provided by Eq. (2), where 𝐬=(s1,s2,,sN¯)𝐬subscript𝑠1subscript𝑠2subscript𝑠¯𝑁\mathbf{s}=(s_{1},s_{2},\dots,s_{\overline{N}})bold_s = ( italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_s start_POSTSUBSCRIPT over¯ start_ARG italic_N end_ARG end_POSTSUBSCRIPT ) are N¯¯𝑁\overline{N}over¯ start_ARG italic_N end_ARG additional slack variables that are employed to enforce inequality constraints in a quadratic form. For the sake of clarity, we dropped the notation that makes explicit the dependence of W𝑊Witalic_W, ECi𝐸subscript𝐶𝑖EC_{i}italic_E italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT and ICj𝐼subscript𝐶𝑗IC_{j}italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT from w𝑤witalic_w and 𝐟𝐟\mathbf{f}bold_f. As we see later, linear equality constraints do not need any slack variables to be enforced in this form. In order for this reformulation to have the meaning that we required, we have to find quadratic forms P𝑃Pitalic_P that provide penalties, namely are smaller or equal than -1, whenever the corresponding equality or inequality constraint are violated by 𝐱𝐱\mathbf{x}bold_x, otherwise, if satisfied, they have to be zero valued for at least one value of 𝐬𝐬\mathbf{s}bold_s. For instance, P1EC(𝐱)1subscriptsuperscript𝑃𝐸𝐶1𝐱1P^{EC}_{1}(\mathbf{x})\leq-1italic_P start_POSTSUPERSCRIPT italic_E italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_x ) ≤ - 1 if and only if 𝐱𝐱\mathbf{x}bold_x violates the first equality constraint and P1EC(𝐱)=0subscriptsuperscript𝑃𝐸𝐶1𝐱0P^{EC}_{1}(\mathbf{x})=0italic_P start_POSTSUPERSCRIPT italic_E italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_x ) = 0 if and only if 𝐱𝐱\mathbf{x}bold_x satisfies the same constraint. Here, λ>0𝜆0\lambda>0italic_λ > 0 is a multiplier that has to be chosen large enough in order to make sure that all the combinations of 𝐱𝐱\mathbf{x}bold_x violating one or more constraints cannot be the optimal configurations selected by Eq. (3).

The standard approach to enforce constraints in a quadratic form [28] reads as follows:

=argmax𝐱,𝐬W(𝐱)+λ(i=1mECECi2(𝐱)j=1mIC(ICj(𝐱)+Sj(𝐬))2),superscriptsubscript𝐱𝐬𝑊𝐱𝜆superscriptsubscript𝑖1subscript𝑚𝐸𝐶𝐸subscriptsuperscript𝐶2𝑖𝐱superscriptsubscript𝑗1subscript𝑚𝐼𝐶superscript𝐼subscript𝐶𝑗𝐱subscript𝑆𝑗𝐬2\mathcal{E}^{*}=\arg\max_{\mathbf{x},\mathbf{s}}W(\mathbf{x})+\lambda\left(-% \sum_{i=1}^{m_{EC}}EC^{2}_{i}(\mathbf{x})-\sum_{j=1}^{m_{IC}}\left(IC_{j}(% \mathbf{x})+S_{j}(\mathbf{s})\right)^{2}\right)\,,caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = roman_arg roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_W ( bold_x ) + italic_λ ( - ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_E italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_E italic_C start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_x ) - ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) + italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) , (4)

where Sj(𝐬)subscript𝑆𝑗𝐬S_{j}(\mathbf{s})italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) are linear functions of the binary slack variables 𝐬={s1,s2,,sN¯}𝐬subscript𝑠1subscript𝑠2subscript𝑠¯𝑁\mathbf{s}=\{s_{1},s_{2},\dots,s_{\overline{N}}\}bold_s = { italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_s start_POSTSUBSCRIPT over¯ start_ARG italic_N end_ARG end_POSTSUBSCRIPT }. The quadratic term that enforces the equality constraint ECi(𝐱)𝐸subscript𝐶𝑖𝐱EC_{i}(\mathbf{x})italic_E italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_x ) in the QUBO form is simply given by PiEC(𝐱)=ECi2(𝐱)subscriptsuperscript𝑃𝐸𝐶𝑖𝐱𝐸superscriptsubscript𝐶𝑖2𝐱P^{EC}_{i}(\mathbf{x})=-EC_{i}^{2}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_E italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_x ) = - italic_E italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( bold_x ). The reason of this choice is straightforward: any 𝐱𝐱\mathbf{x}bold_x that violates ECi(𝐱)𝐸subscript𝐶𝑖𝐱EC_{i}(\mathbf{x})italic_E italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_x ) provides a negative contribution. Therefore, as this optimization is formulated as a maximization, those 𝐱𝐱\mathbf{x}bold_x leading to a violation of an equality constraint are discouraged. Hence, if λ>0𝜆0\lambda>0italic_λ > 0 is set large enough, we are sure that the solution of Eq. (4) satisfies all the equality constraints.

For what concerns the inequality constraints, we build some Sj(𝐬)subscript𝑆𝑗𝐬S_{j}(\mathbf{s})italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) that help to translate these constraints into equality ones [28]. Before explaining how this goal is achieved, we notice that, if the inequality constraints are satisfied for at least one combination of 𝐱𝐱\mathbf{x}bold_x, namely if there exists a solution of Eq. (2), then min𝐱ICj(𝐱)0subscript𝐱𝐼subscript𝐶𝑗𝐱0\min_{\mathbf{x}}IC_{j}(\mathbf{x})\leq 0roman_min start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) ≤ 0. Hence, if Sj(𝐬)subscript𝑆𝑗𝐬S_{j}(\mathbf{s})italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) assumes all the values in the interval [0,|min𝐱ICj(𝐱)|]0subscript𝐱𝐼subscript𝐶𝑗𝐱[0,|\min_{\mathbf{x}}IC_{j}(\mathbf{x})|][ 0 , | roman_min start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) | ], checking whether 𝐱𝐱\mathbf{x}bold_x satisfies the inequality constraint ICj(𝐱)0𝐼subscript𝐶𝑗𝐱0IC_{j}(\mathbf{x})\leq 0italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) ≤ 0 is equivalent to check whether 𝐱𝐱\mathbf{x}bold_x satisfies the equality constraint ICj(𝐱)+Sj(𝐬)=0𝐼subscript𝐶𝑗𝐱subscript𝑆𝑗𝐬0IC_{j}(\mathbf{x})+S_{j}(\mathbf{s})=0italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) + italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) = 0 for at least one value of 𝐬𝐬\mathbf{s}bold_s. Hence, the enforcement of this new equality constraint in the QUBO form can be made similarly to ECi(𝐱)𝐸subscript𝐶𝑖𝐱EC_{i}(\mathbf{x})italic_E italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_x ) by considering the quadratic term PjIC(𝐱,𝐬)=(ICj(𝐱)+Sj(𝐬))2subscriptsuperscript𝑃𝐼𝐶𝑗𝐱𝐬superscript𝐼subscript𝐶𝑗𝐱subscript𝑆𝑗𝐬2P^{IC}_{j}(\mathbf{x},\mathbf{s})=-(IC_{j}(\mathbf{x})+S_{j}(\mathbf{s}))^{2}italic_P start_POSTSUPERSCRIPT italic_I italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x , bold_s ) = - ( italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) + italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT. Finally, in order for Sj(𝐬)subscript𝑆𝑗𝐬S_{j}(\mathbf{s})italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) to have the properties described above, we use the definition:

Sj(𝐬)=sN¯jS¯j+i=1N¯j1si2i1,subscript𝑆𝑗𝐬subscript𝑠subscript¯𝑁𝑗subscript¯𝑆𝑗superscriptsubscript𝑖1subscript¯𝑁𝑗1subscript𝑠𝑖superscript2𝑖1\displaystyle S_{j}(\mathbf{s})=s_{\overline{N}_{j}}\overline{S}_{j}+\sum_{i=1% }^{\overline{N}_{j}-1}s_{i}2^{i-1}\,,italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) = italic_s start_POSTSUBSCRIPT over¯ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT over¯ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT over¯ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - 1 end_POSTSUPERSCRIPT italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT 2 start_POSTSUPERSCRIPT italic_i - 1 end_POSTSUPERSCRIPT , (5)

where N¯j>0subscript¯𝑁𝑗0\overline{N}_{j}>0over¯ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT > 0 and S¯j>0subscript¯𝑆𝑗0\overline{S}_{j}>0over¯ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT > 0 are such that Sj(𝐬)subscript𝑆𝑗𝐬S_{j}(\mathbf{s})italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) assumes all the integer values in the interval [0,|min𝐱ICj(𝐱)|]0subscript𝐱𝐼subscript𝐶𝑗𝐱[0,|\min_{\mathbf{x}}IC_{j}(\mathbf{x})|][ 0 , | roman_min start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) | ]. Hence, N¯j>0subscript¯𝑁𝑗0\overline{N}_{j}>0over¯ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT > 0 is the number of slack variables needed by this method to enforce ICj(𝐱)𝐼subscript𝐶𝑗𝐱IC_{j}(\mathbf{x})italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) in a QUBO form, namely Eq. (4). Notice that in Eq. (5) we implied a relabelling of the slack variable indices such that those associated to ICj(𝐱)𝐼subscript𝐶𝑗𝐱IC_{j}(\mathbf{x})italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) are the first N¯j>0subscript¯𝑁𝑗0\overline{N}_{j}>0over¯ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT > 0, where N¯=jN¯j¯𝑁subscript𝑗subscript¯𝑁𝑗\overline{N}=\sum_{j}\overline{N}_{j}over¯ start_ARG italic_N end_ARG = ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT over¯ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT. It is possible to apply similar techniques also in the case of non-integer-valued inequality constraints, but in general their enforcement requires more slack variables.

In summary, each term of the first and second sum of Eq. (4) is respectively associated to an equality or inequality constraint which provides a negative contribution, or penalty, if and only if 𝐱𝐱\mathbf{x}bold_x violates the corresponding condition. More precisely, if 𝐱𝐱\mathbf{x}bold_x violates a constraint, the contribution of the corresponding constraint term is strictly negative for all 𝐬𝐬\mathbf{s}bold_s. On the other side, the maximizations over the same terms are zero-valued if and only if 𝐱𝐱\mathbf{x}bold_x satisfies the corresponding conditions. Hence, a large-enough value of λ>0𝜆0\lambda>0italic_λ > 0 guarantees that the optimal solution does not violate any constraint and therefore Eqs. (2) and (4) have the same solution. Whereas a straightforward choice of this parameter is λ>max𝐱W(𝐱)𝜆subscript𝐱𝑊𝐱\lambda>\max_{\mathbf{x}}W(\mathbf{x})italic_λ > roman_max start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_W ( bold_x ), we provide other techniques later in this work for this tuning.

We underline that, in order to achieve this QUBO formulation, we have to make a disjoint use of slack variables, namely each slack variable appearing in Sj(𝐬)subscript𝑆𝑗𝐬S_{j}(\mathbf{s})italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ), does not appear in any other Sk(𝐬)subscript𝑆𝑘𝐬S_{k}(\mathbf{s})italic_S start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( bold_s ) for jk𝑗𝑘j\neq kitalic_j ≠ italic_k. Moreover, the total number of slack variables N¯jsubscript¯𝑁𝑗\overline{N}_{j}over¯ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT used to enforce ICj(𝐱)𝐼subscript𝐶𝑗𝐱IC_{j}(\mathbf{x})italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) solely depends on min𝐱ICj(𝐱)subscript𝐱𝐼subscript𝐶𝑗𝐱\min_{\mathbf{x}}IC_{j}(\mathbf{x})roman_min start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ). As a result, the number of slack variables deployed is:

N¯=j=1mICN¯j=j=1mIClog2(1+|min𝐱ICj(𝐱)|).¯𝑁superscriptsubscript𝑗1subscript𝑚𝐼𝐶subscript¯𝑁𝑗superscriptsubscript𝑗1subscript𝑚𝐼𝐶subscript21subscript𝐱𝐼subscript𝐶𝑗𝐱\displaystyle\overline{N}=\sum_{j=1}^{m_{IC}}\overline{N}_{j}=\sum_{j=1}^{m_{% IC}}\left\lceil\log_{2}\left(1+\left|\min_{\mathbf{x}}IC_{j}(\mathbf{x})\right% |\right)\right\rceil\,.over¯ start_ARG italic_N end_ARG = ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT over¯ start_ARG italic_N end_ARG start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ⌈ roman_log start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( 1 + | roman_min start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_x ) | ) ⌉ . (6)

III Iterative quadratic polynomial and master-satellite methods

The main goal of this work is to introduce a novel set of tools to obtain QUBO formulations of constrained binary optimization problems with the least possible amount of slack variables. This can help to reduce the number of qubits required to solve these problems on NISQ devices, potentially unlocking the possibility to tackle larger and more complex optimizations. Our strategy consists of two partially independent methods: the iterative quadratic polynomial (IQP) method and the master-satellite (MS) method. While here we provide an intuitive explanation of these techniques, a more detailed description can be found in the next sections.

The IQP method provides a new way to enforce constraints in a QUBO form. This method is particularly well-suited for constraints defined on few binary variables. Moreover, it can be easily generalized to enforce non-linear equality and inequality constraints into a QUBO form defined with integer or non-integer parameters. We summarize the main idea behind this method in Figure 1, while its technical explanation is presented in Section III.1.

Refer to caption
Figure 1: Iterative quadratic polynomial method: Take a constraint defined over M𝑀Mitalic_M binary variables. Our goal is to enforce it in a QUBO form through the most generic quadratic polynomial P(𝐱)𝑃𝐱P(\mathbf{x})italic_P ( bold_x ) in the variables 𝐱=(x1,x2,,xM)𝐱subscript𝑥1subscript𝑥2subscript𝑥𝑀\mathbf{x}=(x_{1},x_{2},\dots,x_{M})bold_x = ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_M end_POSTSUBSCRIPT ). We look for the values of its free parameters a0subscript𝑎0a_{0}italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT and aijsubscript𝑎𝑖𝑗a_{ij}italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT such that P(𝐱)=0𝑃𝐱0P(\mathbf{x})=0italic_P ( bold_x ) = 0 for those combinations of (x1,x2,,xM)subscript𝑥1subscript𝑥2subscript𝑥𝑀(x_{1},x_{2},\dots,x_{M})( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_M end_POSTSUBSCRIPT ) satisfying the constraint (green lines) and P(𝐱)1𝑃𝐱1P(\mathbf{x})\leq-1italic_P ( bold_x ) ≤ - 1 for those combinations violating the constraint (red lines). In case such a polynomial does not exists, we iteratively increase the number of slack variables in order to have more and more free parameters available to define the polynomial. We give a detailed explanation of the IQP method (with and without slack variables) in Section III.1.

The second main contribution of this work is a novel interplay between the penalty quadratic forms of a QUBO problem that enforce constraints, called the MS method. While the standard approach enforces constraints independently from each other, our method exploits a synergy between different constraints sharing the same binary variables. In case of two or more such constraints, we can divide them into master and satellite. Master constraints are enforced for each possible binary variable combination, while satellite constraints are enforced only for those combinations that already satisfy the master constraints. As a result, the penalty quadratic forms associated with master constraints provide penalties/no-penalties whenever the original constraints are violated/satisfied, namely they perfectly enforce their corresponding constraints. Instead, the penalty quadratic forms associated with satellite constraints are enforced only for those binary variables combinations that already satisfy the master constraints. A detailed description of the MS method is presented in Section III.2.

A consequence of this approach is that the quadratic forms associated to satellite constraints may provide accidental incentives, namely a positive contribution, for those binary variables combinations violating the master constraints. Hence, in order to avoid the promotion of those combinations, we amplify the influence of master constraints penalty terms until we have a net penalty even for those combinations receiving accidental incentives. This is done by a careful calibration of the QUBO penalty multipliers, namely some quantities analogous to the parameter λ𝜆\lambdaitalic_λ from Eq. (4). This tuning is explained in detail in Section III.3. We show that, through the adoption of this strategy, we are able to reduce the employment of slack variables. We summarize the idea behind the MS method in Figure 2.

It is evident that, given a particular optimization problem, the task of deciding which constraints have to be enforced as master and which as satellite is not a trivial one. Remember that, this method requires the presence of at least one master constraint and the more master constraints we have, the more efficient the implementation of satellite constraints is going to be. We can either decide to consider as master those constraints that require the least amount of slack variables, with or without the IQP method, or maybe those that are the most regular among the graph, e.g., do not depend on w𝑤witalic_w and 𝐟𝐟\mathbf{f}bold_f but solely on the arcs and nodes in the multigraph. This situation is examined through an exemplary problem in Section V. We point out that, the separation of master and satellite constraints described here is called bipartite, namely when constraint can either be master or satellite. We introduce a concatenated version of the MS method in Section III.4, which results to be even more efficient in terms of slack variables employed.

The implementation of the MS method is particularly straightforward when satellite constraints are enforced with the IQP method. Indeed, this method gives us the possibility to decide whether to associate a penalty or not to precise binary variables combinations. Moreover, when satellite constraints are enforced with the IQP method, even less slack variables are necessary, if compared to the enforcement of the same constraints as master. Indeed, the slack variables needed by the IQP method increase with the number of binary variables combinations for which we require a penalty or not. Hence, we anticipate that the benefits of the conjunction between the IQP and the MS (IQPMS) methods are maximized when dealing with constraints defined on few common binary variables. Nonetheless, in Appendix A we show how to apply the MS method when constraints are enforced with the standard method explained in Section II.1.

Refer to caption
Figure 2: Master-satellite method: Take two constraints defined over the same M𝑀Mitalic_M binary variables, where one is considered as master constraint (MC) and one as satellite constraint (SC). Our goal is to enforce them in a QUBO form through the most generic quadratic polynomials PMC(𝐱)superscript𝑃𝑀𝐶𝐱P^{MC}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_x ) and PSC(𝐱)superscript𝑃𝑆𝐶𝐱P^{SC}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_x ) in the variables (x1,x2,,xM)subscript𝑥1subscript𝑥2subscript𝑥𝑀(x_{1},x_{2},\dots,x_{M})( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_M end_POSTSUBSCRIPT ). While the MC is enforced with the standard IQP method (see Figure 1), the SC is enforced only for those combinations already satisfying the MC (top left green lines). Compared to PMC(𝐱)superscript𝑃𝑀𝐶𝐱P^{MC}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_x ), PSC(𝐱)superscript𝑃𝑆𝐶𝐱P^{SC}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_x ) is defined through a reduced number of conditions: no requirements are applied for those combinations violating the MC. As a consequence, we may obtain accidental incentives PSC(𝐱)>0superscript𝑃𝑆𝐶𝐱0P^{SC}(\mathbf{x})>0italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_x ) > 0 for these combinations (red lines). We solve this issue by amplifying the role of PMC(𝐱)superscript𝑃𝑀𝐶𝐱P^{MC}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_x ) through a relative multiplier λMC>1superscript𝜆𝑀𝐶1\lambda^{MC}>1italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT > 1 so that λMCPMC(𝐱)+PSC(𝐱)1superscript𝜆𝑀𝐶superscript𝑃𝑀𝐶𝐱superscript𝑃𝑆𝐶𝐱1\lambda^{MC}P^{MC}(\mathbf{x})+P^{SC}(\mathbf{x})\leq-1italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_x ) + italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_x ) ≤ - 1 if either the MC or the SC is violated (orange and red lines) and is equal to 0 if they are both satisfied (top right green lines). In case one or both such polynomials do not exists, we iteratively increase the number of slack variables in order to have more and more free parameters available to define the polynomials. We give a detailed explanation of the MS method in Section III.2.

In summary, while the IQP method is more efficient for constraints defined over few variables, the MS approach can be applied for sets of constraints defined on the same subsets of binary variables. Depending on the features of the combinatorial optimization problem studied, either one or both methods can be applied. For the sake of clarity, we introduce the class of locally-constrained optimizations problems in Section IV, for which a simultaneous adoption of the IQPMS methods can be efficiently implemented, namely all constraints can be enforced with these new methods. Moreover, the IQPMS methods perform the best when the graphs defining these problems are lowly connected.

Finally, we point out that, while both the IQP and the MS methods offer several advantages, it is important to note their potential limitations. The IQP method can become computationally complex for constraints defined over several variables, and the effectiveness of the MS method may depend on the particular selection of master and satellite constraints. Nonetheless, compared to existing approaches in the literature, such as the alternating direction method of multipliers [32], the augmented Lagrangian method [33, 34] or approximate QUBO enforcing, which have recently been adopted in Refs. [35, 36, 37, 38, 39, 40], our methods do not require solving preliminary QUBOs or approximating the problem constraints.

III.1 IQP method

In this section we introduce a novel technique to enforce constraints in the QUBO form. We start by focusing on the construction of a quadratic polynomial P(𝐱,𝐬)𝑃𝐱𝐬P(\mathbf{x},\mathbf{s})italic_P ( bold_x , bold_s ) that enforces an inequality constraint IC(𝐱)0𝐼𝐶𝐱0IC(\mathbf{x})\leq 0italic_I italic_C ( bold_x ) ≤ 0 of the target optimization problem, see Eq. (2). As we explain later, this technique can also be used for more general constraints, but for the sake of simplicity we begin with the linear inequality case. We consider the case where the constraint IC(𝐱)=IC(𝐲)𝐼𝐶𝐱𝐼𝐶𝐲IC(\mathbf{x})=IC(\mathbf{y})italic_I italic_C ( bold_x ) = italic_I italic_C ( bold_y ) is defined over MN𝑀𝑁M\leq Nitalic_M ≤ italic_N binary variables, namely over a subset 𝐲𝐱𝐲𝐱\mathbf{y}\subseteq\mathbf{x}bold_y ⊆ bold_x of all the N𝑁Nitalic_N binary variables 𝐱=(x1,x2,,xN)𝐱subscript𝑥1subscript𝑥2subscript𝑥𝑁\mathbf{x}=(x_{1},x_{2},\dots,x_{N})bold_x = ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) defining the starting optimization problem. Hence, differently from the previous section (see Figure 1), we relabel the binary variables associated to the target inequality constraint by using 𝐲=(x1,x2,,xM)𝐲subscript𝑥1subscript𝑥2subscript𝑥𝑀\mathbf{y}=(x_{1},x_{2},\dots,x_{M})bold_y = ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_M end_POSTSUBSCRIPT ).

Consider a generic quadratic polynomial (QP) in the following M+M¯𝑀¯𝑀M+\overline{M}italic_M + over¯ start_ARG italic_M end_ARG variables {𝐲,𝐬}𝐲𝐬\{\mathbf{y},\mathbf{s}\}{ bold_y , bold_s }, where 𝐲=(x1,x2,,xM)𝐲subscript𝑥1subscript𝑥2subscript𝑥𝑀\mathbf{y}=(x_{1},x_{2},\dots,x_{M})bold_y = ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_M end_POSTSUBSCRIPT ) are the binary variables associated to the studied constraint IC(𝐲)𝐼𝐶𝐲IC(\mathbf{y})italic_I italic_C ( bold_y ) and 𝐬={s1,s2,,sM¯}𝐬subscript𝑠1subscript𝑠2subscript𝑠¯𝑀\mathbf{s}=\{s_{1},s_{2},\dots,s_{\overline{M}}\}bold_s = { italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_s start_POSTSUBSCRIPT over¯ start_ARG italic_M end_ARG end_POSTSUBSCRIPT } are M¯¯𝑀\overline{M}over¯ start_ARG italic_M end_ARG slack variables:

P(𝐲,𝐬)=a0+1ijMaijxixj+1klM¯a¯klsksl+1iM1kM¯bikxisk.𝑃𝐲𝐬subscript𝑎0subscript1𝑖𝑗𝑀subscript𝑎𝑖𝑗subscript𝑥𝑖subscript𝑥𝑗subscript1𝑘𝑙¯𝑀subscript¯𝑎𝑘𝑙subscript𝑠𝑘subscript𝑠𝑙subscript1𝑖𝑀1𝑘¯𝑀subscript𝑏𝑖𝑘subscript𝑥𝑖subscript𝑠𝑘P(\mathbf{y},\mathbf{s})=a_{0}+\sum_{1\leq i\leq j\leq M}a_{ij}x_{i}x_{j}+\sum% _{1\leq k\leq l\leq\overline{M}}\overline{a}_{kl}s_{k}s_{l}+\sum_{\begin{% subarray}{c}1\leq i\leq M\\ 1\leq k\leq\overline{M}\end{subarray}}b_{ik}x_{i}s_{k}\,.italic_P ( bold_y , bold_s ) = italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT 1 ≤ italic_i ≤ italic_j ≤ italic_M end_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT 1 ≤ italic_k ≤ italic_l ≤ over¯ start_ARG italic_M end_ARG end_POSTSUBSCRIPT over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT italic_s start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_s start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT start_ARG start_ROW start_CELL 1 ≤ italic_i ≤ italic_M end_CELL end_ROW start_ROW start_CELL 1 ≤ italic_k ≤ over¯ start_ARG italic_M end_ARG end_CELL end_ROW end_ARG end_POSTSUBSCRIPT italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_s start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT . (7)

The number of free parameters in P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) are:

#{a0,aij,a¯kl,bik}=1+(M+M¯)2+M+M¯2.#subscript𝑎0subscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘1superscript𝑀¯𝑀2𝑀¯𝑀2\#\{a_{0},a_{ij},\overline{a}_{kl},b_{ik}\}=1+\frac{\left(M+\overline{M}\,% \right)^{2}+M+\overline{M}}{2}\,.# { italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT } = 1 + divide start_ARG ( italic_M + over¯ start_ARG italic_M end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_M + over¯ start_ARG italic_M end_ARG end_ARG start_ARG 2 end_ARG . (8)

The slack variables used to define P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) are disjoint from those considered to define QPs associated to other constraints 111If IC1(𝐲)0𝐼subscript𝐶1𝐲0IC_{1}(\mathbf{y})\leq 0italic_I italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) ≤ 0 and IC2(𝐲)0𝐼subscript𝐶2superscript𝐲0IC_{2}(\mathbf{y}^{\prime})\leq 0italic_I italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≤ 0 are enforced by P1(𝐲,𝐬)subscript𝑃1𝐲𝐬P_{1}(\mathbf{y},\mathbf{s})italic_P start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y , bold_s ) and P2(𝐲,𝐬)subscript𝑃2superscript𝐲superscript𝐬P_{2}(\mathbf{y}^{\prime},\mathbf{s}^{\prime})italic_P start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ), respectively, they would make use of M¯¯𝑀\overline{M}over¯ start_ARG italic_M end_ARG and M¯superscript¯𝑀\overline{M}^{\prime}over¯ start_ARG italic_M end_ARG start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT independent slack variables..

QP with no-slack variables: We start by considering the scenario without slack variables, namely M¯=0¯𝑀0\overline{M}=0over¯ start_ARG italic_M end_ARG = 0. In order to obtain a quadratic form P(𝐲)𝑃𝐲P(\mathbf{y})italic_P ( bold_y ) that enforces the constraint IC(𝐲)0𝐼𝐶𝐲0IC(\mathbf{y})\leq 0italic_I italic_C ( bold_y ) ≤ 0, we have to solve the following linear system in the parameters aijsubscript𝑎𝑖𝑗a_{ij}italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT:

{P(𝐲)=0 if 𝐲 satisfies IC(𝐲)0P(𝐲)1 if 𝐲 violates IC(𝐲)0.cases𝑃𝐲0 if 𝐲 satisfies 𝐼𝐶𝐲0missing-subexpression𝑃𝐲1 if 𝐲 violates 𝐼𝐶𝐲0missing-subexpression\left\{\,\,\,\begin{array}[]{ccc}P(\mathbf{y})=0&\mbox{ if }\mathbf{y}\mbox{ % satisfies }IC(\mathbf{y})\leq 0\\ P(\mathbf{y})\leq-1&\mbox{ if }\mathbf{y}\mbox{ violates }IC(\mathbf{y})\leq 0% \\ \end{array}\right.\,.{ start_ARRAY start_ROW start_CELL italic_P ( bold_y ) = 0 end_CELL start_CELL if bold_y satisfies italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_P ( bold_y ) ≤ - 1 end_CELL start_CELL if bold_y violates italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL end_CELL end_ROW end_ARRAY . (9)

If such a solution exists, then we managed to translate the constraint IC(𝐲)0𝐼𝐶𝐲0IC(\mathbf{y})\leq 0italic_I italic_C ( bold_y ) ≤ 0 into a QUBO form without using slack variables. We say that each value of 𝐲𝐲\mathbf{y}bold_y identifies a different sub-constraint, which can be either assigned to a no-penalty P(𝐲)=0𝑃𝐲0P(\mathbf{y})=0italic_P ( bold_y ) = 0 or to a penalty P(𝐲)1𝑃𝐲1P(\mathbf{y})\leq-1italic_P ( bold_y ) ≤ - 1. Hence, in order for P(𝐲)𝑃𝐲P(\mathbf{y})italic_P ( bold_y ) to represent IC(𝐲)0𝐼𝐶𝐲0IC(\mathbf{y})\leq 0italic_I italic_C ( bold_y ) ≤ 0, it has to satisfy 2Msuperscript2𝑀2^{M}2 start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT sub-constraints, one for each value of 𝐲{0,1}M𝐲superscript01𝑀\mathbf{y}\in\{0,1\}^{M}bold_y ∈ { 0 , 1 } start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT. It may sound that we can use no slack variables only when #aij=1+(M2+M)/2#subscript𝑎𝑖𝑗1superscript𝑀2𝑀2\#a_{ij}=1+(M^{2}+M)/2# italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT = 1 + ( italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_M ) / 2 is not smaller than the number of sub-constraint 2Msuperscript2𝑀2^{M}2 start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT. Nonetheless, as we see later, it is not uncommon to find quadratic polynomials that enforce a number of sub-constraints larger than the number of its free parameters. This is because inequality sub-constraints, namely P(𝐲)1𝑃𝐲1P(\mathbf{y})\leq-1italic_P ( bold_y ) ≤ - 1, are less restrictive than equality ones. Finally, notice that, if the constraint is satisfied for all 𝐲{0,1}M𝐲superscript01𝑀\mathbf{y}\in\{0,1\}^{M}bold_y ∈ { 0 , 1 } start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT, then we do not even need to enforce this constraint via a penalty polynomial: it is not violated for any combination of 𝐲𝐲\mathbf{y}bold_y and therefore no penalty has to be applied. Indeed, in this case we would simply obtain the null polynomial, namely a0=aij=0subscript𝑎0subscript𝑎𝑖𝑗0a_{0}=a_{ij}=0italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT = 0 for all i𝑖iitalic_i and j𝑗jitalic_j.

QP with slack variables: The implementation of slack variables into this scenario cannot be made by simply considering the linear system (9), where P(𝐲)𝑃𝐲P(\mathbf{y})italic_P ( bold_y ) is replaced by P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ). Indeed, even if P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) has several more degrees of freedom coming from the presence of slack variables, these are not exploited in the system as there is no reference of them in the linear system that we should solve. Consider for instance a value of 𝐲𝐲\mathbf{y}bold_y associated to a no-penalty sub-constraint. In this case, we would require P(𝐲,𝐬)=0𝑃𝐲𝐬0P(\mathbf{y},\mathbf{s})=0italic_P ( bold_y , bold_s ) = 0 for all the values of 𝐬𝐬\mathbf{s}bold_s. Hence, even if we have more degrees of freedom compared to the no-slack variable method, in this way we would solely have more conditions in the linear system. Therefore, it is easy to convince ourselves that this approach provides no improvement with respect to the scenario of a QP with no slack variables.

In order to exploit the potential of the slack variables inside a generic QP in this context, we start by noting the following. If we replace P(𝐲)𝑃𝐲P(\mathbf{y})italic_P ( bold_y ) with P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) in Eq. (9), the penalty (inequality) sub-constraints are less restrictive than the no-penalty (equality) ones. Indeed, the former type allows P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) to assume any value smaller or equal to -1 and for different values of 𝐬𝐬\mathbf{s}bold_s and the same 𝐲𝐲\mathbf{y}bold_y the polynomial P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) can assume different penalties. Instead, for no-penalty sub-constraints we require P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) to be exactly 0, for all 𝐲𝐲\mathbf{y}bold_y and 𝐬𝐬\mathbf{s}bold_s. Nonetheless, if 𝐲𝐲\mathbf{y}bold_y is associated to a no-penalty, we do not need P(𝐲,𝐬)=0𝑃𝐲𝐬0P(\mathbf{y},\mathbf{s})=0italic_P ( bold_y , bold_s ) = 0 to be true for all the values of 𝐬𝐬\mathbf{s}bold_s, it is enough to require it for at least one 𝐬𝐬\mathbf{s}bold_s, while at the same time no incentives are provided for the other values of 𝐬𝐬\mathbf{s}bold_s. Indeed, P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) is one component of the QUBO formulation of an optimization problem, which undergoes a maximization over 𝐱𝐱\mathbf{x}bold_x (which contains all the variables in 𝐲𝐲\mathbf{y}bold_y) and 𝐬𝐬\mathbf{s}bold_s. Hence, our minimal requirements on the parameters aijsubscript𝑎𝑖𝑗a_{ij}italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT, a¯klsubscript¯𝑎𝑘𝑙\overline{a}_{kl}over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT and biksubscript𝑏𝑖𝑘b_{ik}italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT defining P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) are:

{P(𝐲,𝐬)1 if 𝐲 violates IC(𝐲)0for all 𝐬P(𝐲,𝐬)0 if 𝐲 satisfies IC(𝐲)0for all 𝐬P(𝐲,𝐬)=0 if 𝐲 satisfies IC(𝐲)0for at least one 𝐬cases𝑃𝐲𝐬1 if 𝐲 violates 𝐼𝐶𝐲0for all 𝐬𝑃𝐲𝐬0 if 𝐲 satisfies 𝐼𝐶𝐲0for all 𝐬𝑃𝐲𝐬0 if 𝐲 satisfies 𝐼𝐶𝐲0for at least one 𝐬\left\{\begin{array}[]{ccc}P(\mathbf{y},\mathbf{s})\leq-1&\mbox{ if }\mathbf{y% }\mbox{ violates }IC(\mathbf{y})\leq 0&\mbox{for all }\mathbf{s}\\ P(\mathbf{y},\mathbf{s})\leq 0&\mbox{ if }\mathbf{y}\mbox{ satisfies }IC(% \mathbf{y})\leq 0&\mbox{for all }\mathbf{s}\\ P(\mathbf{y},\mathbf{s})=0&\mbox{ if }\mathbf{y}\mbox{ satisfies }IC(\mathbf{y% })\leq 0&\mbox{for at least one }\mathbf{s}\end{array}\right.{ start_ARRAY start_ROW start_CELL italic_P ( bold_y , bold_s ) ≤ - 1 end_CELL start_CELL if bold_y violates italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL for all bold_s end_CELL end_ROW start_ROW start_CELL italic_P ( bold_y , bold_s ) ≤ 0 end_CELL start_CELL if bold_y satisfies italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL for all bold_s end_CELL end_ROW start_ROW start_CELL italic_P ( bold_y , bold_s ) = 0 end_CELL start_CELL if bold_y satisfies italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL for at least one bold_s end_CELL end_ROW end_ARRAY (10)

or, equivalently,

{P(𝐲,𝐬)1 if 𝐲 violates IC(𝐲)0 for all 𝐬max𝐬P(𝐲,𝐬)=0 if 𝐲 satisfies IC(𝐲)0.cases𝑃𝐲𝐬1 if 𝐲 violates 𝐼𝐶𝐲0 for all 𝐬subscript𝐬𝑃𝐲𝐬0 if 𝐲 satisfies 𝐼𝐶𝐲0missing-subexpression\left\{\begin{array}[]{ccc}P(\mathbf{y},\mathbf{s})\leq-1&\mbox{ if }\mathbf{y% }\mbox{ violates }IC(\mathbf{y})\leq 0&\mbox{ for all }\mathbf{s}\\ \max_{\mathbf{s}}P(\mathbf{y},\mathbf{s})=0&\mbox{ if }\mathbf{y}\mbox{ % satisfies }IC(\mathbf{y})\leq 0\\ \end{array}\right.\,.{ start_ARRAY start_ROW start_CELL italic_P ( bold_y , bold_s ) ≤ - 1 end_CELL start_CELL if bold_y violates italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL for all bold_s end_CELL end_ROW start_ROW start_CELL roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_P ( bold_y , bold_s ) = 0 end_CELL start_CELL if bold_y satisfies italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL end_CELL end_ROW end_ARRAY . (11)

The enforcement of the sub-constraints proposed in Eqs. (10) and (11) can be casted as a feasibility problem. In case of a single slack variable 𝐬=s1𝐬subscript𝑠1\mathbf{s}=s_{1}bold_s = italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT, namely for M¯=1¯𝑀1\overline{M}=1over¯ start_ARG italic_M end_ARG = 1, it assumes the form:

argmina0,aij,a¯kl,bik1s.t.P(𝐲,0)1P(𝐲,1)1 if 𝐲 violates IC(𝐲)0(P(𝐲,0)=0P(𝐲,1)0)(P(𝐲,0)0P(𝐲,1)=0) if 𝐲 satisfies IC(𝐲)0,subscriptsubscript𝑎0subscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘1missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressions.t.𝑃𝐲01𝑃𝐲11 if 𝐲 violates 𝐼𝐶𝐲0missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression𝑃𝐲00𝑃𝐲10𝑃𝐲00𝑃𝐲10 if 𝐲 satisfies 𝐼𝐶𝐲0missing-subexpressionmissing-subexpression\begin{array}[]{cccccc}\arg&\min_{a_{0},a_{ij},\overline{a}_{kl},b_{ik}}&1&\\ &\mbox{s.t.}&P(\mathbf{y},0)\leq-1\land P(\mathbf{y},1)\leq-1&\mbox{ if }% \mathbf{y}\mbox{ violates }IC(\mathbf{y})\leq 0\\ &&(P(\mathbf{y},0)=0\land P(\mathbf{y},1)\leq 0)\lor(P(\mathbf{y},0)\leq 0% \land P(\mathbf{y},1)=0)&\mbox{ if }\mathbf{y}\mbox{ satisfies }IC(\mathbf{y})% \leq 0\\ \end{array}\,,start_ARRAY start_ROW start_CELL roman_arg end_CELL start_CELL roman_min start_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_CELL start_CELL 1 end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL s.t. end_CELL start_CELL italic_P ( bold_y , 0 ) ≤ - 1 ∧ italic_P ( bold_y , 1 ) ≤ - 1 end_CELL start_CELL if bold_y violates italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL ( italic_P ( bold_y , 0 ) = 0 ∧ italic_P ( bold_y , 1 ) ≤ 0 ) ∨ ( italic_P ( bold_y , 0 ) ≤ 0 ∧ italic_P ( bold_y , 1 ) = 0 ) end_CELL start_CELL if bold_y satisfies italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW end_ARRAY , (12)

where the symbols \land and \lor represent, respectively, the AND and OR logical operations. Hence, the solution of this feasibility problem provides the parameters aij,a¯klsubscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙a_{ij},\overline{a}_{kl}italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT and biksubscript𝑏𝑖𝑘b_{ik}italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT that defines the quadratic polynomial P(𝐲,s1)𝑃𝐲subscript𝑠1P(\mathbf{y},s_{1})italic_P ( bold_y , italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) that enforces our constraint.

IQP method: Consider the following iterative procedure to enforce constraints in a QUBO form, where in each step we add a slack variable to the QP used, until this enforcement is possible. Hence, given a target constraint, we execute the following step-by-step algorithm:

  • STEP 0: Apply the method with no-slack variables given in Eq. (9). If it provides a solution, halt.

  • STEP 1: Apply the method with M¯=1¯𝑀1\overline{M}=1over¯ start_ARG italic_M end_ARG = 1 slack variable given in Eqs. (10) and (11). If it provides a solution, halt.

  • STEP 2: Apply the method with M¯=2¯𝑀2\overline{M}=2over¯ start_ARG italic_M end_ARG = 2 slack variables given in Eqs. (10) and (11). If it provides a solution, halt.

  • STEP M¯¯𝑀\overline{M}over¯ start_ARG italic_M end_ARG: Apply the method with M¯¯𝑀\overline{M}over¯ start_ARG italic_M end_ARG slack variables given in Eqs. (10) and (11), with the following feasibility form:

    argmina0,aij,a¯kl,bik1s.t.𝐬P(𝐲,𝐬)1 if 𝐲 violates IC(𝐲)0𝐬(P(𝐲,𝐬)=0P(𝐲,𝐬𝐬)0) if 𝐲 satisfies IC(𝐲)0,subscriptsubscript𝑎0subscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘1missing-subexpressionmissing-subexpressionmissing-subexpressions.t.subscript𝐬𝑃𝐲𝐬1 if 𝐲 violates 𝐼𝐶𝐲0missing-subexpressionmissing-subexpressionmissing-subexpressionsubscript𝐬𝑃𝐲𝐬0𝑃𝐲superscript𝐬𝐬0 if 𝐲 satisfies 𝐼𝐶𝐲0missing-subexpression\begin{array}[]{ccccc}\arg&\min_{a_{0},a_{ij},\overline{a}_{kl},b_{ik}}&1&&\\ &\mbox{s.t.}&\bigwedge_{\mathbf{s}}P(\mathbf{y},\mathbf{s})\leq-1&\mbox{ if }% \mathbf{y}\mbox{ violates }IC(\mathbf{y})\leq 0\\ &&\bigvee_{\mathbf{s}}\left(P(\mathbf{y},\mathbf{s})=0\land P(\mathbf{y},% \mathbf{s}^{\prime}\neq\mathbf{s})\leq 0\right)&\mbox{ if }\mathbf{y}\mbox{ % satisfies }IC(\mathbf{y})\leq 0\end{array}\,,start_ARRAY start_ROW start_CELL roman_arg end_CELL start_CELL roman_min start_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_CELL start_CELL 1 end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL s.t. end_CELL start_CELL ⋀ start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_P ( bold_y , bold_s ) ≤ - 1 end_CELL start_CELL if bold_y violates italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL ⋁ start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT ( italic_P ( bold_y , bold_s ) = 0 ∧ italic_P ( bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ≠ bold_s ) ≤ 0 ) end_CELL start_CELL if bold_y satisfies italic_I italic_C ( bold_y ) ≤ 0 end_CELL start_CELL end_CELL end_ROW end_ARRAY , (13)

where the AND and OR logical operations are performed over 𝐬{0,1}M¯𝐬superscript01¯𝑀\mathbf{s}\in\{0,1\}^{\overline{M}}bold_s ∈ { 0 , 1 } start_POSTSUPERSCRIPT over¯ start_ARG italic_M end_ARG end_POSTSUPERSCRIPT.

In the following, we use the expression “IQP method” to refer to this algorithm. Notice that, if this procedure halts at a certain step, then the same amount of slack variables are enough for the IQP method to encode the target constraint as a QUBO penalty term. Remember that we start from STEP 0, which corresponds to the no-slack variables scenario. Hence, this method is designed to enforce our constraint via a QP (7) employing the least number of slack variables. In the following, the QP obtained through this method could be simply called IQP.

We point out that, as we increase the number of slack variables throughout these steps, P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) gets more and more free-parameters at disposal (see Eq. (8)), while at the same time we apply the same amount of “strong” equality conditions and more “soft” inequality conditions (see Eq. (10)) in the corresponding linear system. An indicative estimate of the slack variables necessary for this kind of method is given by requiring that the free parameters in P(𝐲,𝐬)𝑃𝐲𝐬P(\mathbf{y},\mathbf{s})italic_P ( bold_y , bold_s ) (see Eq. (8)) is larger than the number of sub-constraints, which in the general case are 2Msuperscript2𝑀2^{M}2 start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT, namely the conditions in the linear system (9) considered with no slack variables. Nonetheless, as we show it later with an example, a lower number of slack variables is often sufficient. Hence, it should already be clear that this method is particularly useful for small M𝑀Mitalic_M. Indeed, while for the standard method the number of slack variables do not change with M𝑀Mitalic_M, in general the number of slack variables needed by the IQP method increases with M𝑀Mitalic_M.

Finally, we underline two more qualities of this technique. First, this method can be extended to any linear/non-linear equality/inequality constraint defined with integer/non-integer parameters. Indeed, consider the linear systems (10) and (13) defining the parameters of the quadratic polynomial enforcing the constraint. The proposed procedure makes no reference to the form of IC(𝐲)𝐼𝐶𝐲IC(\mathbf{y})italic_I italic_C ( bold_y ) and, more importantly, its linearity is never exploited. The only operation that we have to perform is to verify whether IC(𝐲)𝐼𝐶𝐲IC(\mathbf{y})italic_I italic_C ( bold_y ) is violated or not for each 𝐲𝐲\mathbf{y}bold_y. It follows that, in case we need to enforce any other type of constraint C(𝐲)=True𝐶𝐲TrueC(\mathbf{y})=\mbox{True}italic_C ( bold_y ) = True, the same procedure described in this section can be adopted, where we simply replace “𝐲𝐲\mathbf{y}bold_y satisfies/violates IC(𝐲)0𝐼𝐶𝐲0IC(\mathbf{y})\leq 0italic_I italic_C ( bold_y ) ≤ 0” with “𝐲𝐲\mathbf{y}bold_y satisfies/violates C(𝐲)𝐶𝐲C(\mathbf{y})italic_C ( bold_y )”. A second merit of the IQP method is that, differently from the standard approach, it does not require all the variables to be coupled to each other: some of the parameters aij,a¯kl,biksubscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘a_{ij},\,\overline{a}_{kl},\,b_{ik}italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT can be null. We encounter this scenario for several constraints defining the optimization problem studied later in this work, namely the MPBS problem (see Section VI). This scenario can improve the performance of NISQ devices used as QUBO solvers as sparser formulations require fewer and less-connected qubits.

III.2 MS methods

Consider the scenario where two (or more) constraints are defined over the same subset of variables 𝐲𝐱𝐲𝐱\mathbf{y}\subseteq\mathbf{x}bold_y ⊆ bold_x, where the first has been enforced in a quadratic form either with the IQP method or any other method, e.g., as in Section II.1. We call this constraint the master constraint, while the second, which has yet to be enforced, as satellite. We follow by presenting a variation of the IQP method suited to enforce satellite constraints. This technique, as we show below, employs even less slack variables, if compared with the method presented in Section III.1, which instead is better suited for master constraints.

The main difference between the standard IQP method and its variation for satellite constraints is that we do not impose sub-constraints for all the possible combinations of the binary variables 𝐲=(x1,x2,,xM)𝐲subscript𝑥1subscript𝑥2subscript𝑥𝑀\mathbf{y}=(x_{1},x_{2},\dots,x_{M})bold_y = ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_M end_POSTSUBSCRIPT ), but only for the strictly smaller subset of combinations satisfying the master constraints. The final discussion of the previous section should already convince the reader that having less than 2Msuperscript2𝑀2^{M}2 start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT sub-constraints allows to implement satellite constraints with even fewer slack variables.

We start by considering two constraints sharing the same variables 𝐲𝐲\mathbf{y}bold_y, where we call “MC(𝐲)=𝑀𝐶𝐲absentMC(\mathbf{y})=italic_M italic_C ( bold_y ) = True” the constraint considered as master, and “SC(𝐲)=𝑆𝐶𝐲absentSC(\mathbf{y})=italic_S italic_C ( bold_y ) = True” the satellite one, where both can either be linear/non-linear equality/inequality constraints defined with integer/non-integer parameters. Requiring PSC(𝐲,𝐬)superscript𝑃𝑆𝐶𝐲𝐬P^{SC}(\mathbf{y},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ), obtained form Eq. (7), to enforce the satellite constraint with M¯¯𝑀\overline{M}over¯ start_ARG italic_M end_ARG slack variables corresponds to verify whether there exists a solution of the following linear system in the parameters aijsubscript𝑎𝑖𝑗a_{ij}italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT, a¯klsubscript¯𝑎𝑘𝑙\overline{a}_{kl}over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT and biksubscript𝑏𝑖𝑘b_{ik}italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT:

{PSC(𝐲,𝐬)1 if 𝐲 satisfies MC(𝐲) and violates SC(𝐲)for all 𝐬PSC(𝐲,𝐬)0 if 𝐲 satisfies MC(𝐲) and satisfies SC(𝐲)for all 𝐬PSC(𝐲,𝐬)=0 if 𝐲 satisfies MC(𝐲) and satisfies SC(𝐲)for at least one 𝐬casessuperscript𝑃𝑆𝐶𝐲𝐬1 if 𝐲 satisfies 𝑀𝐶𝐲 and violates 𝑆𝐶𝐲for all 𝐬superscript𝑃𝑆𝐶𝐲𝐬0 if 𝐲 satisfies 𝑀𝐶𝐲 and satisfies 𝑆𝐶𝐲for all 𝐬superscript𝑃𝑆𝐶𝐲𝐬0 if 𝐲 satisfies 𝑀𝐶𝐲 and satisfies 𝑆𝐶𝐲for at least one 𝐬\left\{\begin{array}[]{ccc}P^{SC}(\mathbf{y},\mathbf{s})\leq-1&\mbox{ if }% \mathbf{y}\mbox{ satisfies }MC(\mathbf{y})\mbox{ and violates }SC(\mathbf{y})&% \mbox{for all }\mathbf{s}\\ P^{SC}(\mathbf{y},\mathbf{s})\leq 0&\mbox{ if }\mathbf{y}\mbox{ satisfies }MC(% \mathbf{y})\mbox{ and satisfies }SC(\mathbf{y})&\mbox{for all }\mathbf{s}\\ P^{SC}(\mathbf{y},\mathbf{s})=0&\mbox{ if }\mathbf{y}\mbox{ satisfies }MC(% \mathbf{y})\mbox{ and satisfies }SC(\mathbf{y})&\mbox{for at least one }% \mathbf{s}\end{array}\right.{ start_ARRAY start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) ≤ - 1 end_CELL start_CELL if bold_y satisfies italic_M italic_C ( bold_y ) and violates italic_S italic_C ( bold_y ) end_CELL start_CELL for all bold_s end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) ≤ 0 end_CELL start_CELL if bold_y satisfies italic_M italic_C ( bold_y ) and satisfies italic_S italic_C ( bold_y ) end_CELL start_CELL for all bold_s end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) = 0 end_CELL start_CELL if bold_y satisfies italic_M italic_C ( bold_y ) and satisfies italic_S italic_C ( bold_y ) end_CELL start_CELL for at least one bold_s end_CELL end_ROW end_ARRAY (14)

or, equivalently,

{PSC(𝐲,𝐬)1 if 𝐲 satisfies MC(𝐲) and violates SC(𝐲) for all 𝐬max𝐬PSC(𝐲,𝐬)=0 if 𝐲 satisfies MC(𝐲) and satisfies SC(𝐲).casessuperscript𝑃𝑆𝐶𝐲𝐬1 if 𝐲 satisfies 𝑀𝐶𝐲 and violates 𝑆𝐶𝐲 for all 𝐬subscript𝐬superscript𝑃𝑆𝐶𝐲𝐬0 if 𝐲 satisfies 𝑀𝐶𝐲 and satisfies 𝑆𝐶𝐲missing-subexpression\left\{\begin{array}[]{ccc}P^{SC}(\mathbf{y},\mathbf{s})\leq-1&\mbox{ if }% \mathbf{y}\mbox{ satisfies }MC(\mathbf{y})\mbox{ and violates }SC(\mathbf{y})&% \mbox{ for all }\mathbf{s}\\ \max_{\mathbf{s}}P^{SC}(\mathbf{y},\mathbf{s})=0&\mbox{ if }\mathbf{y}\mbox{ % satisfies }MC(\mathbf{y})\mbox{ and satisfies }SC(\mathbf{y})\\ \end{array}\right.\,.{ start_ARRAY start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) ≤ - 1 end_CELL start_CELL if bold_y satisfies italic_M italic_C ( bold_y ) and violates italic_S italic_C ( bold_y ) end_CELL start_CELL for all bold_s end_CELL end_ROW start_ROW start_CELL roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) = 0 end_CELL start_CELL if bold_y satisfies italic_M italic_C ( bold_y ) and satisfies italic_S italic_C ( bold_y ) end_CELL start_CELL end_CELL end_ROW end_ARRAY . (15)

The step-by-step IQP method described in the previous section can be generalized to the satellite scenario, where we simply restrict the corresponding conditions for PSC(𝐲,𝐬)superscript𝑃𝑆𝐶𝐲𝐬P^{SC}(\mathbf{y},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) to the 2Mn(MC)<2Msuperscript2𝑀𝑛𝑀𝐶superscript2𝑀2^{M}-n(MC)<2^{M}2 start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT - italic_n ( italic_M italic_C ) < 2 start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT sub-constraints that satisfy the master constraints, as shown in Eqs. (14) and (15), where n(MC)1𝑛𝑀𝐶1n(MC)\geq 1italic_n ( italic_M italic_C ) ≥ 1 is the number of combinations of 𝐲𝐲\mathbf{y}bold_y that violate the master constraint. Hence, all the corresponding steps can be formulated similarly. For instance, the feasibility problem formulation (13) reads:

argminaij,a¯kl,bik1s.t.𝐬PSC(𝐲,𝐬)1 if 𝐲 satisfies MC(𝐲) and violates SC(𝐲)𝐬PSC(𝐲,𝐬)=0PSC(𝐲,𝐬𝐬)0 if 𝐲 satisfies MC(𝐲) and satisfies SC(𝐲),subscriptsubscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘1missing-subexpressionmissing-subexpressionmissing-subexpressions.t.subscript𝐬superscript𝑃𝑆𝐶𝐲𝐬1 if 𝐲 satisfies 𝑀𝐶𝐲 and violates 𝑆𝐶𝐲missing-subexpressionmissing-subexpressionmissing-subexpressionsubscript𝐬superscript𝑃𝑆𝐶𝐲𝐬0superscript𝑃𝑆𝐶𝐲superscript𝐬𝐬0 if 𝐲 satisfies 𝑀𝐶𝐲 and satisfies 𝑆𝐶𝐲missing-subexpression\begin{array}[]{ccccc}\arg&\min_{a_{ij},\overline{a}_{kl},b_{ik}}&1&&\\ &\mbox{s.t.}&\bigwedge_{\mathbf{s}}P^{SC}(\mathbf{y},\mathbf{s})\leq-1&\mbox{ % if }\mathbf{y}\mbox{ satisfies }MC(\mathbf{y})\mbox{ and violates }SC(\mathbf{% y})\\ &&\bigvee_{\mathbf{s}}P^{SC}(\mathbf{y},\mathbf{s})=0\land P^{SC}(\mathbf{y},% \mathbf{s}^{\prime}\neq\mathbf{s})\leq 0&\mbox{ if }\mathbf{y}\mbox{ satisfies% }MC(\mathbf{y})\mbox{ and satisfies }SC(\mathbf{y})\end{array}\,,start_ARRAY start_ROW start_CELL roman_arg end_CELL start_CELL roman_min start_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_CELL start_CELL 1 end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL s.t. end_CELL start_CELL ⋀ start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) ≤ - 1 end_CELL start_CELL if bold_y satisfies italic_M italic_C ( bold_y ) and violates italic_S italic_C ( bold_y ) end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL ⋁ start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) = 0 ∧ italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ≠ bold_s ) ≤ 0 end_CELL start_CELL if bold_y satisfies italic_M italic_C ( bold_y ) and satisfies italic_S italic_C ( bold_y ) end_CELL start_CELL end_CELL end_ROW end_ARRAY , (16)

where the AND and OR logical operations are performed over 𝐬{0,1}M¯𝐬superscript01¯𝑀\mathbf{s}\in\{0,1\}^{\overline{M}}bold_s ∈ { 0 , 1 } start_POSTSUPERSCRIPT over¯ start_ARG italic_M end_ARG end_POSTSUPERSCRIPT. Remember that this procedure can be straightforwardly applied to constraints that are non-linear or not defined through integer parameters, as described in Sec. III.1.

Notice that, in case all the combinations of 𝐲𝐲\mathbf{y}bold_y satisfying the master constraint satisfy the satellite constraint too, then there is no need to enforce the satellite constraint with a quadratic polynomial at all. Indeed, in this case a solution of Eq. (16) would be given (without employing any slack variable) by a0=aij=a¯kl=bik=0subscript𝑎0subscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘0a_{0}=a_{ij}=\overline{a}_{kl}=b_{ik}=0italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT = over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT = italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT = 0 for all i𝑖iitalic_i, j𝑗jitalic_j, k𝑘kitalic_k and l𝑙litalic_l.

In order to make the notation clearer, we considered the case of one master and one satellite constraint. In case of multiple master constraints, we have to require sub-constraints only for those 𝐲𝐲\mathbf{y}bold_y satisfying all the master constraints. Hence, in such a scenario we would impose even less sub-constraints, namely 2Mn(MC)<2Msuperscript2𝑀𝑛𝑀𝐶superscript2𝑀2^{M}-n(MC)<2^{M}2 start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT - italic_n ( italic_M italic_C ) < 2 start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT, where now n(MC)1𝑛𝑀𝐶1n(MC)\geq 1italic_n ( italic_M italic_C ) ≥ 1 is the number of combinations that violate at least one master constraint. Naturally, if we have more than one satellite constraint, the solution of this linear system has to be performed independently for each one of these constraints.

The natural consequence of not imposing any sub-constraint for those 𝐲𝐲\mathbf{y}bold_y violating the master constraints is that we may obtain an accidental incentive PSC(𝐲,𝐬)>0superscript𝑃𝑆𝐶𝐲𝐬0P^{SC}(\mathbf{y},\mathbf{s})>0italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) > 0 for some (𝐲,𝐬)𝐲𝐬(\mathbf{y},\mathbf{s})( bold_y , bold_s ), where 𝐲𝐲\mathbf{y}bold_y violates the master constraint. In this situation such a combination would be promoted, and therefore we need a strategy to avoid that the optimal solution of the corresponding QUBO problem violates one or more constraints. This goal is achieved by amplifying the weight of master constraints as shown in Section III.3.

We say that this MS method adopts a bipartite approach as, even in case of more than two constraints involved, each constraint is either considered as a master or a satellite constraint. Instead, in case of three or more constraints, we can either adopt the strategy introduced in this section or its concatenated version, presented in Section III.4.

III.3 Tuning of the relative multipliers

Consider the QUBO form (3) of a generic optimization problem (2), where a single constraint has been enforced with the IQP method presented in Section III.1. Since the corresponding quadratic form P(𝐱,𝐬)=P(𝐲,𝐬)𝑃𝐱𝐬𝑃𝐲𝐬P(\mathbf{x},\mathbf{s})=P(\mathbf{y},\mathbf{s})italic_P ( bold_x , bold_s ) = italic_P ( bold_y , bold_s ) provides penalties/no-penalties if and only if 𝐲𝐲\mathbf{y}bold_y violates/satisfies the corresponding constraint, no adjustments have to be applied to the form given in Eq. (3). The same applies if multiple constraints are enforced with the standard IQP method, namely when the MS method is not exploited.

In case two or more constraints are enforced with the MS method, some adjustments to Eq. (3) have to be applied. In practice, we need to amplify the role of the master constraint quadratic form as follows:

PMC(𝐲,𝐬)+PSC(𝐲,𝐬)λMCPMC(𝐲,𝐬)+PSC(𝐲,𝐬),superscript𝑃𝑀𝐶𝐲𝐬superscript𝑃𝑆𝐶𝐲𝐬superscript𝜆𝑀𝐶superscript𝑃𝑀𝐶𝐲𝐬superscript𝑃𝑆𝐶𝐲superscript𝐬P^{MC}(\mathbf{y},\mathbf{s})+P^{SC}(\mathbf{y},\mathbf{s})\,\,\longrightarrow% \,\,\lambda^{MC}P^{MC}(\mathbf{y},\mathbf{s})+P^{SC}(\mathbf{y},\mathbf{s}^{% \prime})\,,italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) ⟶ italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) , (17)

where the master and satellite constraints considered here are two constraints picked from the inequality and equality constraints of Eq. (2) that we decided to enforce with the MS approach, hence sharing the same subset of binary variables 𝐲𝐲\mathbf{y}bold_y. Hence, λMCPMC(𝐲,𝐬)+PSC(𝐲,𝐬)superscript𝜆𝑀𝐶superscript𝑃𝑀𝐶𝐲𝐬superscript𝑃𝑆𝐶𝐲superscript𝐬\lambda^{MC}P^{MC}(\mathbf{y},\mathbf{s})+P^{SC}(\mathbf{y},\mathbf{s}^{\prime})italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) replaces two of the quadratic polynomials on the r.h.s. of Eq. (3). The multiplier λMC1superscript𝜆𝑀𝐶1\lambda^{MC}\geq 1italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ≥ 1 can be defined as follows:

λMC=1+γmax{0,max𝐲,𝐬PSC(𝐲,𝐬)},superscript𝜆𝑀𝐶1𝛾0subscript𝐲superscript𝐬superscript𝑃𝑆𝐶𝐲superscript𝐬\lambda^{MC}=1+\gamma\max\left\{0,\max_{\mathbf{y},\mathbf{s}^{\prime}}P^{SC}(% \mathbf{y},\mathbf{s}^{\prime})\right\}\,,italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT = 1 + italic_γ roman_max { 0 , roman_max start_POSTSUBSCRIPT bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) } , (18)

where γ>1𝛾1\gamma>1italic_γ > 1 and, if the maximization on the r.h.s. is greater than zero, we say that at least one of the satellite constraints provide an accidental incentive. In case of no accidental incentives, λMC=1superscript𝜆𝑀𝐶1\lambda^{MC}=1italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT = 1.

Thanks to this transformation, we finally achieve a QUBO form of these two constraints that faithfully represents the corresponding constraints. Indeed, the r.h.s. of Eq. (17) is smaller or equal than -1 if 𝐲𝐲\mathbf{y}bold_y violates either the master or the satellite constraint and is zero-valued for at least one value of 𝐬𝐬\mathbf{s}bold_s if both constraints are satisfied:

{λMCPMC(𝐲,𝐬)+PSC(𝐲,𝐬)1 for all 𝐬 if 𝐲 violates MC(𝐬)SC(𝐬)λMCPMC(𝐲,𝐬)+PSC(𝐲,𝐬)0 for all 𝐬 if 𝐲 satisfies MC(𝐬)SC(𝐬)λMCPMC(𝐲,𝐬)+PSC(𝐲,𝐬)=0 for at least one 𝐬 if 𝐲 satisfies MC(𝐬)SC(𝐬).casessuperscript𝜆𝑀𝐶superscript𝑃𝑀𝐶𝐲𝐬superscript𝑃𝑆𝐶𝐲superscript𝐬1 for all 𝐬 if 𝐲 violates 𝑀𝐶𝐬𝑆𝐶𝐬superscript𝜆𝑀𝐶superscript𝑃𝑀𝐶𝐲𝐬superscript𝑃𝑆𝐶𝐲superscript𝐬0 for all 𝐬 if 𝐲 satisfies 𝑀𝐶𝐬𝑆𝐶𝐬superscript𝜆𝑀𝐶superscript𝑃𝑀𝐶𝐲𝐬superscript𝑃𝑆𝐶𝐲superscript𝐬0 for at least one 𝐬 if 𝐲 satisfies 𝑀𝐶𝐬𝑆𝐶𝐬\left\{\begin{array}[]{ccc}\lambda^{MC}P^{MC}(\mathbf{y},\mathbf{s})+P^{SC}(% \mathbf{y},\mathbf{s}^{\prime})\leq-1&\mbox{ for all }\mathbf{s}&\mbox{ if }% \mathbf{y}\mbox{ violates }MC(\mathbf{s})\vee SC(\mathbf{s})\\ \lambda^{MC}P^{MC}(\mathbf{y},\mathbf{s})+P^{SC}(\mathbf{y},\mathbf{s}^{\prime% })\leq 0&\mbox{ for all }\mathbf{s}&\mbox{ if }\mathbf{y}\mbox{ satisfies }MC(% \mathbf{s})\land SC(\mathbf{s})\\ \lambda^{MC}P^{MC}(\mathbf{y},\mathbf{s})+P^{SC}(\mathbf{y},\mathbf{s}^{\prime% })=0&\mbox{ for at least one }\mathbf{s}&\mbox{ if }\mathbf{y}\mbox{ satisfies% }MC(\mathbf{s})\land SC(\mathbf{s})\end{array}\right.\,.{ start_ARRAY start_ROW start_CELL italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≤ - 1 end_CELL start_CELL for all bold_s end_CELL start_CELL if bold_y violates italic_M italic_C ( bold_s ) ∨ italic_S italic_C ( bold_s ) end_CELL end_ROW start_ROW start_CELL italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≤ 0 end_CELL start_CELL for all bold_s end_CELL start_CELL if bold_y satisfies italic_M italic_C ( bold_s ) ∧ italic_S italic_C ( bold_s ) end_CELL end_ROW start_ROW start_CELL italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) = 0 end_CELL start_CELL for at least one bold_s end_CELL start_CELL if bold_y satisfies italic_M italic_C ( bold_s ) ∧ italic_S italic_C ( bold_s ) end_CELL end_ROW end_ARRAY . (19)

Consider the case where we enforce multiple constraints as master and satellite (either with the IQP method or not) defined over the same shared set of variables 𝐲𝐱𝐲𝐱\mathbf{y}\subseteq\mathbf{x}bold_y ⊆ bold_x. Both master and satellite constraints can be chosen among the equality and inequality constraints. We apply the following transformation of the QUBO form:

i=1mMCPiMC(𝐲,𝐬)+j=1mSCPjSC(𝐲,𝐬)λMCi=1mMCPiMC(𝐲,𝐬)+j=1mSCPjSC(𝐲,𝐬),superscriptsubscript𝑖1subscript𝑚𝑀𝐶superscriptsubscript𝑃𝑖𝑀𝐶𝐲𝐬superscriptsubscript𝑗1subscript𝑚𝑆𝐶superscriptsubscript𝑃𝑗𝑆𝐶𝐲𝐬superscript𝜆𝑀𝐶superscriptsubscript𝑖1subscript𝑚𝑀𝐶superscriptsubscript𝑃𝑖𝑀𝐶𝐲𝐬superscriptsubscript𝑗1subscript𝑚𝑆𝐶superscriptsubscript𝑃𝑗𝑆𝐶𝐲𝐬\sum_{i=1}^{m_{MC}}P_{i}^{MC}(\mathbf{y},\mathbf{s})+\sum_{j=1}^{m_{SC}}P_{j}^% {SC}(\mathbf{y},\mathbf{s})\,\,\longrightarrow\,\,\lambda^{MC}\sum_{i=1}^{m_{% MC}}P_{i}^{MC}(\mathbf{y},\mathbf{s})+\sum_{j=1}^{m_{SC}}P_{j}^{SC}(\mathbf{y}% ,\mathbf{s})\,,∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_M italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) + ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_S italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) ⟶ italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_M italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) + ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_S italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s ) , (20)

where, even if not made explicit, the slack variables employed for the master and satellite quadratic polynomials are independent. Therefore, this transformation involves mMC+mICsubscript𝑚𝑀𝐶subscript𝑚𝐼𝐶m_{MC}+m_{IC}italic_m start_POSTSUBSCRIPT italic_M italic_C end_POSTSUBSCRIPT + italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT quadratic polynomials picked from Eq. (3). Similarly to Eq. (18), we use:

λMC=1+γmax{0,max𝐲,𝐬j=1mSCPjSC(𝐲,𝐬)}.superscript𝜆𝑀𝐶1𝛾0subscript𝐲superscript𝐬superscriptsubscript𝑗1subscript𝑚𝑆𝐶superscriptsubscript𝑃𝑗𝑆𝐶𝐲superscript𝐬\lambda^{MC}=1+\gamma\max\left\{0,\max_{\mathbf{y},\mathbf{s}^{\prime}}\sum_{j% =1}^{m_{SC}}P_{j}^{SC}(\mathbf{y},\mathbf{s}^{\prime})\right\}\,.italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT = 1 + italic_γ roman_max { 0 , roman_max start_POSTSUBSCRIPT bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_S italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT ( bold_y , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) } . (21)

For what concerns the multiplier λ𝜆\lambdaitalic_λ that appears in Eq. (3), we can apply the ordinary strategies that can be found in the literature. Several exemplary problems for which this parameter is calculated are given in Ref. [5], where at times a different parameter λisubscript𝜆𝑖\lambda_{i}italic_λ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is associated to each quadratic penalty term Pi(𝐱,𝐬)subscript𝑃𝑖𝐱𝐬P_{i}(\mathbf{x},\mathbf{s})italic_P start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_x , bold_s ). In what follows, we define a class of optimization problems, called locally-constrained, for which we propose a different tuning of these parameters.

III.4 Master-satellite concatenation

We briefly describe a method to concatenate the MS approach in order to reduce even more the number of considered sub-constraints, and therefore of slack variables. This approach can be applied solely for those cases where three or more constraints share the same subset of variables 𝐲𝐱𝐲𝐱\mathbf{y}\subseteq\mathbf{x}bold_y ⊆ bold_x. For instance, consider the four constraints C1(𝐲)subscript𝐶1𝐲C_{1}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ), C2(𝐲)subscript𝐶2𝐲C_{2}(\mathbf{y})italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y ), C3(𝐲)subscript𝐶3𝐲C_{3}(\mathbf{y})italic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ( bold_y ) and C4(𝐲)subscript𝐶4𝐲C_{4}(\mathbf{y})italic_C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ( bold_y ) (we omit the “=TrueabsentTrue=\mbox{True}= True” notation) defined over the same binary variables.

The approach of the previous sections requires to identify two groups of constraints, where all the constraints in the second group are satellite of the constraints in the first group. For instance, we could choose the master constraints to be C1(𝐲)subscript𝐶1𝐲C_{1}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) and C2(𝐲)subscript𝐶2𝐲C_{2}(\mathbf{y})italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y ), while their satellite constraints are respectively C3(𝐲)subscript𝐶3𝐲C_{3}(\mathbf{y})italic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ( bold_y ) and C4(𝐲)subscript𝐶4𝐲C_{4}(\mathbf{y})italic_C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ( bold_y ). Each constraint in the satellite group is actively enforced solely for those combinations of 𝐲𝐲\mathbf{y}bold_y that satisfy the constraints from the master group. On the other side, all the master constraints have to be enforced for all the 2Msuperscript2𝑀2^{M}2 start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT combinations of 𝐲=(x1,x2,,xM)𝐲subscript𝑥1subscript𝑥2subscript𝑥𝑀\mathbf{y}=(x_{1},x_{2},\dots,x_{M})bold_y = ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_M end_POSTSUBSCRIPT ).

We concatenate the MS method among all the constraints defined over 𝐲𝐱𝐲𝐱\mathbf{y}\subseteq\mathbf{x}bold_y ⊆ bold_x. In particular, we start by choosing two constraints, e.g., C1(𝐲)subscript𝐶1𝐲C_{1}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) and C2(𝐲)subscript𝐶2𝐲C_{2}(\mathbf{y})italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y ), and enforce C1(𝐲)subscript𝐶1𝐲C_{1}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) as the master constraint of C2(𝐲)subscript𝐶2𝐲C_{2}(\mathbf{y})italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y ). Hence, C1(𝐲)subscript𝐶1𝐲C_{1}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) would be enforced for all the combinations of 𝐲𝐲\mathbf{y}bold_y, while C2(𝐲)subscript𝐶2𝐲C_{2}(\mathbf{y})italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y ) only for those 𝐲𝐲\mathbf{y}bold_y satisfying C1(𝐲)subscript𝐶1𝐲C_{1}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) (as the master-satellite approach described in the previous sections in the case of two constraints). Nonetheless, differently from before, we continue this concatenation of constraints by considering C1(𝐲)C2(𝐲)subscript𝐶1𝐲subscript𝐶2𝐲C_{1}(\mathbf{y})\land C_{2}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) ∧ italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y ) as the master constraint of C3(𝐲)subscript𝐶3𝐲C_{3}(\mathbf{y})italic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ( bold_y ). Hence, C3(𝐲)subscript𝐶3𝐲C_{3}(\mathbf{y})italic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ( bold_y ) would be enforced only for those 𝐲𝐲\mathbf{y}bold_y satisfying C1(𝐲)C2(𝐲)subscript𝐶1𝐲subscript𝐶2𝐲C_{1}(\mathbf{y})\land C_{2}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) ∧ italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y ). Finally, C4(𝐲)subscript𝐶4𝐲C_{4}(\mathbf{y})italic_C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ( bold_y ) would be enforced as a satellite constraint of all the other constraints, namely with C1(𝐲)C2(𝐲)C3(𝐲)subscript𝐶1𝐲subscript𝐶2𝐲subscript𝐶3𝐲C_{1}(\mathbf{y})\land C_{2}(\mathbf{y})\land C_{3}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) ∧ italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y ) ∧ italic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ( bold_y ) being its master constraint. Therefore, C4(𝐲)subscript𝐶4𝐲C_{4}(\mathbf{y})italic_C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ( bold_y ) has to be enforced for those 𝐲𝐲\mathbf{y}bold_y already satisfying all the other constraints. This hierarchy of constraint enforcement allows to consider fewer sub-constraints if compared with the non-concatenated case, and therefore, as show before, less slack variables.

This approach requires the introduction of multiple relative multipliers that have the role to counterbalance the accidental incentives coming from the enforcement of C2(𝐲)subscript𝐶2𝐲C_{2}(\mathbf{y})italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y ), C3(𝐲)subscript𝐶3𝐲C_{3}(\mathbf{y})italic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ( bold_y ) and C4(𝐲)subscript𝐶4𝐲C_{4}(\mathbf{y})italic_C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ( bold_y ). If we consider the previously described example of four constraints, we would need three different multipliers similar to λMCsuperscript𝜆𝑀𝐶\lambda^{MC}italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT from Eq. (18) via the following replacement of the quadratic polynomials enforcing C1,2,3,4(𝐲)subscript𝐶1234𝐲C_{1,2,3,4}(\mathbf{y})italic_C start_POSTSUBSCRIPT 1 , 2 , 3 , 4 end_POSTSUBSCRIPT ( bold_y ) in Eq. (3):

P1(𝐲,𝐬)+P2(𝐲,𝐬)+P3(𝐲,𝐬)+P4(𝐲,𝐬)λ1P1(𝐲,𝐬)+λ2P2(𝐲,𝐬)+λ3P3(𝐲,𝐬)+P4(𝐲,𝐬),subscript𝑃1𝐲𝐬subscript𝑃2𝐲𝐬subscript𝑃3𝐲𝐬subscript𝑃4𝐲𝐬subscript𝜆1subscript𝑃1𝐲𝐬subscript𝜆2subscript𝑃2𝐲𝐬subscript𝜆3subscript𝑃3𝐲𝐬subscript𝑃4𝐲𝐬P_{1}(\mathbf{y},\mathbf{s})+P_{2}(\mathbf{y},\mathbf{s})+P_{3}(\mathbf{y},% \mathbf{s})+P_{4}(\mathbf{y},\mathbf{s})\,\longrightarrow\,\lambda_{1}P_{1}(% \mathbf{y},\mathbf{s})+\lambda_{2}P_{2}(\mathbf{y},\mathbf{s})+\lambda_{3}P_{3% }(\mathbf{y},\mathbf{s})+P_{4}(\mathbf{y},\mathbf{s})\,,italic_P start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ( bold_y , bold_s ) ⟶ italic_λ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_P start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y , bold_s ) + italic_λ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_P start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y , bold_s ) + italic_λ start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_P start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ( bold_y , bold_s ) + italic_P start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ( bold_y , bold_s ) , (22)

where Pi(𝐲,𝐬)subscript𝑃𝑖𝐲𝐬P_{i}(\mathbf{y},\mathbf{s})italic_P start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_y , bold_s ) is the IQP obtained while considering the constraint Ci(𝐲)subscript𝐶𝑖𝐲C_{i}(\mathbf{y})italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_y ) in this concatenated scheme, namely as a satellite of all the constraints Cj(𝐲)subscript𝐶𝑗𝐲C_{j}(\mathbf{y})italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_y ) with j<i𝑗𝑖j<iitalic_j < italic_i and master of those with j>i𝑗𝑖j>iitalic_j > italic_i. Remember that each Ci(𝐲)subscript𝐶𝑖𝐲C_{i}(\mathbf{y})italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_y ) can either be an equality or an inequality constraint. The tuning of the parameters λisubscript𝜆𝑖\lambda_{i}italic_λ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is given by the following generalization of Eq. (18):

λi=1+γmax{0,max𝐲,𝐬j>iPj(𝐲,𝐬)},subscript𝜆𝑖1𝛾0subscript𝐲𝐬subscript𝑗𝑖subscript𝑃𝑗𝐲𝐬\lambda_{i}=1+\gamma\max\left\{0,\max_{\mathbf{y},\mathbf{s}}\sum_{j>i}P_{j}(% \mathbf{y},\mathbf{s})\right\}\,,italic_λ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = 1 + italic_γ roman_max { 0 , roman_max start_POSTSUBSCRIPT bold_y , bold_s end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j > italic_i end_POSTSUBSCRIPT italic_P start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_y , bold_s ) } , (23)

where γ>1𝛾1\gamma>1italic_γ > 1.

IV Locally-constrained optimization problems

A class of optimization problems that is particularly suited for the application of our techniques is given by the locally-constrained ones, namely those having constraints that are defined node-by-node and depend solely on the variables xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT associated to the arcs incident to each node (see Definition 1). The optimization problems of this type assume the form:

=argmax𝐱W(𝐱) s.t. ECu,i(𝐱)=0 for u𝒱(𝐱) and i=1,,mECICu,j(𝐱)0 for u𝒱(𝐱) and j=1,,mIC,superscriptsubscript𝐱𝑊𝐱missing-subexpressionmissing-subexpression s.t. 𝐸subscript𝐶𝑢𝑖𝐱0formulae-sequence for 𝑢𝒱𝐱 and 𝑖1subscript𝑚𝐸𝐶missing-subexpressionmissing-subexpression𝐼subscript𝐶𝑢𝑗𝐱0formulae-sequence for 𝑢𝒱𝐱 and 𝑗1subscript𝑚𝐼𝐶\begin{array}[]{cccc}\mathcal{E}^{*}=\arg&\max_{\mathbf{x}}&W(\mathbf{x})&\\ &\mbox{ s.t. }&EC_{u,i}(\mathbf{x})=0&\mbox{ for }u\in\mathcal{V(\mathbf{x})}% \,\,\mbox{ and }\,\,i=1,\dots,m_{EC}\\ &&IC_{u,j}(\mathbf{x})\leq 0&\mbox{ for }u\in\mathcal{V(\mathbf{x})}\,\,\mbox{% and }\,\,j=1,\dots,m_{IC}\end{array}\,,start_ARRAY start_ROW start_CELL caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = roman_arg end_CELL start_CELL roman_max start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT end_CELL start_CELL italic_W ( bold_x ) end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL s.t. end_CELL start_CELL italic_E italic_C start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT ( bold_x ) = 0 end_CELL start_CELL for italic_u ∈ caligraphic_V ( bold_x ) and italic_i = 1 , … , italic_m start_POSTSUBSCRIPT italic_E italic_C end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL italic_I italic_C start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_x ) ≤ 0 end_CELL start_CELL for italic_u ∈ caligraphic_V ( bold_x ) and italic_j = 1 , … , italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT end_CELL end_ROW end_ARRAY , (24)

where the equality and inequality constraints ECu,i(𝐱)𝐸subscript𝐶𝑢𝑖𝐱EC_{u,i}(\mathbf{x})italic_E italic_C start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT ( bold_x ) and ICu,j(𝐱)𝐼subscript𝐶𝑢𝑗𝐱IC_{u,j}(\mathbf{x})italic_I italic_C start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_x ) are defined solely over those binary variables 𝐲u𝐱={x1,x2,,xN}subscript𝐲𝑢𝐱subscript𝑥1subscript𝑥2subscript𝑥𝑁\mathbf{y}_{u}\subseteq\mathbf{x}=\{x_{1},x_{2},\dots,x_{N}\}bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ⊆ bold_x = { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT } associated to the arcs incident to the corresponding node u𝑢uitalic_u and 𝒱(𝐱)𝒱𝒱𝐱𝒱\mathcal{V}(\mathbf{x})\subseteq\mathcal{V}caligraphic_V ( bold_x ) ⊆ caligraphic_V is the subset of nodes identified by the arcs selected by 𝐱𝐱\mathbf{x}bold_x. For instance, if 𝐱={1,0,0,,0}𝐱1000\mathbf{x}=\{1,0,0,\dots,0\}bold_x = { 1 , 0 , 0 , … , 0 }, where x1=1subscript𝑥11x_{1}=1italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT = 1 corresponds to an arc connecting u=1𝑢1u=1italic_u = 1 and u=2𝑢2u=2italic_u = 2, 𝒱(𝐱)𝒱𝐱\mathcal{V}(\mathbf{x})caligraphic_V ( bold_x ) would consists of the nodes u=1𝑢1u=1italic_u = 1 and u=2𝑢2u=2italic_u = 2. Hence, for each node in 𝒱(𝐱)𝒱𝐱\mathcal{V}(\mathbf{x})caligraphic_V ( bold_x ) we impose mECsubscript𝑚𝐸𝐶m_{EC}italic_m start_POSTSUBSCRIPT italic_E italic_C end_POSTSUBSCRIPT equality constraints and mICsubscript𝑚𝐼𝐶m_{IC}italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT inequality constraints 222Extending our approach to node-dependent mIC,usubscript𝑚𝐼𝐶𝑢m_{IC,u}italic_m start_POSTSUBSCRIPT italic_I italic_C , italic_u end_POSTSUBSCRIPT and mEC,usubscript𝑚𝐸𝐶𝑢m_{EC,u}italic_m start_POSTSUBSCRIPT italic_E italic_C , italic_u end_POSTSUBSCRIPT is straightforward but, for the sake of simplicity, we consider each node having the same number of equality and inequality constraints.. Notice that, while in Eq. (2) mECsubscript𝑚𝐸𝐶m_{EC}italic_m start_POSTSUBSCRIPT italic_E italic_C end_POSTSUBSCRIPT and mICsubscript𝑚𝐼𝐶m_{IC}italic_m start_POSTSUBSCRIPT italic_I italic_C end_POSTSUBSCRIPT referred to the total number of equality and inequality constraints in the whole graph, respectively, in Eq. (24) they refer to the number of equality/inequality constraints per node 333If Eq. (2) is locally-constrained, it can be written in the form of Eq. (24) via the rescaling mEC/ICmEC/IC/|𝒱|subscript𝑚𝐸𝐶𝐼𝐶subscript𝑚𝐸𝐶𝐼𝐶𝒱m_{EC/IC}\rightarrow m_{EC/IC}/|\mathcal{V}|italic_m start_POSTSUBSCRIPT italic_E italic_C / italic_I italic_C end_POSTSUBSCRIPT → italic_m start_POSTSUBSCRIPT italic_E italic_C / italic_I italic_C end_POSTSUBSCRIPT / | caligraphic_V |..

Locally-constrained optimization problems are particularly appropriate for the application of the IQPMS methods. These problems present a natural subdivision of the constraints defined over the same set of binary variables 𝐲𝐲\mathbf{y}bold_y. Indeed, each node u𝑢uitalic_u has constraints defined solely over the variables 𝐲u𝐱subscript𝐲𝑢𝐱\mathbf{y}_{u}\subseteq\mathbf{x}bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ⊆ bold_x associated to the arcs incident to u𝑢uitalic_u. Therefore, the application of the IQPMS methods is extremely direct.

Consider a locally-constrained problem with at least two constraints per node and divide them into mMC1subscript𝑚𝑀𝐶1m_{MC}\geq 1italic_m start_POSTSUBSCRIPT italic_M italic_C end_POSTSUBSCRIPT ≥ 1 master constraints MCu,i(𝐱)𝑀subscript𝐶𝑢𝑖𝐱MC_{u,i}(\mathbf{x})italic_M italic_C start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT ( bold_x ) and mSC1subscript𝑚𝑆𝐶1m_{SC}\geq 1italic_m start_POSTSUBSCRIPT italic_S italic_C end_POSTSUBSCRIPT ≥ 1 satellite constraints SCu,j(𝐱)𝑆subscript𝐶𝑢𝑗𝐱SC_{u,j}(\mathbf{x})italic_S italic_C start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_x ), where mMC+mSC=mEQ+mIQsubscript𝑚𝑀𝐶subscript𝑚𝑆𝐶subscript𝑚𝐸𝑄subscript𝑚𝐼𝑄m_{MC}+m_{SC}=m_{EQ}+m_{IQ}italic_m start_POSTSUBSCRIPT italic_M italic_C end_POSTSUBSCRIPT + italic_m start_POSTSUBSCRIPT italic_S italic_C end_POSTSUBSCRIPT = italic_m start_POSTSUBSCRIPT italic_E italic_Q end_POSTSUBSCRIPT + italic_m start_POSTSUBSCRIPT italic_I italic_Q end_POSTSUBSCRIPT. All the linear equality constraints, since they do not need the employment of slack variables, are promoted to master constraints, while the remaining ones can either be satellite or master. We can adopt the IQPMS methods introduced in Sections III.1 and III.2 to enforce the master and satellite constraints as quadratic penalty terms Pu,iMC(𝐲u,𝐬)subscriptsuperscript𝑃𝑀𝐶𝑢𝑖subscript𝐲𝑢𝐬P^{MC}_{u,i}(\mathbf{y}_{u},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) and Pu,jSC(𝐲u,𝐬)subscriptsuperscript𝑃𝑆𝐶𝑢𝑗subscript𝐲𝑢𝐬P^{SC}_{u,j}(\mathbf{y}_{u},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ), which are defined over the variables 𝐲u𝐱subscript𝐲𝑢𝐱\mathbf{y}_{u}\subseteq\mathbf{x}bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ⊆ bold_x associated to the arcs incident to the node u𝑢uitalic_u. Therefore, the QUBO formulation of the optimization problems in this class, thanks to the IQPMS methods, assume the form:

=argmax𝐱,𝐬W(𝐱)+u=1|𝒱|λu(λuMCi=1mMCPu,iMC(𝐲u,𝐬)+j=1mSCPu,jSC(𝐲u,𝐬)),superscriptsubscript𝐱𝐬𝑊𝐱superscriptsubscript𝑢1𝒱subscript𝜆𝑢subscriptsuperscript𝜆𝑀𝐶𝑢superscriptsubscript𝑖1subscript𝑚𝑀𝐶subscriptsuperscript𝑃𝑀𝐶𝑢𝑖subscript𝐲𝑢𝐬superscriptsubscript𝑗1subscript𝑚𝑆𝐶subscriptsuperscript𝑃𝑆𝐶𝑢𝑗subscript𝐲𝑢𝐬\mathcal{E}^{*}=\arg\max_{\mathbf{x},\mathbf{s}}W(\mathbf{x})+\sum_{u=1}^{|% \mathcal{V}|}\lambda_{u}\left(\lambda^{MC}_{u}\sum_{i=1}^{m_{MC}}P^{MC}_{u,i}(% \mathbf{y}_{u},\mathbf{s})+\sum_{j=1}^{m_{SC}}P^{SC}_{u,j}(\mathbf{y}_{u},% \mathbf{s})\right)\,,caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = roman_arg roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_W ( bold_x ) + ∑ start_POSTSUBSCRIPT italic_u = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT | caligraphic_V | end_POSTSUPERSCRIPT italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_M italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) + ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_S italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) ) , (25)

where the quantities λu,iMC1subscriptsuperscript𝜆𝑀𝐶𝑢𝑖1\lambda^{MC}_{u,i}\geq 1italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT ≥ 1 and λu1subscript𝜆𝑢1\lambda_{u}\geq 1italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ≥ 1 have two different roles. The relative multipliers λu,iMCsubscriptsuperscript𝜆𝑀𝐶𝑢𝑖\lambda^{MC}_{u,i}italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT ensure that, for each combination of the binary variables associated to the node u𝑢uitalic_u, if 𝐲usubscript𝐲𝑢\mathbf{y}_{u}bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT violates one of the constraints, the net contribution of the term inside the parenthesis is smaller than or equal to -1. Indeed, we need to amplify the effect of master constraints accordingly to the accidental incentives that Pu,jSC(𝐲u,𝐬)subscriptsuperscript𝑃𝑆𝐶𝑢𝑗subscript𝐲𝑢𝐬P^{SC}_{u,j}(\mathbf{y}_{u},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) provide. Instead, if 𝐲usubscript𝐲𝑢\mathbf{y}_{u}bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT satisfies the constraints, the term inside the parenthesis has to be zero for at least one value of 𝐬𝐬\mathbf{s}bold_s and non-positive for the remaining combinations of 𝐬𝐬\mathbf{s}bold_s. These quantities have the same role of the parameter λMCsuperscript𝜆𝑀𝐶\lambda^{MC}italic_λ start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT defined in Eqs. (18) and (20). Instead, the parameters λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT replace the role of λ𝜆\lambdaitalic_λ in Eq. (3). Hence, they have to amplify enough the penalties in order to suppress those 𝐲usubscript𝐲𝑢\mathbf{y}_{u}bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT that violate one or more constraints.

IV.1 Tuning of the relative multipliers and the MS concatenation

We first discuss the tuning of the relative multipliers λuMCsuperscriptsubscript𝜆𝑢𝑀𝐶\lambda_{u}^{MC}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT and later we focus on λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT. A straightforward application of the results presented in Section III.3 allows us to consider the following definition

λuMC=1+γmax{0,max𝐲u,𝐬j=1mSCPu,jSC(𝐲u,𝐬)},superscriptsubscript𝜆𝑢𝑀𝐶1𝛾0subscriptsubscript𝐲𝑢𝐬superscriptsubscript𝑗1subscript𝑚𝑆𝐶subscriptsuperscript𝑃𝑆𝐶𝑢𝑗subscript𝐲𝑢𝐬\lambda_{u}^{MC}=1+\gamma\max\left\{0,\max_{\mathbf{y}_{u},\mathbf{s}}\sum_{j=% 1}^{m_{SC}}P^{SC}_{u,j}(\mathbf{y}_{u},\mathbf{s})\right\}\,,italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_M italic_C end_POSTSUPERSCRIPT = 1 + italic_γ roman_max { 0 , roman_max start_POSTSUBSCRIPT bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_m start_POSTSUBSCRIPT italic_S italic_C end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_P start_POSTSUPERSCRIPT italic_S italic_C end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) } , (26)

where γ>1𝛾1\gamma>1italic_γ > 1. Notice that all the relative multipliers of the same node u𝑢uitalic_u have the same value.

In what follows, we describe three proposals for the tuning of λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT, which we call local, neighbour and global. Our first approach is to choose a value of λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT such that the minimum penalty applied when at least one constraint in u𝑢uitalic_u is violated is (in modulo) greater than the maximum contribution provided by the arcs incident in u𝑢uitalic_u to W(𝐱)𝑊𝐱W(\mathbf{x})italic_W ( bold_x ). In order to do this, we define Wu(𝐱)subscript𝑊𝑢𝐱W_{u}(\mathbf{x})italic_W start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) to be the restriction of W(𝐱)𝑊𝐱W(\mathbf{x})italic_W ( bold_x ) to the node u𝑢uitalic_u. More precisely, if we write W(𝐱)=1ijNWijxixj𝑊𝐱subscript1𝑖𝑗𝑁subscript𝑊𝑖𝑗subscript𝑥𝑖subscript𝑥𝑗W(\mathbf{x})=\sum_{1\leq i\leq j\leq N}W_{ij}x_{i}x_{j}italic_W ( bold_x ) = ∑ start_POSTSUBSCRIPT 1 ≤ italic_i ≤ italic_j ≤ italic_N end_POSTSUBSCRIPT italic_W start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT, in Wu(𝐱)subscript𝑊𝑢𝐱W_{u}(\mathbf{x})italic_W start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) we include only those terms where either xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, xjsubscript𝑥𝑗x_{j}italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT or both belong to 𝐲usubscript𝐲𝑢\mathbf{y}_{u}bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT, namely corresponds to arcs in (u)𝑢\mathcal{E}(u)caligraphic_E ( italic_u ). Hence, we define:

λulocal=γmax𝐱Wu(𝐱),superscriptsubscript𝜆𝑢𝑙𝑜𝑐𝑎𝑙𝛾subscript𝐱subscript𝑊𝑢𝐱\lambda_{u}^{local}=\gamma\max_{\mathbf{x}}W_{u}(\mathbf{x})\,,italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l italic_o italic_c italic_a italic_l end_POSTSUPERSCRIPT = italic_γ roman_max start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_W start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) , (27)

where γ>1𝛾1\gamma>1italic_γ > 1.

The next two approaches that we define naturally provide larger values of λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT. On the one side it helps preventing the “non-local” violation of constraints that may occur in presence of a local tuning. In Appendix C we describe this phenomenon in the context of the Max-Profit Balanced Settlement optimization problem: an NP-hard problem that we analyse in Section V. Nonetheless, the presence of penalty terms that are too large compared to those found in W(𝐱)𝑊𝐱W(\mathbf{x})italic_W ( bold_x ) can suppress the output quality of several QUBO solvers, especially quantum ones. Moreover, depending on the structure of W(𝐱)𝑊𝐱W(\mathbf{x})italic_W ( bold_x ), the evaluation of these two extra methods may be more demanding (this is not the case for diagonal W(𝐱)𝑊𝐱W(\mathbf{x})italic_W ( bold_x )). Therefore, in this work we privilege the use of the local tuning, and, in case of necessity, we pick larger values of γ𝛾\gammaitalic_γ.

The second possible tuning that we discuss extends the previous approach to those nodes neighbouring u𝑢uitalic_u, namely those sharing an arc with u𝑢uitalic_u. Similarly to Wu(𝐱)subscript𝑊𝑢𝐱W_{u}(\mathbf{x})italic_W start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ), we now define Wuneigh(𝐱)superscriptsubscript𝑊𝑢𝑛𝑒𝑖𝑔𝐱W_{u}^{neigh}(\mathbf{x})italic_W start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n italic_e italic_i italic_g italic_h end_POSTSUPERSCRIPT ( bold_x ) to be the restriction of W(𝐱)𝑊𝐱W(\mathbf{x})italic_W ( bold_x ) to the binary variables associated to arcs incident to u𝑢uitalic_u and its neighbouring nodes. Hence, we define:

λuneigh=γmax𝐱Wuneigh(𝐱),superscriptsubscript𝜆𝑢𝑛𝑒𝑖𝑔𝛾subscript𝐱subscriptsuperscript𝑊𝑛𝑒𝑖𝑔𝑢𝐱\lambda_{u}^{neigh}=\gamma\max_{\mathbf{x}}W^{neigh}_{u}(\mathbf{x})\,,italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n italic_e italic_i italic_g italic_h end_POSTSUPERSCRIPT = italic_γ roman_max start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_W start_POSTSUPERSCRIPT italic_n italic_e italic_i italic_g italic_h end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) , (28)

where γ>1𝛾1\gamma>1italic_γ > 1.

The last discussed tuning is labelled as global because it is not node-dependent and it makes sure that the penalty applied is always large enough whenever any constraint is violated. Indeed, it consists in setting:

λuglobal=γmax𝐱W(𝐱),superscriptsubscript𝜆𝑢𝑔𝑙𝑜𝑏𝑎𝑙𝛾subscript𝐱𝑊𝐱\lambda_{u}^{global}=\gamma\max_{\mathbf{x}}W(\mathbf{x})\,,italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_l italic_o italic_b italic_a italic_l end_POSTSUPERSCRIPT = italic_γ roman_max start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_W ( bold_x ) , (29)

where γ>1𝛾1\gamma>1italic_γ > 1. Whereas this is a sure choice to make our QUBO formulation exactly encoding the starting optimization problem, namely they provide the same solution, it has some downturns. Depending on the structure of W(𝐱)𝑊𝐱W(\mathbf{x})italic_W ( bold_x ), the optimization max𝐱W(𝐱)subscript𝐱𝑊𝐱\max_{\mathbf{x}}W(\mathbf{x})roman_max start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_W ( bold_x ) may have a computational cost that is similar to the whole optimization problem, and therefore evaluating λuglobalsuperscriptsubscript𝜆𝑢𝑔𝑙𝑜𝑏𝑎𝑙\lambda_{u}^{global}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_l italic_o italic_b italic_a italic_l end_POSTSUPERSCRIPT may become excessively demanding. More importantly, this choice can easily produce a QUBO problem where the penalty terms are (in modulo) extremely larger than the objective function terms. This scenario can deeply affect the solution quality of QUBO solvers and, moreover, we expect that in many common situations this brute-force approach is in fact unnecessary.

To conclude this section, we give an exemplary reformulation of the results regarding the concatenated IQPMS methods to the case of locally-constrained problems. Imagine to have four constraints per node, hence defined over the same binary variables 𝐲u𝐱subscript𝐲𝑢𝐱\mathbf{y}_{u}\subseteq\mathbf{x}bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ⊆ bold_x, and concatenate them as in Section III.4. We can reformulate the QUBO form (25) of this locally-constrained optimization problem as:

=argmax𝐱,𝐬W(𝐱)+u=1|𝒱|λu(ΓΓλu,1Pu,1(𝐲u,𝐬)+λu,2Pu,2(𝐲u,𝐬)+λu,3Pu,3(𝐲u,𝐬)+Pu,4(𝐲u,𝐬)),superscriptsubscript𝐱𝐬𝑊𝐱superscriptsubscript𝑢1𝒱subscript𝜆𝑢superscriptΓΓsubscript𝜆𝑢1subscript𝑃𝑢1subscript𝐲𝑢𝐬subscript𝜆𝑢2subscript𝑃𝑢2subscript𝐲𝑢𝐬subscript𝜆𝑢3subscript𝑃𝑢3subscript𝐲𝑢𝐬subscript𝑃𝑢4subscript𝐲𝑢𝐬\mathcal{E}^{*}=\arg\max_{\mathbf{x},\mathbf{s}}W(\mathbf{x})+\sum_{u=1}^{|% \mathcal{V}|}\lambda_{u}\left({\color[rgb]{1,1,1}\definecolor[named]{% pgfstrokecolor}{rgb}{1,1,1}\pgfsys@color@gray@stroke{1}\pgfsys@color@gray@fill% {1}\Gamma^{\Gamma}}\!\!\!\!\!\!\lambda_{u,1}P_{u,1}(\mathbf{y}_{u},\mathbf{s})% +\lambda_{u,2}P_{u,2}(\mathbf{y}_{u},\mathbf{s})+\lambda_{u,3}P_{u,3}(\mathbf{% y}_{u},\mathbf{s})+P_{u,4}(\mathbf{y}_{u},\mathbf{s})\right)\,,caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = roman_arg roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_W ( bold_x ) + ∑ start_POSTSUBSCRIPT italic_u = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT | caligraphic_V | end_POSTSUPERSCRIPT italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( roman_Γ start_POSTSUPERSCRIPT roman_Γ end_POSTSUPERSCRIPT italic_λ start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT italic_P start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) + italic_λ start_POSTSUBSCRIPT italic_u , 2 end_POSTSUBSCRIPT italic_P start_POSTSUBSCRIPT italic_u , 2 end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) + italic_λ start_POSTSUBSCRIPT italic_u , 3 end_POSTSUBSCRIPT italic_P start_POSTSUBSCRIPT italic_u , 3 end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) + italic_P start_POSTSUBSCRIPT italic_u , 4 end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) ) , (30)

where Pu,i(𝐱,𝐬)subscript𝑃𝑢𝑖𝐱𝐬P_{u,i}(\mathbf{x},\mathbf{s})italic_P start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT ( bold_x , bold_s ) is the IQP obtained while considering the constraint Cu,i(𝐱)subscript𝐶𝑢𝑖𝐱C_{u,i}(\mathbf{x})italic_C start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT ( bold_x ) in this concatenated scheme, namely as a satellite of all the constraints Cu,j(𝐱)subscript𝐶𝑢𝑗𝐱C_{u,j}(\mathbf{x})italic_C start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_x ) with j<i𝑗𝑖j<iitalic_j < italic_i and master of those with j>i𝑗𝑖j>iitalic_j > italic_i, for i,j=1,2,3,4formulae-sequence𝑖𝑗1234i,j=1,2,3,4italic_i , italic_j = 1 , 2 , 3 , 4. The tuning of the parameters λu,isubscript𝜆𝑢𝑖\lambda_{u,i}italic_λ start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT is given by the following generalization of Eq. (23):

λu,i=1+γmax{0,max𝐱,𝐬j>iPu,j(𝐲u,𝐬)}.subscript𝜆𝑢𝑖1𝛾0subscript𝐱𝐬subscript𝑗𝑖subscript𝑃𝑢𝑗subscript𝐲𝑢𝐬\lambda_{u,i}=1+\gamma\max\left\{0,\max_{\mathbf{x},\mathbf{s}}\sum_{j>i}P_{u,% j}(\mathbf{y}_{u},\mathbf{s})\right\}\,.italic_λ start_POSTSUBSCRIPT italic_u , italic_i end_POSTSUBSCRIPT = 1 + italic_γ roman_max { 0 , roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j > italic_i end_POSTSUBSCRIPT italic_P start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_y start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT , bold_s ) } . (31)

Regarding the multipliers λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT appearing in Eq. (30), we can adopt the same techniques discussed above in this section.

V Case of study: MPBS

We present the locally-constrained optimization problem that we focus on in this work, which is inspired by a real-world financial scenario. Consider a network of users having a set of pending receivables that still have to be paid for. Each receivable indicates the details of a precise pending payment and therefore it is defined by its value, the corresponding creditor and debtor users and some additional temporal features, such as the dates the receivable has been submitted and when the corresponding payment falls due. These scenarios are often handled by receivable funders who have the role of anticipating the resolution of receivables: users are requested to pay a fee in order to have instant access to a lump sum of capital, which significantly eases the cash-flow issues associated with receivables. Nonetheless, a different strategy for receivable resolution has been proposed in Ref. [29], where a do-ut-des mechanism is exploited. The main goal in the design of this network-based receivable funding is to select the largest-amount subset of receivables for which autonomous payment among users is possible, without involving the funder. This optimization has to be performed under two main constraints. First, the account balance of each user has to be upper- and lower-bounded by some pre-fixed values before and after the resolution of the chosen receivables. We call this constraint CAP/FLOOR, where the CAP (FLOOR) value corresponds to the upper (lower) bound of the account balance. Secondly, each user accepts to realize at least one anticipated payment for which they are debtor if and only if they also receive at least one payment corresponding to a receivable for which they are creditor. Hence, this constraint, called IN/OUT, prevents users from only receiving or only executing the payment of receivables.

To reformulate this optimization problem in a more mathematical framework, we say that each day, we have a different set of receivables \mathcal{R}caligraphic_R that constitutes the pending transactions, namely those not resolved the day before together with those added in the meantime between the two days. Therefore, each receivable is defined by its amount w(u,v)>0𝑤𝑢𝑣0w(u,v)>0italic_w ( italic_u , italic_v ) > 0, the corresponding debtor u𝑢uitalic_u and creditor v𝑣vitalic_v, together with several temporal features which we do not exploit in this analysis [29]. Indeed, we focus on the single-day resolution problem defined by the R-multigraph induced by \mathcal{R}caligraphic_R, formulated as:

Refer to caption
Figure 3: Instance of an R-multigraph with |𝒱|=10𝒱10|\mathcal{V}|=10| caligraphic_V | = 10 nodes and N=||=16𝑁16N=|\mathcal{E}|=16italic_N = | caligraphic_E | = 16 arcs, where the arrows points from the debtor to the creditor. We have nodes with N(u)=2𝑁𝑢2N(u)=2italic_N ( italic_u ) = 2 (orange), 3 (red), 4 (green) and 5 (blue) incident arcs. The goal of MPBS is to maximize the value exchanged, namely the objective function W(𝐱)=ixiwi𝑊𝐱subscript𝑖subscript𝑥𝑖subscript𝑤𝑖W(\mathbf{x})=\sum_{i}x_{i}w_{i}italic_W ( bold_x ) = ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT where the binary variable xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT associated to the i𝑖iitalic_i-th arc is equal to 0/1 if the corresponding arc is not activated/activated, under two constraints. The first, called CAP/FLOOR, requires each node to exchange a net value inside the [CAP(u),FL(u)]𝐶𝐴𝑃𝑢𝐹𝐿𝑢[CAP(u),FL(u)][ italic_C italic_A italic_P ( italic_u ) , italic_F italic_L ( italic_u ) ] range, which in this case is [7,8]78[-7,8][ - 7 , 8 ] for each node. For instance, if we activate all the arcs incident to the node u=1𝑢1u=1italic_u = 1, we obtain a net value of w1w2=4subscript𝑤1subscript𝑤24w_{1}-w_{2}=-4italic_w start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_w start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT = - 4. The second constraint, called IN/OUT, requires each node to either activate at least one incoming and one outgoing arc or no arcs can be activated for that node. Bold arcs indicate the solution of this MPBS instance, while the activation of any dashed arc leads to a violation of CAP/FLOOR and/or IN/OUT. Indeed, node u=10𝑢10u=10italic_u = 10 cannot activate its incident arcs without violating CAP/FLOOR, as w12w13=9subscript𝑤12subscript𝑤139w_{12}-w_{13}=-9italic_w start_POSTSUBSCRIPT 12 end_POSTSUBSCRIPT - italic_w start_POSTSUBSCRIPT 13 end_POSTSUBSCRIPT = - 9. As a consequence, the arc (u,v)=(9,10)𝑢𝑣910(u,v)=(9,10)( italic_u , italic_v ) = ( 9 , 10 ) with value w12=5subscript𝑤125w_{12}=5italic_w start_POSTSUBSCRIPT 12 end_POSTSUBSCRIPT = 5 cannot be activated. Hence, node u=9𝑢9u=9italic_u = 9 cannot activate any of its remaining incoming arcs without violating IN/OUT. The solution subgraph superscript\mathcal{E}^{*}caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT of this example is given by the combination of binary variables 𝐱superscript𝐱\mathbf{x}^{*}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT such that xi=0superscriptsubscript𝑥𝑖0x_{i}^{*}=0italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = 0 for i=10,11,12,13𝑖10111213i=10,11,12,13italic_i = 10 , 11 , 12 , 13 and xi=1superscriptsubscript𝑥𝑖1x_{i}^{*}=1italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = 1 otherwise.
Definition 2 (Receivables R-multigraph).

The R-multigraph induced by the set of receivables \mathcal{R}caligraphic_R consists of the quadruple 𝒢=(𝒱,,w,𝐟)𝒢𝒱𝑤𝐟\mathcal{G}=(\mathcal{V},\mathcal{E},w,\mathbf{f})caligraphic_G = ( caligraphic_V , caligraphic_E , italic_w , bold_f ), where 𝒱𝒱\mathcal{V}caligraphic_V is a set of nodes, \mathcal{E}caligraphic_E is a multiset of ordered pairs of nodes called arcs, and w:+:𝑤superscriptw:\mathcal{E}\rightarrow\mathbb{R}^{+}italic_w : caligraphic_E → blackboard_R start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT assigns positive numerical values to arcs and 𝐟:𝒱4:𝐟𝒱superscript4\mathbf{f}:\mathcal{V}\rightarrow\mathbb{R}^{4}bold_f : caligraphic_V → blackboard_R start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT assigns four attributes to each node. The nodes u𝒱𝑢𝒱u\in\mathcal{V}italic_u ∈ caligraphic_V represent the users in \mathcal{R}caligraphic_R, the arcs (u,v)𝑢𝑣(u,v)\in\mathcal{E}( italic_u , italic_v ) ∈ caligraphic_E represent the receivables in \mathcal{R}caligraphic_R, where u𝑢uitalic_u represents the corresponding debtor and v𝑣vitalic_v the creditor, and w(u,v)𝑤𝑢𝑣w(u,v)italic_w ( italic_u , italic_v ) is the value of the receivable (u,v)𝑢𝑣(u,v)( italic_u , italic_v ). Each node u𝒱𝑢𝒱u\in\mathcal{V}italic_u ∈ caligraphic_V is assigned attributes 𝐟(u)=(blr(u),bla(u),cap(u),fl(u))𝐟𝑢𝑏subscript𝑙𝑟𝑢𝑏subscript𝑙𝑎𝑢𝑐𝑎𝑝𝑢𝑓𝑙𝑢\mathbf{f}(u)=(bl_{r}(u),bl_{a}(u),cap(u),fl(u))bold_f ( italic_u ) = ( italic_b italic_l start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ( italic_u ) , italic_b italic_l start_POSTSUBSCRIPT italic_a end_POSTSUBSCRIPT ( italic_u ) , italic_c italic_a italic_p ( italic_u ) , italic_f italic_l ( italic_u ) ), respectively the corresponding receivable balance, actual balance, cap and floor values.

Hence, given a set of receivables \mathcal{R}caligraphic_R, we can identify a corresponding R-multigraph. The aim of the optimization problem that we are about to define is to maximize the overall value of the receivables paid under the condition that the constraints CAP/FLOOR and IN/OUT described above are satisfied by all users. More precisely:

Definition 3 (Max-Profit Balanced Settlement).

Given the R-multigraph 𝒢=(𝒱,,w,𝐟)𝒢𝒱𝑤𝐟\mathcal{G}=(\mathcal{V},\mathcal{E},w,\mathbf{f})caligraphic_G = ( caligraphic_V , caligraphic_E , italic_w , bold_f ) induced by the receivables \mathcal{R}caligraphic_R, find

superscript\displaystyle\mathcal{E}^{*}caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT =\displaystyle== argmax^(u,v)^w(u,v),subscript^subscript𝑢𝑣^𝑤𝑢𝑣\displaystyle\arg\max_{\hat{\mathcal{E}}\subseteq\mathcal{E}}\sum_{(u,v)\in% \hat{\mathcal{E}}}w(u,v)\,,roman_arg roman_max start_POSTSUBSCRIPT over^ start_ARG caligraphic_E end_ARG ⊆ caligraphic_E end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT ( italic_u , italic_v ) ∈ over^ start_ARG caligraphic_E end_ARG end_POSTSUBSCRIPT italic_w ( italic_u , italic_v ) , (32)
s.t. CAP/FLOOR(u),u𝒱(^),𝐶𝐴𝑃𝐹𝐿𝑂𝑂𝑅𝑢for-all𝑢𝒱^\displaystyle\,\,{CAP/FLOOR(u)},\,\,\,\forall u\in\mathcal{V}(\hat{\mathcal{E}% }),italic_C italic_A italic_P / italic_F italic_L italic_O italic_O italic_R ( italic_u ) , ∀ italic_u ∈ caligraphic_V ( over^ start_ARG caligraphic_E end_ARG ) , (34)
IN/OUT(u),u𝒱(^).IN/OUT(u)for-all𝑢𝒱^\displaystyle\,\,\mbox{IN/OUT(u)},\,\,\,\forall u\in\mathcal{V}(\hat{\mathcal{% E}}).IN/OUT(u) , ∀ italic_u ∈ caligraphic_V ( over^ start_ARG caligraphic_E end_ARG ) .

where ^^\hat{\mathcal{E}}over^ start_ARG caligraphic_E end_ARG is a generic subset of all the arcs/transactions \mathcal{E}caligraphic_E and 𝒱(^)={u𝒱|(u,v)(v,u)^}𝒱^conditional-set𝑢𝒱𝑢𝑣𝑣𝑢^\mathcal{V}(\hat{\mathcal{E}})=\{u\in\mathcal{V}\,|\,(u,v)\lor(v,u)\in\hat{% \mathcal{E}}\}caligraphic_V ( over^ start_ARG caligraphic_E end_ARG ) = { italic_u ∈ caligraphic_V | ( italic_u , italic_v ) ∨ ( italic_v , italic_u ) ∈ over^ start_ARG caligraphic_E end_ARG }. Condition (34) confines the balance of the users that take part to the solution multigraph superscript\mathcal{E}^{*}caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT to be inside a finite region, so that floor and cap conditions are not violated after the realization of the selected transactions:

CAP/FLOOR(u):v:(v,u)^w(v,u)v:(u,v)^w(u,v)[fl(u)bla(u),cap(u)blr(u)].:𝐶𝐴𝑃𝐹𝐿𝑂𝑂𝑅𝑢subscript:𝑣𝑣𝑢^𝑤𝑣𝑢subscript:𝑣𝑢𝑣^𝑤𝑢𝑣𝑓𝑙𝑢𝑏subscript𝑙𝑎𝑢𝑐𝑎𝑝𝑢𝑏subscript𝑙𝑟𝑢CAP/FLOOR(u):\,\,\sum_{v:(v,u)\in\hat{\mathcal{E}}}w(v,u)-\sum_{v:(u,v)\in\hat% {\mathcal{E}}}w(u,v)\in[fl(u)-bl_{a}(u),cap(u)-bl_{r}(u)].italic_C italic_A italic_P / italic_F italic_L italic_O italic_O italic_R ( italic_u ) : ∑ start_POSTSUBSCRIPT italic_v : ( italic_v , italic_u ) ∈ over^ start_ARG caligraphic_E end_ARG end_POSTSUBSCRIPT italic_w ( italic_v , italic_u ) - ∑ start_POSTSUBSCRIPT italic_v : ( italic_u , italic_v ) ∈ over^ start_ARG caligraphic_E end_ARG end_POSTSUBSCRIPT italic_w ( italic_u , italic_v ) ∈ [ italic_f italic_l ( italic_u ) - italic_b italic_l start_POSTSUBSCRIPT italic_a end_POSTSUBSCRIPT ( italic_u ) , italic_c italic_a italic_p ( italic_u ) - italic_b italic_l start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ( italic_u ) ] . (35)

Condition (34) imposes that each user taking part to the solution multigraph superscript\mathcal{E}^{*}caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT has to be debtor and creditor for at least one transaction:

IN/OUT(u):|{(u,v)|(u,v)^}|1, and |{(v,u)|(v,u)^}|1.:𝐼𝑁𝑂𝑈𝑇𝑢formulae-sequenceconditional-set𝑢𝑣𝑢𝑣^1 and conditional-set𝑣𝑢𝑣𝑢^1IN/OUT(u):|\{(u,v)\,|\,(u,v)\in\hat{\mathcal{E}}\}|\geq 1,\mbox{ and }|\{(v,u)% \,|\,(v,u)\in\hat{\mathcal{E}}\}|\geq 1\,.italic_I italic_N / italic_O italic_U italic_T ( italic_u ) : | { ( italic_u , italic_v ) | ( italic_u , italic_v ) ∈ over^ start_ARG caligraphic_E end_ARG } | ≥ 1 , and | { ( italic_v , italic_u ) | ( italic_v , italic_u ) ∈ over^ start_ARG caligraphic_E end_ARG } | ≥ 1 . (36)

We start by underlying the locally-constrained nature of this optimization problem: each constraint is defined node-by-node and only depends on the arcs incident to that same node. Secondly, the Max-Profit Balanced Settlement (MPBS) problem is NP-hard as it can be reduced from the SubsetSum problem [29], which is a special case of the Knapsack problem. This problem presents the same structure of other well-known minimum-cost circulation problems, which have been extensively studied for decades (see, e.g., [49]). In the following, we show how the IQPMS methods can be used to reduce the amount of slack variables needed for a QUBO formulation of MPBS with respect to the standard procedure of Section II.1. A simple example of this problem is depicted in Figure 3.

It is obvious that, if a node u𝑢uitalic_u has either no incoming or outgoing arc in the input R-multigraph, the optimal solution of the corresponding MPBS problem cannot include any arc incident to u𝑢uitalic_u, otherwise IN/OUT(u𝑢uitalic_u) would be violated. Moreover, the exclusion of all the arcs incident to u𝑢uitalic_u may cause another node v𝑣vitalic_v to not have any incoming or outgoing arc. In the following, in order to make our exposition clearer, we assume that all the nodes of the considered input R-multigraphs have at least one incoming and one outgoing arc.

V.1 QUBO formulation of MPBS

In order to cast MPBS into a QUBO form, we proceed as follows. First, we associate to each arc (u,v)𝑢𝑣(u,v)\in\mathcal{E}( italic_u , italic_v ) ∈ caligraphic_E a binary variable xi{0,1}subscript𝑥𝑖01x_{i}\in\{0,1\}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ { 0 , 1 }. Hence, we obtain a string of N𝑁Nitalic_N binary variables 𝐱=(x1,x2,,xN)𝐱subscript𝑥1subscript𝑥2subscript𝑥𝑁\mathbf{x}=(x_{1},x_{2},\dots,x_{N})bold_x = ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ), where ||=N𝑁|\mathcal{E}|=N| caligraphic_E | = italic_N is the total number of arcs in \mathcal{E}caligraphic_E. Given the one-to-one relation (u,v)i𝑢𝑣𝑖(u,v)\leftrightarrow i( italic_u , italic_v ) ↔ italic_i we can rewrite any expression in Definition 3 with the binary variables xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. For instance, if we use the definition W=diag(w1,w2,,wN)𝑊diagsubscript𝑤1subscript𝑤2subscript𝑤𝑁W=\mbox{diag}(w_{1},w_{2},\dots,w_{N})italic_W = diag ( italic_w start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_w start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_w start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ), the maximization of the objective function of MPBS can be formulated as:

max^(u,v)^w(u,v)=max𝐱{0,1}Nixiwi=max𝐱{0,1}N𝐱TW𝐱=max𝐱{0,1}NW(𝐱),subscript^subscript𝑢𝑣^𝑤𝑢𝑣subscript𝐱superscript01𝑁subscript𝑖subscript𝑥𝑖subscript𝑤𝑖subscript𝐱superscript01𝑁superscript𝐱𝑇𝑊𝐱subscript𝐱superscript01𝑁𝑊𝐱\max_{\hat{\mathcal{E}}\subseteq\mathcal{E}}\sum_{(u,v)\in\hat{\mathcal{E}}}w(% u,v)=\max_{\mathbf{x}\in\{0,1\}^{N}}\sum_{i}x_{i}w_{i}\,=\max_{\mathbf{x}\in\{% 0,1\}^{N}}\mathbf{x}^{T}W\mathbf{x}=\max_{\mathbf{x}\in\{0,1\}^{N}}W(\mathbf{x% }),roman_max start_POSTSUBSCRIPT over^ start_ARG caligraphic_E end_ARG ⊆ caligraphic_E end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT ( italic_u , italic_v ) ∈ over^ start_ARG caligraphic_E end_ARG end_POSTSUBSCRIPT italic_w ( italic_u , italic_v ) = roman_max start_POSTSUBSCRIPT bold_x ∈ { 0 , 1 } start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = roman_max start_POSTSUBSCRIPT bold_x ∈ { 0 , 1 } start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT end_POSTSUBSCRIPT bold_x start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_W bold_x = roman_max start_POSTSUBSCRIPT bold_x ∈ { 0 , 1 } start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_W ( bold_x ) , (37)

where we forced the previous notation by defining: W(𝐱)=𝐱TW𝐱𝑊𝐱superscript𝐱𝑇𝑊𝐱W(\mathbf{x})=\mathbf{x}^{T}W\mathbf{x}italic_W ( bold_x ) = bold_x start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_W bold_x. From now on, we solely consider the quadratic polynomial form of QUBO elements, e.g., W(𝐱)𝑊𝐱W(\mathbf{x})italic_W ( bold_x ), instead of the corresponding matricial form, e.g., 𝐱TW𝐱superscript𝐱𝑇𝑊𝐱\mathbf{x}^{T}W\mathbf{x}bold_x start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT italic_W bold_x.

Our goal is to achieve a QUBO form of MPBS defined over the N𝑁Nitalic_N logical variables 𝐱={x1,,xN}𝐱subscript𝑥1subscript𝑥𝑁\mathbf{x}=\{x_{1},\dots,x_{N}\}bold_x = { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT } and N¯¯𝑁\overline{N}over¯ start_ARG italic_N end_ARG slack binary variables 𝐬={s1,,sN¯}𝐬subscript𝑠1subscript𝑠¯𝑁\mathbf{s}=\{s_{1},\dots,s_{\overline{N}}\}bold_s = { italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_s start_POSTSUBSCRIPT over¯ start_ARG italic_N end_ARG end_POSTSUBSCRIPT }, hence considering the optimization of a quadratic form Q(𝒢,𝐱,𝐬)𝑄𝒢𝐱𝐬Q(\mathcal{G},\mathbf{x},\mathbf{s})italic_Q ( caligraphic_G , bold_x , bold_s ) defined over N+N¯𝑁¯𝑁N+\overline{N}italic_N + over¯ start_ARG italic_N end_ARG variables {𝐱,𝐬}𝐱𝐬\{\mathbf{x},\mathbf{s}\}{ bold_x , bold_s } that corresponds to the instance of MPBS identified by 𝒢𝒢\mathcal{G}caligraphic_G:

argmaxmissingx,𝐬Q(𝒢,𝐱,𝐬).subscriptmissing𝑥𝐬𝑄𝒢𝐱𝐬\arg\,\max_{\mathbf{\mathbf{missing}}x,\mathbf{s}}Q(\mathcal{G},\mathbf{x},% \mathbf{s})\,.roman_arg roman_max start_POSTSUBSCRIPT roman_missing italic_x , bold_s end_POSTSUBSCRIPT italic_Q ( caligraphic_G , bold_x , bold_s ) . (38)

Given the one-to-one relation between subsets of arcs ^^\hat{\mathcal{E}}\subseteq\mathcal{E}over^ start_ARG caligraphic_E end_ARG ⊆ caligraphic_E and binary variables combinations 𝐱{0,1}N𝐱superscript01𝑁\mathbf{x}\in\{0,1\}^{N}bold_x ∈ { 0 , 1 } start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT, we define:

𝐱,superscriptsuperscript𝐱\mathcal{E}^{*}\,\longleftrightarrow\,\mathbf{x}^{*}\,,caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ⟷ bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , (39)

where superscript\mathcal{E}^{*}caligraphic_E start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is the solution of MPBS. We say that the quadratic polynomial Q(𝒢,𝐱,𝐬)𝑄𝒢𝐱𝐬Q(\mathcal{G},\mathbf{x},\mathbf{s})italic_Q ( caligraphic_G , bold_x , bold_s ) provides a QUBO formulation of MPBS if

argmax𝐱,𝐬Q(𝒢,𝐱,𝐬)={𝐱,𝐬}.subscript𝐱𝐬𝑄𝒢𝐱𝐬superscript𝐱superscript𝐬\arg\,\max_{\mathbf{x},\mathbf{s}}Q(\mathcal{G},\mathbf{x},\mathbf{s})=\{% \mathbf{x}^{*},\mathbf{s}^{*}\}\,.roman_arg roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_Q ( caligraphic_G , bold_x , bold_s ) = { bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , bold_s start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } . (40)

Hence, in order to achieve this formulation, we must translate the constraints of MPBS, namely CAP/FLOOR and IN/OUT, through quadratic penalty terms PCF(𝐱,𝐬)superscript𝑃𝐶𝐹𝐱𝐬P^{CF}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT ( bold_x , bold_s ) and PIO(𝐱,𝐬)superscript𝑃𝐼𝑂𝐱𝐬P^{IO}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT ( bold_x , bold_s ), respectively, in order to obtain:

argmax𝐱,𝐬Q(𝒢,𝐱,𝐬)=argmax𝐱,𝐬W(𝐱)+PCF(𝐱,𝐬)+PIO(𝐱,𝐬)={𝐱,𝐬}.subscript𝐱𝐬𝑄𝒢𝐱𝐬subscript𝐱𝐬𝑊𝐱superscript𝑃𝐶𝐹𝐱𝐬superscript𝑃𝐼𝑂𝐱𝐬superscript𝐱superscript𝐬\arg\,\max_{\mathbf{x},\mathbf{s}}Q(\mathcal{G},\mathbf{x},\mathbf{s})=\arg\,% \max_{\mathbf{x},\mathbf{s}}W(\mathbf{x})+P^{CF}(\mathbf{x},\mathbf{s})+P^{IO}% (\mathbf{x},\mathbf{s})=\{\mathbf{x}^{*},\mathbf{s}^{*}\}.roman_arg roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_Q ( caligraphic_G , bold_x , bold_s ) = roman_arg roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_W ( bold_x ) + italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT ( bold_x , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT ( bold_x , bold_s ) = { bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , bold_s start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } . (41)

MPBS is locally-constrained. Indeed, constraints are clearly defined node-by-node. As we show later, we can achieve the following QUBO structure similar to Eq. (25):

Q(𝒢,𝐱,𝐬)=W(𝐱)+u=1|𝒱|λu(λuIOPuIO(𝐱,𝐬)+PuCF(𝐱,𝐬)),𝑄𝒢𝐱𝐬𝑊𝐱superscriptsubscript𝑢1𝒱subscript𝜆𝑢subscriptsuperscript𝜆𝐼𝑂𝑢subscriptsuperscript𝑃𝐼𝑂𝑢𝐱𝐬subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬\displaystyle Q(\mathcal{G},\mathbf{x},\mathbf{s})=W(\mathbf{x})+\sum_{u=1}^{|% \mathcal{V}|}\lambda_{u}\left(\lambda^{IO}_{u}P^{IO}_{u}(\mathbf{x},\mathbf{s}% )+P^{CF}_{u}(\mathbf{x},\mathbf{s})\right)\,,italic_Q ( caligraphic_G , bold_x , bold_s ) = italic_W ( bold_x ) + ∑ start_POSTSUBSCRIPT italic_u = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT | caligraphic_V | end_POSTSUPERSCRIPT italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) ) , (42)

where IN/OUT(u𝑢uitalic_u) is considered the master constraint of the node u𝑢uitalic_u, while CAP/FLOOR(u𝑢uitalic_u) as the corresponding satellite constraint.

We define (u)=+(u)(u)𝑢superscript𝑢superscript𝑢\mathcal{E}(u)=\mathcal{E}^{+}(u)\cup\mathcal{E}^{-}(u)caligraphic_E ( italic_u ) = caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) ∪ caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) to be the subset of arcs incident to the node u𝑢uitalic_u, where +(u)superscript𝑢\mathcal{E}^{+}(u)caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) is the subset of incoming arcs (v,u)𝑣𝑢(v,u)( italic_v , italic_u ) where u𝑢uitalic_u represents the creditor and (u)superscript𝑢\mathcal{E}^{-}(u)caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) is the subset of outgoing arcs (u,v)𝑢𝑣(u,v)( italic_u , italic_v ) where u𝑢uitalic_u represents the debtor. Hence, |(u)|=|+(u)|+|(u)|𝑢superscript𝑢superscript𝑢|\mathcal{E}(u)|=|\mathcal{E}^{+}(u)|+|\mathcal{E}^{-}(u)|| caligraphic_E ( italic_u ) | = | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | + | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) |. We use the notation N(u)=|(u)|𝑁𝑢𝑢N(u)=|\mathcal{E}(u)|italic_N ( italic_u ) = | caligraphic_E ( italic_u ) | and N±(u)=|±(u)|superscript𝑁plus-or-minus𝑢superscriptplus-or-minus𝑢N^{\pm}(u)=|\mathcal{E}^{\pm}(u)|italic_N start_POSTSUPERSCRIPT ± end_POSTSUPERSCRIPT ( italic_u ) = | caligraphic_E start_POSTSUPERSCRIPT ± end_POSTSUPERSCRIPT ( italic_u ) |. Moreover, we use (u)𝑢\mathcal{E}(u)caligraphic_E ( italic_u ) and ±(u)superscriptplus-or-minus𝑢\mathcal{E}^{\pm}(u)caligraphic_E start_POSTSUPERSCRIPT ± end_POSTSUPERSCRIPT ( italic_u ) to indicate specific subsets of the binary variables 𝐱𝐱\mathbf{x}bold_x. For instance, “i+(u)𝑖superscript𝑢i\in\mathcal{E}^{+}(u)italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u )” stands for all the values of i𝑖iitalic_i such that xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT corresponds to a (v,u)𝑣𝑢(v,u)( italic_v , italic_u ) arc. Instead, N¯(u)¯𝑁𝑢\overline{N}(u)over¯ start_ARG italic_N end_ARG ( italic_u ) corresponds to the amount of slack variable needed to enforce a constraint associated to the node u𝑢uitalic_u, where the specific constraint will be clear from the context. We remember that each constraint is enforced with independent slack variables.

We conclude this section by expressing the CAP/FLOOR and IN/OUT conditions with the binary variables xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT associated to the arcs/pending transactions (u,v)𝑢𝑣(u,v)\in\mathcal{E}( italic_u , italic_v ) ∈ caligraphic_E. First, it is straightforward to check that Eq. (35) corresponds to:

CAP/FLOOR(u):FL(u)i+(u)xiwii(u)xiwiCAP(u),:CAP/FLOOR(u)𝐹𝐿𝑢subscript𝑖superscript𝑢subscript𝑥𝑖subscript𝑤𝑖subscript𝑖superscript𝑢subscript𝑥𝑖subscript𝑤𝑖𝐶𝐴𝑃𝑢\mbox{CAP/FLOOR($u$)}:\,\,FL(u)\leq\sum_{i\in\mathcal{E}^{+}(u)}x_{i}w_{i}-% \sum_{i\in\mathcal{E}^{-}(u)}x_{i}w_{i}\leq CAP(u)\,,CAP/FLOOR( italic_u ) : italic_F italic_L ( italic_u ) ≤ ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ italic_C italic_A italic_P ( italic_u ) , (43)

where FL(u)=fl(u)bla(u)𝐹𝐿𝑢𝑓𝑙𝑢𝑏subscript𝑙𝑎𝑢FL(u)=fl(u)-bl_{a}(u)italic_F italic_L ( italic_u ) = italic_f italic_l ( italic_u ) - italic_b italic_l start_POSTSUBSCRIPT italic_a end_POSTSUBSCRIPT ( italic_u ) and CAP(u)=cap(u)blr(u)𝐶𝐴𝑃𝑢𝑐𝑎𝑝𝑢𝑏subscript𝑙𝑟𝑢CAP(u)=cap(u)-bl_{r}(u)italic_C italic_A italic_P ( italic_u ) = italic_c italic_a italic_p ( italic_u ) - italic_b italic_l start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ( italic_u ). Moreover, the IN/OUT condition for the node u𝑢uitalic_u given in Eq. (36) is equivalent to the following pair of inequality constraints:

IN/OUT(u):{ICu,1IO(𝐱)=(|(u)|i+(u)xi)+i(u)xi0,ICu,2IO(𝐱)=(|+(u)|i(u)xi)+i+(u)xi0.:IN/OUT(u)cases𝐼subscriptsuperscript𝐶𝐼𝑂𝑢1𝐱superscript𝑢subscript𝑖superscript𝑢subscript𝑥𝑖subscript𝑖superscript𝑢subscript𝑥𝑖0missing-subexpressionmissing-subexpression𝐼subscriptsuperscript𝐶𝐼𝑂𝑢2𝐱superscript𝑢subscript𝑖superscript𝑢subscript𝑥𝑖subscript𝑖superscript𝑢subscript𝑥𝑖0missing-subexpressionmissing-subexpression\mbox{IN/OUT($u$)}:\,\,\left\{\begin{array}[]{ccc}IC^{IO}_{u,1}(\mathbf{x})=-% \left(|\mathcal{E}^{-}(u)|\sum_{i\in\mathcal{E}^{+}(u)}x_{i}\right)+\sum_{i\in% \mathcal{E}^{-}(u)}x_{i}\leq 0\,,\\ IC^{IO}_{u,2}(\mathbf{x})=-\left(|\mathcal{E}^{+}(u)|\sum_{i\in\mathcal{E}^{-}% (u)}x_{i}\right)+\sum_{i\in\mathcal{E}^{+}(u)}x_{i}\leq 0\,.\end{array}\right.IN/OUT( italic_u ) : { start_ARRAY start_ROW start_CELL italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT ( bold_x ) = - ( | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) + ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ 0 , end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 2 end_POSTSUBSCRIPT ( bold_x ) = - ( | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) + ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ 0 . end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW end_ARRAY (44)

V.2 Standard QUBO formulation of IN/OUT

 Arcs  Scenario  IN/OUT (standard) N(u)=21vs1N¯(u)=0N(u)=31vs2N¯(u)=2N(u)=41vs32vs2N¯(u)=4N¯(u)=4N(u)=51vs42vs3N¯(u)=4N¯(u)=6missing-subexpressionmissing-subexpressionmissing-subexpression Arcs  Scenario  IN/OUT (standard) missing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢21vs1¯𝑁𝑢0missing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢31vs2¯𝑁𝑢2missing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢41vs32vs2¯𝑁𝑢4¯𝑁𝑢4missing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢51vs42vs3¯𝑁𝑢4¯𝑁𝑢6\begin{array}[]{|c|c|c|}\hline\cr\,\,\,\,\,\mbox{ Arcs }&\mbox{ Scenario }&\,% \,\,\mbox{ IN/OUT (standard) }\\ \hline\cr N(u)=2&\mbox{1vs1}&\overline{N}(u)=0\\ \hline\cr N(u)=3&\mbox{1vs2}&\overline{N}(u)=2\\ \hline\cr N(u)=4&\begin{array}[]{c}\mbox{1vs3}\\ \mbox{2vs2}\end{array}&\begin{array}[]{c}\overline{N}(u)=4\\ \overline{N}(u)=4\end{array}\\ \hline\cr N(u)=5&\begin{array}[]{c}\mbox{1vs4}\\ \mbox{2vs3}\end{array}&\begin{array}[]{c}\overline{N}(u)=4\\ \overline{N}(u)=6\end{array}\\ \hline\cr\end{array}start_ARRAY start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL Arcs end_CELL start_CELL Scenario end_CELL start_CELL IN/OUT (standard) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 2 end_CELL start_CELL 1vs1 end_CELL start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 3 end_CELL start_CELL 1vs2 end_CELL start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 2 end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 4 end_CELL start_CELL start_ARRAY start_ROW start_CELL 1vs3 end_CELL end_ROW start_ROW start_CELL 2vs2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 4 end_CELL end_ROW start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 4 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 5 end_CELL start_CELL start_ARRAY start_ROW start_CELL 1vs4 end_CELL end_ROW start_ROW start_CELL 2vs3 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 4 end_CELL end_ROW start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 6 end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY
Table 1: Amount of slack variables N¯(u)¯𝑁𝑢\overline{N}(u)over¯ start_ARG italic_N end_ARG ( italic_u ) necessary to the standard method to enforce IN/OUT(u𝑢uitalic_u), where N(u)𝑁𝑢N(u)italic_N ( italic_u ) is the number of arcs. The X𝑋Xitalic_XvsY𝑌Yitalic_Y scenario occurs when on the target node there are X𝑋Xitalic_X arcs of one type (incoming/outgoing) and Y𝑌Yitalic_Y of the opposite type.

We start by showing how the standard approach discussed in Section II.1 applies to cast the IN/OUT constraints into a QUBO form. Each IN/OUT constraint in Eq. (44) can be considered as a different inequality constraint ICu,jIO(𝐱)0𝐼subscriptsuperscript𝐶𝐼𝑂𝑢𝑗𝐱0IC^{IO}_{u,j}(\mathbf{x})\leq 0italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_x ) ≤ 0, with j=1,2𝑗12j=1,2italic_j = 1 , 2, of a locally-constrained problem (see Eq. (24)).

It is easy to check that, for each u𝑢uitalic_u, the IN/OUT inequality constraints have the same minimum min𝐱ICu,j(𝐱)=|+(u)||(u)|subscript𝐱𝐼subscript𝐶𝑢𝑗𝐱superscript𝑢superscript𝑢\min_{\mathbf{x}}IC_{u,j}(\mathbf{x})=-|\mathcal{E}^{+}(u)|\,|\mathcal{E}^{-}(% u)|roman_min start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_I italic_C start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_x ) = - | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) |. A straight application of the standard procedure described in Section II.1 would involve the introduction of a quantity analogous to Sj(𝐬)subscript𝑆𝑗𝐬S_{j}(\mathbf{s})italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) (see Eq. (4)), where the amount N¯(u)¯𝑁𝑢\overline{N}(u)over¯ start_ARG italic_N end_ARG ( italic_u ) of slack variables 𝐬={s1,s2,,sN¯(u)}𝐬subscript𝑠1subscript𝑠2subscript𝑠¯𝑁𝑢\mathbf{s}=\{s_{1},s_{2},\dots,s_{\overline{N}(u)}\}bold_s = { italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_s start_POSTSUBSCRIPT over¯ start_ARG italic_N end_ARG ( italic_u ) end_POSTSUBSCRIPT } is chosen such that Sj(𝐬)subscript𝑆𝑗𝐬S_{j}(\mathbf{s})italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( bold_s ) can assume all the integer values in the interval [0,|min𝐱ICu,jIO(𝐱)|]=[0,|+(u)||(u)|]0subscript𝐱𝐼subscriptsuperscript𝐶𝐼𝑂𝑢𝑗𝐱0superscript𝑢superscript𝑢[0,|\min_{\mathbf{x}}IC^{IO}_{u,j}(\mathbf{x})|]=[0,|\mathcal{E}^{+}(u)|\,|% \mathcal{E}^{-}(u)|][ 0 , | roman_min start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , italic_j end_POSTSUBSCRIPT ( bold_x ) | ] = [ 0 , | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | ]. In general, the larger is this interval, the more slack variables are necessary (see Eq. (6)). For instance, we could enforce ICu,1IO(𝐱)0𝐼subscriptsuperscript𝐶𝐼𝑂𝑢1𝐱0IC^{IO}_{u,1}(\mathbf{x})\leq 0italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT ( bold_x ) ≤ 0 into a QUBO form through:

PuIO,1(𝐱,𝐬)=(ICu,1IO(𝐱)+S1(𝐬))2=((|+(u)|i(u)xi)+i+(u)xi+S1(𝐬))2,subscriptsuperscript𝑃𝐼𝑂1𝑢𝐱𝐬superscript𝐼subscriptsuperscript𝐶𝐼𝑂𝑢1𝐱subscript𝑆1𝐬2superscriptsuperscript𝑢subscript𝑖superscript𝑢subscript𝑥𝑖subscript𝑖superscript𝑢subscript𝑥𝑖subscript𝑆1𝐬2P^{IO,1}_{u}(\mathbf{x},\mathbf{s})=-\left(IC^{IO}_{u,1}(\mathbf{x})+S_{1}(% \mathbf{s})\right)^{2}=-\left(-\left(|\mathcal{E}^{+}(u)|\sum_{i\in\mathcal{E}% ^{-}(u)}x_{i}\right)+\sum_{i\in\mathcal{E}^{+}(u)}x_{i}+S_{1}(\mathbf{s})% \right)^{2},italic_P start_POSTSUPERSCRIPT italic_I italic_O , 1 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) = - ( italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT ( bold_x ) + italic_S start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_s ) ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = - ( - ( | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) + ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_S start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_s ) ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT , (45)

where S1(𝐬)subscript𝑆1𝐬S_{1}(\mathbf{s})italic_S start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_s ) is given by Eq. (5) and assumes all the integer values in [0,|+(u)||(u)|]0superscript𝑢superscript𝑢[0,|\mathcal{E}^{+}(u)|\,|\mathcal{E}^{-}(u)|][ 0 , | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | ]. Nonetheless, this path would employ more slack variables than necessary.

Indeed, the combinations of 𝐱𝐱\mathbf{x}bold_x for which ICu,1IO(𝐱)=|+(u)||(u)|𝐼subscriptsuperscript𝐶𝐼𝑂𝑢1𝐱superscript𝑢superscript𝑢IC^{IO}_{u,1}(\mathbf{x})=-|\mathcal{E}^{+}(u)|\,|\mathcal{E}^{-}(u)|italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT ( bold_x ) = - | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | violate ICu,2IO(𝐱)0𝐼subscriptsuperscript𝐶𝐼𝑂𝑢2𝐱0IC^{IO}_{u,2}(\mathbf{x})\leq 0italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 2 end_POSTSUBSCRIPT ( bold_x ) ≤ 0 and, similarly, the combinations of 𝐱𝐱\mathbf{x}bold_x for which ICu,2IO(𝐱)=|+(u)||(u)|𝐼subscriptsuperscript𝐶𝐼𝑂𝑢2𝐱superscript𝑢superscript𝑢IC^{IO}_{u,2}(\mathbf{x})=-|\mathcal{E}^{+}(u)|\,|\mathcal{E}^{-}(u)|italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 2 end_POSTSUBSCRIPT ( bold_x ) = - | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | violate ICu,1IO(𝐱)0𝐼subscriptsuperscript𝐶𝐼𝑂𝑢1𝐱0IC^{IO}_{u,1}(\mathbf{x})\leq 0italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT ( bold_x ) ≤ 0. Hence, requiring S1(𝐬)subscript𝑆1𝐬S_{1}(\mathbf{s})italic_S start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_s ) to be able to assume the value |+(u)||(u)|superscript𝑢superscript𝑢|\mathcal{E}^{+}(u)|\,|\mathcal{E}^{-}(u)|| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) |, so that Eq. (45) can be zero-valued when ICu,1IO(𝐱)=|+(u)||(u)|𝐼subscriptsuperscript𝐶𝐼𝑂𝑢1𝐱superscript𝑢superscript𝑢IC^{IO}_{u,1}(\mathbf{x})=-|\mathcal{E}^{+}(u)|\,|\mathcal{E}^{-}(u)|italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT ( bold_x ) = - | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) |, is not necessary, as there would be anyway a violation of the other inequality constraint ICu,2IO(𝐱)0𝐼subscriptsuperscript𝐶𝐼𝑂𝑢2𝐱0IC^{IO}_{u,2}(\mathbf{x})\leq 0italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 2 end_POSTSUBSCRIPT ( bold_x ) ≤ 0. Instead, the same is not true for those 𝐱𝐱\mathbf{x}bold_x such that ICu,1IO(𝐱)𝐼subscriptsuperscript𝐶𝐼𝑂𝑢1𝐱IC^{IO}_{u,1}(\mathbf{x})italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT ( bold_x ) or ICu,2IO(𝐱)𝐼subscriptsuperscript𝐶𝐼𝑂𝑢2𝐱IC^{IO}_{u,2}(\mathbf{x})italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 2 end_POSTSUBSCRIPT ( bold_x ) are equal to the second-lowest possible value, namely 1|+(u)||(u)|1superscript𝑢superscript𝑢1-|\mathcal{E}^{+}(u)|\,|\mathcal{E}^{-}(u)|1 - | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) |.

As a consequence, we consider the QUBO quadratic penalty that corresponds to ICu,1IO(𝐱)0𝐼subscriptsuperscript𝐶𝐼𝑂𝑢1𝐱0IC^{IO}_{u,1}(\mathbf{x})\leq 0italic_I italic_C start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u , 1 end_POSTSUBSCRIPT ( bold_x ) ≤ 0 as Eq. (45), where S1(𝐬)subscript𝑆1𝐬S_{1}(\mathbf{s})italic_S start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_s ) is given by Eq. (5) and assumes all the integer values in [0,|+(u)||(u)|1]0superscript𝑢superscript𝑢1[0,|\mathcal{E}^{+}(u)|\,|\mathcal{E}^{-}(u)|-1][ 0 , | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | - 1 ]. Hence, the implementation of the first IN/OUT inequality constraint requires log2(|+(u)||(u)|)subscript2superscript𝑢superscript𝑢\lceil\log_{2}(|\mathcal{E}^{+}(u)|\,|\mathcal{E}^{-}(u)|)\rceil⌈ roman_log start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | ) ⌉ slack variables (see Eq. (6)).

In summary, in order to implement a quadratic penalty term that enforces IN/OUT(u𝑢uitalic_u) in a QUBO formulation of MPBS, we can use the standard technique described in Section II.1 and construct PuIO(𝐱,𝐬)=PuIO,1(𝐱,𝐬)+PuIO,2(𝐱,𝐬)subscriptsuperscript𝑃𝐼𝑂𝑢𝐱𝐬subscriptsuperscript𝑃𝐼𝑂1𝑢𝐱𝐬subscriptsuperscript𝑃𝐼𝑂2𝑢𝐱𝐬P^{IO}_{u}(\mathbf{x},\mathbf{s})=P^{IO,1}_{u}(\mathbf{x},\mathbf{s})+P^{IO,2}% _{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) = italic_P start_POSTSUPERSCRIPT italic_I italic_O , 1 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_I italic_O , 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ), where PuIO,1(𝐱,𝐬)subscriptsuperscript𝑃𝐼𝑂1𝑢𝐱𝐬P^{IO,1}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_I italic_O , 1 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) is given in Eq. (45) and PuIO,2(𝐱,𝐬)subscriptsuperscript𝑃𝐼𝑂2𝑢𝐱𝐬P^{IO,2}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_I italic_O , 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) can be obtained similarly. We underline that, while these two addendum share the same logical binary variables, the slack variables are disjoint, namely those involved in PuIO,1(𝐱,𝐬)subscriptsuperscript𝑃𝐼𝑂1𝑢𝐱𝐬P^{IO,1}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_I italic_O , 1 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) do not enter in the definition of PuIO,2(𝐱,𝐬)subscriptsuperscript𝑃𝐼𝑂2𝑢𝐱𝐬P^{IO,2}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_I italic_O , 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) and vice-versa. The slack variable cost of this implementation for each node is:

N¯IO(u)=2log2(|+(u)||(u)|).superscript¯𝑁𝐼𝑂𝑢2subscript2superscript𝑢superscript𝑢\overline{N}^{IO}(u)=2\left\lceil\log_{2}\left(\left|\mathcal{E}^{+}(u)\right|% \,\left|\mathcal{E}^{-}(u)\right|\right)\right\rceil\,.over¯ start_ARG italic_N end_ARG start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT ( italic_u ) = 2 ⌈ roman_log start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | ) ⌉ .

Hence, the number of slack variables needed to implement the IN/OUT constraint in the whole R-multigraph is:

N¯IO=2u𝒱(u)log2|+(u)||(u)|.superscript¯𝑁𝐼𝑂2subscript𝑢𝒱𝑢subscript2superscript𝑢superscript𝑢\overline{N}^{IO}=2\sum_{u\in\mathcal{V}(u)}\left\lceil\log_{2}\left|\mathcal{% E}^{+}(u)\right|\,\left|\mathcal{E}^{-}(u)\right|\right\rceil\,.over¯ start_ARG italic_N end_ARG start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT = 2 ∑ start_POSTSUBSCRIPT italic_u ∈ caligraphic_V ( italic_u ) end_POSTSUBSCRIPT ⌈ roman_log start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT | caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | | caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | ⌉ . (46)

In Table 1 we report the amount of slack variables required by the standard method to enforce IN/OUT(u𝑢uitalic_u) in a QUBO.

We notice that the amount of slack variables needed for the QUBO formulation of this constraint strictly depends on the topology of the multigraph considered. Indeed, the amount of slack variables given by Eq. (46) is a function of the number of incoming and outgoing arcs of each node.

V.3 Standard QUBO formulation of CAP/FLOOR

We proceed by applying the standard method discussed in Section II.1 to convert CAP/FLOOR(u𝑢uitalic_u) into a QUBO form. This constraint can be considered as one of the linear inequality constraints in Eq. (2), where now S(𝐬)𝑆𝐬S(\mathbf{s})italic_S ( bold_s ) has to assume all the integer values in [0,CAP(u)FL(u)]0𝐶𝐴𝑃𝑢𝐹𝐿𝑢[0,CAP(u)-FL(u)][ 0 , italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) ]. Hence, to obtain the corresponding QUBO form, we use Eq. (5) to define the matrix PuCFsubscriptsuperscript𝑃𝐶𝐹𝑢P^{CF}_{u}italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT that appears in Eq. (41) and we obtain:

PuCF(𝐱,𝐬)=(i+(u)wixii(u)wixiCAP(u)+S(𝐬))2.subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬superscriptsubscript𝑖superscript𝑢subscript𝑤𝑖subscript𝑥𝑖subscript𝑖superscript𝑢subscript𝑤𝑖subscript𝑥𝑖𝐶𝐴𝑃𝑢𝑆𝐬2P^{CF}_{u}(\mathbf{x},\mathbf{s})=-\left(\sum_{i\in\mathcal{E}^{+}(u)}w_{i}x_{% i}-\sum_{i\in\mathcal{E}^{-}(u)}w_{i}x_{i}-CAP(u)+S(\mathbf{s})\right)^{2}.italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) = - ( ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_C italic_A italic_P ( italic_u ) + italic_S ( bold_s ) ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT . (47)

Hence, the implementation of this quadratic penalty term requires N¯.CF(u)=log2(1+CAP(u)FL(u))\overline{N}\!{\color[rgb]{1,1,1}\definecolor[named]{pgfstrokecolor}{rgb}{% 1,1,1}\pgfsys@color@gray@stroke{1}\pgfsys@color@gray@fill{1}.}^{CF}(u)=\lceil% \log_{2}(1+CAP(u)-FL(u))\rceilover¯ start_ARG italic_N end_ARG . start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT ( italic_u ) = ⌈ roman_log start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( 1 + italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) ) ⌉ slack variables for each node (see Eq. (6)) and therefore a total of

N¯CF=u𝒱log2(1+CAP(u)FL(u))superscript¯𝑁𝐶𝐹subscript𝑢𝒱subscript21𝐶𝐴𝑃𝑢𝐹𝐿𝑢\overline{N}^{CF}=\sum_{u\in\mathcal{V}}\left\lceil\log_{2}(1+CAP(u)-FL(u))\right\rceilover¯ start_ARG italic_N end_ARG start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT = ∑ start_POSTSUBSCRIPT italic_u ∈ caligraphic_V end_POSTSUBSCRIPT ⌈ roman_log start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( 1 + italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) ) ⌉ (48)

slack variables to implement the CAP/FLOOR constraint in the whole R-multigraph.

Hence, when adopting the standard method presented in Section II.1, differently from the IN/OUT case, the slack variable cost for this constraint does not depend on the topology of the graph, i.e., the amount of incoming and outgoing arcs per node, but it only depends on the values of CAP(u)𝐶𝐴𝑃𝑢CAP(u)italic_C italic_A italic_P ( italic_u ) and FL(u)𝐹𝐿𝑢FL(u)italic_F italic_L ( italic_u ). Notice that, in case of multigraphs taken from real-world financial scenarios, the order of magnitude of CAP(u)FL(u)𝐶𝐴𝑃𝑢𝐹𝐿𝑢CAP(u)-FL(u)italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) can easily be around 105106similar-tosuperscript105superscript10610^{5}\sim 10^{6}10 start_POSTSUPERSCRIPT 5 end_POSTSUPERSCRIPT ∼ 10 start_POSTSUPERSCRIPT 6 end_POSTSUPERSCRIPT. Therefore, the amount of slack variables N¯.CF(u)\overline{N}\!{\color[rgb]{1,1,1}\definecolor[named]{pgfstrokecolor}{rgb}{% 1,1,1}\pgfsys@color@gray@stroke{1}\pgfsys@color@gray@fill{1}.}^{CF}(u)over¯ start_ARG italic_N end_ARG . start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT ( italic_u ) needed per node, even in case of few incoming and outgoing transactions, can be larger than 16161616. Later, when considering real instances of MPBS, we set CAP(u)FL(u)=15𝐶𝐴𝑃𝑢𝐹𝐿𝑢15CAP(u)-FL(u)=15italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) = 15 in order to need 4 slack variables per node for the enforcement of this constraint.

V.4 MPBS on quantum annealers

We can plug the newly formulated quadratic penalties for CAP/FLOOR and IN/OUT given respectively in Eqs. (47) and (45), into Eq. (42) and obtain the standard QUBO formulation of MPBS. As a result, the number of binary variables over which we optimize is given by N=||𝑁N=|\mathcal{E}|italic_N = | caligraphic_E | variables xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, which are associated to the arcs of the input R-multigraph, N¯.IO{\overline{N}}\!{\color[rgb]{1,1,1}\definecolor[named]{pgfstrokecolor}{rgb}{% 1,1,1}\pgfsys@color@gray@stroke{1}\pgfsys@color@gray@fill{1}.}^{IO}over¯ start_ARG italic_N end_ARG . start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT slack variables to enforce the IN/OUT (see Eq. (46)) and N¯.CF\overline{N}\!{\color[rgb]{1,1,1}\definecolor[named]{pgfstrokecolor}{rgb}{% 1,1,1}\pgfsys@color@gray@stroke{1}\pgfsys@color@gray@fill{1}.}^{CF}over¯ start_ARG italic_N end_ARG . start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT for CAP/FLOOR (see Eq. (48)).

One possibility to solve a QUBO problem with quantum technologies is via a quantum annealer, e.g., those commercially produced by D-wave [31]. In the best-case scenario, namely when each QUBO variable is not coupled with too many variables and the topology of multigraph of arcs \mathcal{E}caligraphic_E is particularly fortunate, D-wave annealers employ around one qubit per QUBO variable. Hence, by using the standard technique described above, the qubits employed to include CAP/FLOOR and IN/OUT are in general much more than those representing the actual transactions. As a result, any attempt to use classical or quantum QUBO solvers in order to solve MPBS for larger and larger R-multigraphs is highly limited by the number of slack variables required by this procedure.

While in the near future quantum processing units with more qubits and higher connectivities may be introduced and therefore better computing performances may be achieved, any reduction of the slack variables needed to implement MPBS as a QUBO makes the use of quantum annealers more suitable to solve instances of this problem. In case of more advantageous strategies, such reductions could give the opportunity to approach real-world problems with a larger input size. An approach that could be adopted together with the slack variable reduction in order to efficiently use quantum annealers is given by splitting large QUBO problems in smaller sub-QUBOs, e.g., by considering the algorithm qbsolv [50]. This method allows to provide sub-optimal solutions to QUBO problems that would not fit entirely on a quantum chip.

In the following sections we first analyse the features of the realistic R-multigraphs studied in Ref. [30] and later we show why they are particularly suited for the application of our newly introduced techniques, namely the IQPMS methods. Real-world instances of MPBS are indeed characterized by a low number of arcs per node and therefore, as discussed in Section III.1, the adoption of IQPMS is particularly effective. Step-by-step, we show how a drastic slack variables reduction is possible. Thanks to our approach, all the nodes with 3 or less arcs require no slack variables in order for IN/OUT(u𝑢uitalic_u) and CAP/FLOOR(u𝑢uitalic_u) to be imposed in a QUBO form. Moreover, for 4-arc nodes, we need only 1 slack variable to implement IN/OUT(u𝑢uitalic_u). Instead, for nodes with 5 arcs, we need either 1 or 2 slack variables for IN/OUT(u𝑢uitalic_u) and from 0 to 2 slack variables for CAP/FLOOR(u𝑢uitalic_u). We summarize these slack variable costs in Table 2. Hence, compared to the standard method presented in Section II.1, our methods implement significantly less slack variables and this amount depends only on the multigraph topology: no dependency from the problem parameters occurs. We remind that the standard method enforces CAP/FLOOR(u𝑢uitalic_u) in a QUBO form with a slack variable cost that directly depends on CAP(u)FL(u)𝐶𝐴𝑃𝑢𝐹𝐿𝑢CAP(u)-FL(u)italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) (see Eq. (48)). Finally, we provide various approaches to tune the corresponding penalty multipliers.

V.5 Realistic datasets

In [29, 30] the authors show how to obtain sub-optimal solutions of MPBS for real scenarios obtained by the pan-European bank company UniCredit. The authors consider time-dependent R-multigraph, which vary day-by-day depending on the transactions resolved each day and the newly submitted ones. The average number of arcs per node obtained by averaging over a time span of two years is (see Table 2 from [30]):

2||DATA|𝒱|DATA[2.04, 2.77],2subscriptdelimited-⟨⟩𝐷𝐴𝑇𝐴subscriptdelimited-⟨⟩𝒱𝐷𝐴𝑇𝐴2.042.772\frac{\langle|\mathcal{E}|\rangle_{DATA}}{\langle|\mathcal{V}|\rangle_{DATA}}% \in[2.04,\,2.77],2 divide start_ARG ⟨ | caligraphic_E | ⟩ start_POSTSUBSCRIPT italic_D italic_A italic_T italic_A end_POSTSUBSCRIPT end_ARG start_ARG ⟨ | caligraphic_V | ⟩ start_POSTSUBSCRIPT italic_D italic_A italic_T italic_A end_POSTSUBSCRIPT end_ARG ∈ [ 2.04 , 2.77 ] , (49)

where these averages vary depending on the particular problem parameters chosen, e.g., cap(u𝑢uitalic_u), fl(u𝑢uitalic_u) and the lifetime that each receivable is allowed to stay in the R-multigraph. Instead, the single days with the largest ratios are such that:

2||MAX|𝒱|MAX[2.80, 4.59].2subscriptdelimited-⟨⟩𝑀𝐴𝑋subscriptdelimited-⟨⟩𝒱𝑀𝐴𝑋2.804.592\frac{\langle|\mathcal{E}|\rangle_{MAX}}{\langle|\mathcal{V}|\rangle_{MAX}}% \in[2.80,\,4.59].2 divide start_ARG ⟨ | caligraphic_E | ⟩ start_POSTSUBSCRIPT italic_M italic_A italic_X end_POSTSUBSCRIPT end_ARG start_ARG ⟨ | caligraphic_V | ⟩ start_POSTSUBSCRIPT italic_M italic_A italic_X end_POSTSUBSCRIPT end_ARG ∈ [ 2.80 , 4.59 ] . (50)

The authors of [30] also analyse the cases where the CAP constraint is dropped (while FLOOR is still enforced), namely for cap(u𝑢uitalic_u)=+absent=+\infty= + ∞. Nonetheless, the corresponding values of Eqs. (49) and (50) do not change significantly.

It is evident that a technique that allows a reduction of the number of slack variables needed to enforce MPBS constraints for nodes with a number of arcs inside the ranges described here would be of fundamental importance in order to use QUBO solvers. As anticipated, we indeed realize such a protocol which works nicely for nodes with 5 or less arcs. All the nodes with 6 or more arcs should be treated separately and would in general need more slack variables, but the techniques introduced in this work, namely the IQPMS methods, can still be exploited.

VI IQPMS methods for MPBS

We show how the techniques introduced in this work, namely the IQPMS methods, apply to obtain a QUBO representation of MPBS. We apply the IQPMS methods, where IN/OUT(u𝑢uitalic_u) is enforced as master constraint and CAP/FLOOR(u𝑢uitalic_u) as satellite. We summarize the results of this section in Table 2, where we provide the number of slack variables needed by our techniques to enforce the constraints of MPBS in the QUBO form. As we show, the quadratic polynomials found by the IQPMS methods enforcing IN/OUT(u𝑢uitalic_u) and CAP/FLOOR(u𝑢uitalic_u) can be non-completely connected, namely some of the parameters aij,a¯kl,biksubscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘a_{ij},\,\overline{a}_{kl},\,b_{ik}italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT defining the corresponding polynomials (7) can be null. Hence, if the quadratic forms enforcing IN/OUT(u𝑢uitalic_u) and CAP/FLOOR(u𝑢uitalic_u) do not couple the same two or more variables for one or more node u𝑢uitalic_u, we get a QUBO where the logical variables are not completely connected and therefore solving such a problem is in general easier than in the completely-connected case. Similarly, the same applies to the slack variables, which are not completely connected to each other and to the logical variables. Remember that the standard method in general employs several more slack variables and it completely connects all the logical and slack variables to each other.

 Arcs  Scenario  IN/OUT (IQPMS)  CAP/FLOOR (IQPMS) N(u)=21vs1N¯(u)=0N¯(u)=0N(u)=31vs2N¯(u)=0N¯(u)=0N(u)=41vs32vs2N¯(u)=1N¯(u)=1N¯(u)=0N¯(u)=0N(u)=51vs42vs3N¯(u)=1N¯(u)=2N¯(u)=0,1N¯(u)=0,1,2missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression Arcs  Scenario  IN/OUT (IQPMS)  CAP/FLOOR (IQPMS) missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢21vs1¯𝑁𝑢0¯𝑁𝑢0missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢31vs2¯𝑁𝑢0¯𝑁𝑢0missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢41vs32vs2¯𝑁𝑢1¯𝑁𝑢1¯𝑁𝑢0¯𝑁𝑢0missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢51vs42vs3¯𝑁𝑢1¯𝑁𝑢2¯𝑁𝑢01¯𝑁𝑢012\begin{array}[]{|c|c|c|c|}\hline\cr\,\,\,\,\,\mbox{ Arcs }&\mbox{ Scenario }&% \,\,\,\mbox{ IN/OUT (IQPMS) }&\,\,\mbox{ CAP/FLOOR (IQPMS) }\\ \hline\cr N(u)=2&\mbox{1vs1}&\overline{N}(u)=0&\overline{N}(u)=0\\ \hline\cr N(u)=3&\mbox{1vs2}&\overline{N}(u)=0&\overline{N}(u)=0\\ \hline\cr N(u)=4&\begin{array}[]{c}\mbox{1vs3}\\ \mbox{2vs2}\end{array}&\begin{array}[]{c}\overline{N}(u)=1\\ \overline{N}(u)=1\end{array}&\begin{array}[]{c}\overline{N}(u)=0\\ \overline{N}(u)=0\end{array}\\ \hline\cr N(u)=5&\begin{array}[]{c}\mbox{1vs4}\\ \mbox{2vs3}\end{array}&\begin{array}[]{c}\overline{N}(u)=1\\ \overline{N}(u)=2\end{array}&\begin{array}[]{c}\overline{N}(u)=0,1\\ \overline{N}(u)=0,1,2\end{array}\\ \hline\cr\end{array}start_ARRAY start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL Arcs end_CELL start_CELL Scenario end_CELL start_CELL IN/OUT (IQPMS) end_CELL start_CELL CAP/FLOOR (IQPMS) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 2 end_CELL start_CELL 1vs1 end_CELL start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 end_CELL start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 3 end_CELL start_CELL 1vs2 end_CELL start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 end_CELL start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 4 end_CELL start_CELL start_ARRAY start_ROW start_CELL 1vs3 end_CELL end_ROW start_ROW start_CELL 2vs2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 1 end_CELL end_ROW start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 1 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 end_CELL end_ROW start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 5 end_CELL start_CELL start_ARRAY start_ROW start_CELL 1vs4 end_CELL end_ROW start_ROW start_CELL 2vs3 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 1 end_CELL end_ROW start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 , 1 end_CELL end_ROW start_ROW start_CELL over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 , 1 , 2 end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY
Table 2: Amount of slack variables N¯(u)¯𝑁𝑢\overline{N}(u)over¯ start_ARG italic_N end_ARG ( italic_u ) necessary to enforce IN/OUT(u𝑢uitalic_u) and CAP/FLOOR(u𝑢uitalic_u) with the IQPMS methods, where N(u)𝑁𝑢N(u)italic_N ( italic_u ) is the number of arcs. IN/OUT(u𝑢uitalic_u) is considered as a master constraint and CAP/FLOOR(u𝑢uitalic_u) as its satellite. The X𝑋Xitalic_XvsY𝑌Yitalic_Y scenario occurs when on the target node there are X𝑋Xitalic_X arcs of one type (incoming/outgoing) and Y𝑌Yitalic_Y of the opposite type. Comparing the slack variable cost of the IQPMS methods with the standard method, the slack variable cost of our methods is significantly lower and solely depends on the topology of the problem multigraph (see Table 1 and Section V.3 for a comparison). Indeed, differently from the case of CAP/FLOOR(u𝑢uitalic_u) enforced in a QUBO form with the standard method (see Eq. (48)), N¯(u)¯𝑁𝑢\overline{N}(u)over¯ start_ARG italic_N end_ARG ( italic_u ) never depends on the values of the problem parameters.

VI.1 Reduction of slack variables for IN/OUT

An interesting feature of this constraint is that it is homogenous among the graph, namely, modulo a relabelling of the binary variables involved in u𝑢uitalic_u, all the nodes having the same values of |+(u)|superscript𝑢|\mathcal{E}^{+}(u)|| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | and |(u)|superscript𝑢|\mathcal{E}^{-}(u)|| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | have the same PuIO(𝐱,𝐬)subscriptsuperscript𝑃𝐼𝑂𝑢𝐱𝐬P^{IO}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ). Moreover, the same is true if we swap the values of |+(u)|superscript𝑢|\mathcal{E}^{+}(u)|| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | and |(u)|superscript𝑢|\mathcal{E}^{-}(u)|| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) |: the IN/OUT penalty term for a node with |+(u)|=2superscript𝑢2|\mathcal{E}^{+}(u)|=2| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 2 and |(u)|=1superscript𝑢1|\mathcal{E}^{-}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 1 can be simply obtained from the IN/OUT penalty given to another node having |+(u)|=1superscript𝑢1|\mathcal{E}^{+}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 1 and |(u)|=2superscript𝑢2|\mathcal{E}^{-}(u)|=2| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 2. Indeed, this penalty requires each node to have either none or at least one incoming and one outgoing arc, while the values associated to each arc wisubscript𝑤𝑖w_{i}italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT and the attributes CAP(u)𝐶𝐴𝑃𝑢CAP(u)italic_C italic_A italic_P ( italic_u ) and FL(u)𝐹𝐿𝑢FL(u)italic_F italic_L ( italic_u ) do not influence this constraint. This regularity is the main reason why we pick IN/OUT as master: once that we enforce this constraint for a given pair of |+(u)|superscript𝑢|\mathcal{E}^{+}(u)|| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | and |(u)|superscript𝑢|\mathcal{E}^{-}(u)|| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) |, we automatically obtain the IN/OUT(u𝑢uitalic_u) penalty term for all the nodes with either the same |+(u)|superscript𝑢|\mathcal{E}^{+}(u)|| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | and |(u)|superscript𝑢|\mathcal{E}^{-}(u)|| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | or swapped values of |+(u)|superscript𝑢|\mathcal{E}^{+}(u)|| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | and |(u)|superscript𝑢|\mathcal{E}^{-}(u)|| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) |.

We proceed by exposing how the IQP method for master constraints applies to IN/OUT. As anticipated, this method is particularly effective when N(u)𝑁𝑢N(u)italic_N ( italic_u ) is not too large and therefore we fix our attention to those nodes with N(u)5𝑁𝑢5N(u)\leq 5italic_N ( italic_u ) ≤ 5 arcs.

Nodes with 2 arcs: Consider a node with N(u)=2𝑁𝑢2N(u)=2italic_N ( italic_u ) = 2. Without loss of generality, we associate the binary variable x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT to the incoming arc and x2subscript𝑥2x_{2}italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT to the outgoing one. The IQP method provides the following solution with no slack variables

PuIO(𝐱)=x1x2+2x1x2={0 if 𝐱={0,0},{1,1}1 if 𝐱={1,0},{0,1},subscriptsuperscript𝑃𝐼𝑂𝑢𝐱subscript𝑥1subscript𝑥22subscript𝑥1subscript𝑥2cases0 if 𝐱0011missing-subexpression1 if 𝐱1001missing-subexpressionP^{IO}_{u}(\mathbf{x})=-x_{1}-x_{2}+2x_{1}x_{2}=\left\{\begin{array}[]{cccc}0&% \mbox{ if }&\mathbf{x}=\{0,0\},\,\{1,1\}\\ -1&\mbox{ if }&\mathbf{x}=\{1,0\},\,\{0,1\}\end{array}\right.\,,italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) = - italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT = { start_ARRAY start_ROW start_CELL 0 end_CELL start_CELL if end_CELL start_CELL bold_x = { 0 , 0 } , { 1 , 1 } end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL - 1 end_CELL start_CELL if end_CELL start_CELL bold_x = { 1 , 0 } , { 0 , 1 } end_CELL start_CELL end_CELL end_ROW end_ARRAY , (51)

where {x1,x2}={0,0},{1,1}subscript𝑥1subscript𝑥20011\{x_{1},x_{2}\}=\{0,0\},\{1,1\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT } = { 0 , 0 } , { 1 , 1 } are the combinations that satisfy IN/OUT, while {x1,x2}={1,0},{0,1}subscript𝑥1subscript𝑥21001\{x_{1},x_{2}\}=\{1,0\},\{0,1\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT } = { 1 , 0 } , { 0 , 1 } violate IN/OUT.

Nodes with 3 arcs: Consider a node with N(u)=3𝑁𝑢3N(u)=3italic_N ( italic_u ) = 3. We either have |+(u)|=1superscript𝑢1|\mathcal{E}^{+}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 1 and |(u)|=2superscript𝑢2|\mathcal{E}^{-}(u)|=2| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 2 or |+(u)|=2superscript𝑢2|\mathcal{E}^{+}(u)|=2| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 2 and |(u)|=1superscript𝑢1|\mathcal{E}^{-}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 1. Hence, we simply say that we have a 1vs2 scenario and associate x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT to the type of arc that appears only once. More precisely, if |+(u)|=1superscript𝑢1|\mathcal{E}^{+}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 1, we associate x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT to the incoming arc and x2,3subscript𝑥23x_{2,3}italic_x start_POSTSUBSCRIPT 2 , 3 end_POSTSUBSCRIPT to the outgoing ones. Otherwise, we associate x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT to the outgoing arc and x2,3subscript𝑥23x_{2,3}italic_x start_POSTSUBSCRIPT 2 , 3 end_POSTSUBSCRIPT to the incoming ones when |(u)|=1superscript𝑢1|\mathcal{E}^{-}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 1.

Interestingly, even if the free parameters in the IQP with N=3𝑁3N=3italic_N = 3 are fewer than the independent conditions that have to be applied on PuIO(𝐱)subscriptsuperscript𝑃𝐼𝑂𝑢𝐱P^{IO}_{u}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ), respectively #aij=7<M(u)=2N(u)=8#subscript𝑎𝑖𝑗7𝑀𝑢superscript2𝑁𝑢8\#a_{ij}=7<M(u)=2^{N(u)}=8# italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT = 7 < italic_M ( italic_u ) = 2 start_POSTSUPERSCRIPT italic_N ( italic_u ) end_POSTSUPERSCRIPT = 8, the IQP method provides infinite many solutions with no slack variables. Remember that the standard method required 2 slack variables to enforce the same constraint (see Section V.2). Hence, we replace some inequality sub-constraints with equality sub-constraints in Eq. (9) in order to have a larger penalty for the string that violates IN/OUT and is likely to provide a large incentive to the objective function iwixisubscript𝑖subscript𝑤𝑖subscript𝑥𝑖\sum_{i}w_{i}x_{i}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT of the QUBO formulation of MPBS, namely for {x1,x2,x3}={0,1,1}subscript𝑥1subscript𝑥2subscript𝑥3011\{x_{1},x_{2},x_{3}\}=\{0,1,1\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT } = { 0 , 1 , 1 }. Hence, the following linear system of 8 equations in 7 variables

PuIO(𝐱)=a0+1ij3aijxixj s.t. {PuIO(𝐱)=0 if 𝐱u={0,0,0},{1,1,0},{1,0,1},{1,1,1}PuIO(𝐱)=1 if 𝐱u={1,0,0},{0,1,0},{0,0,1}PuIO(𝐱)1 if 𝐱u={0,1,1},subscriptsuperscript𝑃𝐼𝑂𝑢𝐱subscript𝑎0subscript1𝑖𝑗3subscript𝑎𝑖𝑗subscript𝑥𝑖subscript𝑥𝑗 s.t. casessubscriptsuperscript𝑃𝐼𝑂𝑢𝐱0 if subscript𝐱𝑢000110101111subscriptsuperscript𝑃𝐼𝑂𝑢𝐱1 if subscript𝐱𝑢100010001missing-subexpressionsubscriptsuperscript𝑃𝐼𝑂𝑢𝐱1 if subscript𝐱𝑢011missing-subexpressionmissing-subexpressionmissing-subexpressionP^{IO}_{u}(\mathbf{x})=a_{0}+\sum_{1\leq i\leq j\leq 3}a_{ij}x_{i}x_{j}\hskip 1% 1.38092pt\mbox{ s.t. }\hskip 11.38092pt\left\{\begin{array}[]{cccccc}P^{IO}_{u% }(\mathbf{x})=0&\mbox{ if }&\mathbf{x}_{u}=\{0,0,0\},&\!\!\{1,1,0\},&\!\!\{1,0% ,1\},&\!\!\{1,1,1\}\\ P^{IO}_{u}(\mathbf{x})=-1&\mbox{ if }&\mathbf{x}_{u}=\{1,0,0\},&\!\!\{0,1,0\},% &\!\!\{0,0,1\}\\ P^{IO}_{u}(\mathbf{x})\leq-1&\mbox{ if }&\!\!\mathbf{x}_{u}=\{0,1,1\}\\ \end{array}\right.\,,italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) = italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT 1 ≤ italic_i ≤ italic_j ≤ 3 end_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT s.t. { start_ARRAY start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) = 0 end_CELL start_CELL if end_CELL start_CELL bold_x start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT = { 0 , 0 , 0 } , end_CELL start_CELL { 1 , 1 , 0 } , end_CELL start_CELL { 1 , 0 , 1 } , end_CELL start_CELL { 1 , 1 , 1 } end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) = - 1 end_CELL start_CELL if end_CELL start_CELL bold_x start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT = { 1 , 0 , 0 } , end_CELL start_CELL { 0 , 1 , 0 } , end_CELL start_CELL { 0 , 0 , 1 } end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) ≤ - 1 end_CELL start_CELL if end_CELL start_CELL bold_x start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT = { 0 , 1 , 1 } end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW end_ARRAY , (52)

provides the following unique solution:

PuIO(𝐱)=x1x2x3+2x1x2+2x1x3x2x3={0 if 𝐱={0,0,0},{1,1,0},{1,0,1},{1,1,1}1 if 𝐱={1,0,0},{0,1,0},{0,0,1}3 if 𝐱={0,1,1}.subscriptsuperscript𝑃𝐼𝑂𝑢𝐱subscript𝑥1subscript𝑥2subscript𝑥32subscript𝑥1subscript𝑥22subscript𝑥1subscript𝑥3subscript𝑥2subscript𝑥3cases0 if 𝐱0001101011111 if 𝐱100010001missing-subexpression3 if 𝐱011missing-subexpressionmissing-subexpressionmissing-subexpressionP^{IO}_{u}(\mathbf{x})=-x_{1}-x_{2}-x_{3}+2x_{1}x_{2}+2x_{1}x_{3}-x_{2}x_{3}=% \left\{\begin{array}[]{cccccc}0&\mbox{ if }&\mathbf{x}=\{0,0,0\},&\!\!\{1,1,0% \},&\!\!\{1,0,1\},&\!\!\{1,1,1\}\\ -1&\mbox{ if }&\mathbf{x}=\{1,0,0\},&\!\!\{0,1,0\},&\!\!\{0,0,1\}\\ -3&\mbox{ if }&\mathbf{x}=\{0,1,1\}\\ \end{array}\right.\,.italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) = - italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT = { start_ARRAY start_ROW start_CELL 0 end_CELL start_CELL if end_CELL start_CELL bold_x = { 0 , 0 , 0 } , end_CELL start_CELL { 1 , 1 , 0 } , end_CELL start_CELL { 1 , 0 , 1 } , end_CELL start_CELL { 1 , 1 , 1 } end_CELL end_ROW start_ROW start_CELL - 1 end_CELL start_CELL if end_CELL start_CELL bold_x = { 1 , 0 , 0 } , end_CELL start_CELL { 0 , 1 , 0 } , end_CELL start_CELL { 0 , 0 , 1 } end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL - 3 end_CELL start_CELL if end_CELL start_CELL bold_x = { 0 , 1 , 1 } end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW end_ARRAY . (53)

Nodes with 4 arcs: Consider a node with N(u)=4𝑁𝑢4N(u)=4italic_N ( italic_u ) = 4. In the following, the 1vs3 case refers to the |+(u)|=1superscript𝑢1|\mathcal{E}^{+}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 1 and |(u)|=3superscript𝑢3|\mathcal{E}^{-}(u)|=3| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 3 scenario and the |+(u)|=3superscript𝑢3|\mathcal{E}^{+}(u)|=3| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 3 and |(u)|=1superscript𝑢1|\mathcal{E}^{-}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 1 scenario. Instead, the 2vs2 case refers to the |+(u)|=2superscript𝑢2|\mathcal{E}^{+}(u)|=2| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 2 and |(u)|=2superscript𝑢2|\mathcal{E}^{-}(u)|=2| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 2 scenario.

The IQP method needs 1 slack variable in order to enforce IN/OUT as a QUBO penalty term for this type of nodes, which we call s1subscript𝑠1s_{1}italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT. Remember that the standard method required 4 slack variables to enforce the same constraint (see Section V.2). Before providing the explicit solutions obtained for PuIO(𝐱,s1)subscriptsuperscript𝑃𝐼𝑂𝑢𝐱subscript𝑠1P^{IO}_{u}(\mathbf{x},s_{1})italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ), we explain the ordering chosen for the binary variables. Concerning the 1vs3 case, we associate x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT to the type of arc that appears only once in u𝑢uitalic_u, while x2,3,4subscript𝑥234x_{2,3,4}italic_x start_POSTSUBSCRIPT 2 , 3 , 4 end_POSTSUBSCRIPT are associated to the other type of arcs 444For instance, if |+(u)|=3superscript𝑢3|\mathcal{E}^{+}(u)|=3| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 3 and |(u)|=1superscript𝑢1|\mathcal{E}^{-}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 1, we associate x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT to the only outgoing arc of the node.. Instead, for the 2vs2 case, x1,2subscript𝑥12x_{1,2}italic_x start_POSTSUBSCRIPT 1 , 2 end_POSTSUBSCRIPT are associated to the incoming arcs and x3,4subscript𝑥34x_{3,4}italic_x start_POSTSUBSCRIPT 3 , 4 end_POSTSUBSCRIPT to the outgoing ones.

Finally, the corresponding quadratic forms are:

(1vs3) PuIO(𝐱,s1)=x1x2x3x4+x1x2+2x1x3+x1x4x2x4s1+s1x1+s1x2s1x3+s1x4,subscriptsuperscript𝑃𝐼𝑂𝑢𝐱subscript𝑠1subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4subscript𝑥1subscript𝑥22subscript𝑥1subscript𝑥3subscript𝑥1subscript𝑥4subscript𝑥2subscript𝑥4subscript𝑠1subscript𝑠1subscript𝑥1subscript𝑠1subscript𝑥2subscript𝑠1subscript𝑥3subscript𝑠1subscript𝑥4\displaystyle\hskip 28.45274ptP^{IO}_{u}(\mathbf{x},s_{1})=-x_{1}-x_{2}-x_{3}-% x_{4}+x_{1}x_{2}+2x_{1}x_{3}+x_{1}x_{4}-x_{2}x_{4}-s_{1}+s_{1}x_{1}+s_{1}x_{2}% -s_{1}x_{3}+s_{1}x_{4}\,,italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) = - italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT - italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT , (54)
(2vs2) PuIO(𝐱,s1)=x1x2x3x4x1x2x3x4+s1+2s1x1+2s1x2+2s1x3+2s1x4.subscriptsuperscript𝑃𝐼𝑂𝑢𝐱subscript𝑠1subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4subscript𝑠12subscript𝑠1subscript𝑥12subscript𝑠1subscript𝑥22subscript𝑠1subscript𝑥32subscript𝑠1subscript𝑥4\displaystyle\hskip 28.45274ptP^{IO}_{u}(\mathbf{x},s_{1})=-x_{1}-x_{2}-x_{3}-% x_{4}-x_{1}x_{2}-x_{3}x_{4}+s_{1}+2s_{1}x_{1}+2s_{1}x_{2}+2s_{1}x_{3}+2s_{1}x_% {4}\,.italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) = - italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT + italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT . (55)

Concerning the sparsity of these penalty terms, we notice that the zero-valued parameters in the solution IQPs (7) are a2,3=a3,4=a0=0subscript𝑎23subscript𝑎34subscript𝑎00a_{2,3}=a_{3,4}=a_{0}=0italic_a start_POSTSUBSCRIPT 2 , 3 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 3 , 4 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 0 in the 1vs3 scenario and a1,3=a1,4=a2,3=a2,4=a0=0subscript𝑎13subscript𝑎14subscript𝑎23subscript𝑎24subscript𝑎00a_{1,3}=a_{1,4}=a_{2,3}=a_{2,4}=a_{0}=0italic_a start_POSTSUBSCRIPT 1 , 3 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 1 , 4 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 2 , 3 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 2 , 4 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 0 in the 2vs2 scenario.

Nodes with 5 arcs: Consider a node with N(u)=5𝑁𝑢5N(u)=5italic_N ( italic_u ) = 5 arcs. In the following, the 1vs4 case refers to the |+(u)|=1superscript𝑢1|\mathcal{E}^{+}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 1 and |(u)|=4superscript𝑢4|\mathcal{E}^{-}(u)|=4| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 4 scenario and the |+(u)|=4superscript𝑢4|\mathcal{E}^{+}(u)|=4| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 4 and |(u)|=1superscript𝑢1|\mathcal{E}^{-}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 1 scenario. Similarly, the 2vs3 case refers to the |+(u)|=2superscript𝑢2|\mathcal{E}^{+}(u)|=2| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 2 and |(u)|=3superscript𝑢3|\mathcal{E}^{-}(u)|=3| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 3 scenario and the |+(u)|=3superscript𝑢3|\mathcal{E}^{+}(u)|=3| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 3 and |(u)|=2superscript𝑢2|\mathcal{E}^{-}(u)|=2| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 2 scenario.

The IQP method applied to the 1vs4 case allows a solution with 1 slack variable, which we call s1subscript𝑠1s_{1}italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT, while for the 2vs3 case the IQP method requires 2 slack variables, which we call s1subscript𝑠1s_{1}italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT and s2subscript𝑠2s_{2}italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT. Remember that the standard method required 4 and 6 slack variables, respectively, to enforce the same constraint (see Section V.2). Before providing the explicit solutions obtained for PuIO(𝐱,𝐬)subscriptsuperscript𝑃𝐼𝑂𝑢𝐱𝐬P^{IO}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ), we explain the ordering chosen for the binary variables. Concerning the 1vs4 case, we associate x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT to the type of arc that appears only once in u𝑢uitalic_u, while x2,3,4,5subscript𝑥2345x_{2,3,4,5}italic_x start_POSTSUBSCRIPT 2 , 3 , 4 , 5 end_POSTSUBSCRIPT are associated to the other type of arcs. Instead, for the 2vs3 case, x1,2subscript𝑥12x_{1,2}italic_x start_POSTSUBSCRIPT 1 , 2 end_POSTSUBSCRIPT are associated to the type of arcs that appears twice in u𝑢uitalic_u, while x3,4,5subscript𝑥345x_{3,4,5}italic_x start_POSTSUBSCRIPT 3 , 4 , 5 end_POSTSUBSCRIPT are associated to the other type of arcs.

Finally, the corresponding quadratic forms are:

(1vs4)PuIO(𝐱,s1)=(1vs4)subscriptsuperscript𝑃𝐼𝑂𝑢𝐱subscript𝑠1absent\displaystyle\mbox{ (1vs4)}\hskip 19.91684ptP^{IO}_{u}(\mathbf{x},s_{1})=(1vs4) italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) = x1x2x3x4x5+2x1x2+2x1x3+2x1x4+2x1x5x2x3x2x4x2x5x3x4subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4subscript𝑥52subscript𝑥1subscript𝑥22subscript𝑥1subscript𝑥32subscript𝑥1subscript𝑥42subscript𝑥1subscript𝑥5subscript𝑥2subscript𝑥3subscript𝑥2subscript𝑥4subscript𝑥2subscript𝑥5subscript𝑥3subscript𝑥4\displaystyle-x_{1}-x_{2}-x_{3}-x_{4}-x_{5}+2x_{1}x_{2}+2x_{1}x_{3}+2x_{1}x_{4% }+2x_{1}x_{5}-x_{2}x_{3}-x_{2}x_{4}-x_{2}x_{5}-x_{3}x_{4}- italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT + 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT + 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT
x3x5x4x55s1+2s1x2+2s1x3+2s1x4+2s1x5,subscript𝑥3subscript𝑥5subscript𝑥4subscript𝑥55subscript𝑠12subscript𝑠1subscript𝑥22subscript𝑠1subscript𝑥32subscript𝑠1subscript𝑥42subscript𝑠1subscript𝑥5\displaystyle-x_{3}x_{5}-x_{4}x_{5}-5s_{1}+2s_{1}x_{2}+2s_{1}x_{3}+2s_{1}x_{4}% +2s_{1}x_{5}\,,- italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT - 5 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT ,
(2vs3)PuIO(𝐱,s1,s2)=(2vs3)subscriptsuperscript𝑃𝐼𝑂𝑢𝐱subscript𝑠1subscript𝑠2absent\displaystyle\mbox{ (2vs3)}\hskip 19.91684ptP^{IO}_{u}(\mathbf{x},s_{1},s_{2})=(2vs3) italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) = x1x2x3x4x5x1x2x3x4x3x5x4x52s12s2+2s1x1+2s1x2subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4subscript𝑥5subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4subscript𝑥3subscript𝑥5subscript𝑥4subscript𝑥52subscript𝑠12subscript𝑠22subscript𝑠1subscript𝑥12subscript𝑠1subscript𝑥2\displaystyle-x_{1}-x_{2}-x_{3}-x_{4}-x_{5}-x_{1}x_{2}-x_{3}x_{4}-x_{3}x_{5}-x% _{4}x_{5}-2s_{1}-2s_{2}+2s_{1}x_{1}+2s_{1}x_{2}- italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT - 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - 2 italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT
+2s1x3+2s1x4+2s1x5+s2x3+s2x4+s2x5.2subscript𝑠1subscript𝑥32subscript𝑠1subscript𝑥42subscript𝑠1subscript𝑥5subscript𝑠2subscript𝑥3subscript𝑠2subscript𝑥4subscript𝑠2subscript𝑥5\displaystyle+2s_{1}x_{3}+2s_{1}x_{4}+2s_{1}x_{5}+s_{2}x_{3}+s_{2}x_{4}+s_{2}x% _{5}\,.+ 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT + 2 italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT + italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT + italic_s start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 5 end_POSTSUBSCRIPT .

Concerning the sparsity of these penalty terms, we notice that the zero-valued parameters in the solution IQPs (7) are b11=0subscript𝑏110b_{11}=0italic_b start_POSTSUBSCRIPT 11 end_POSTSUBSCRIPT = 0 in the 1vs4 scenario and a13=a14=a15=a23=a24=a25=a¯12=b12=b22=0subscript𝑎13subscript𝑎14subscript𝑎15subscript𝑎23subscript𝑎24subscript𝑎25subscript¯𝑎12subscript𝑏12subscript𝑏220a_{13}=a_{14}=a_{15}=a_{23}=a_{24}=a_{25}=\overline{a}_{12}=b_{12}=b_{22}=0italic_a start_POSTSUBSCRIPT 13 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 14 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 15 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 23 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 24 end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT 25 end_POSTSUBSCRIPT = over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT 12 end_POSTSUBSCRIPT = italic_b start_POSTSUBSCRIPT 12 end_POSTSUBSCRIPT = italic_b start_POSTSUBSCRIPT 22 end_POSTSUBSCRIPT = 0 in the 2vs3 scenario.

VI.2 Reduction of slack variables for CAP/FLOOR

We follow by enforcing CAP/FLOOR in the QUBO form as a satellite constraint of IN/OUT, which has already been treated as a master constraint. In this section, we construct the quadratic penalty terms PuCF(𝐱,𝐬)subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬P^{CF}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) with the IQP method by requiring that it provides penalties if 𝐱𝐱\mathbf{x}bold_x satisfies IN/OUT(u𝑢uitalic_u) and violates CAP/FLOOR(u𝑢uitalic_u). Moreover, this quadratic form has to give no-penalties for at least one combination of 𝐬𝐬\mathbf{s}bold_s whenever 𝐱𝐱\mathbf{x}bold_x satisfies IN/OUT(u𝑢uitalic_u) and CAP/FLOOR(u𝑢uitalic_u). In other terms, we require PuCF(𝐱,𝐬)subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬P^{CF}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) to penalize the combinations violating CAP/FLOOR(u𝑢uitalic_u) solely when they already satisfy IN/OUT(u𝑢uitalic_u) (see Section III.2). It follows that such a PuCF(𝐱,𝐬)subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬P^{CF}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) could provide accidental incentives when IN/OUT(u𝑢uitalic_u) is violated and therefore we have to proceed as described in Section III.3. Hence, we look for a IQP (7) that satisfies the linear system (14), which now assumes the form:

{PuCF(𝐱,𝐬)1 if 𝐱 satisfies IN/OUT(u) and violates CAP/FLOOR(ufor all 𝐬PuCF(𝐱,𝐬)0 if 𝐱 satisfies IN/OUT(u) and satisfies CAP/FLOOR(ufor all 𝐬PuCF(𝐱,𝐬)=0 if 𝐱 satisfies IN/OUT(u) and satisfies CAP/FLOOR(ufor at least one 𝐬casessubscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬1 if 𝐱 satisfies IN/OUT(u) and violates CAP/FLOOR(ufor all 𝐬subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬0 if 𝐱 satisfies IN/OUT(u) and satisfies CAP/FLOOR(ufor all 𝐬subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬0 if 𝐱 satisfies IN/OUT(u) and satisfies CAP/FLOOR(ufor at least one 𝐬\left\{\begin{array}[]{ccc}P^{CF}_{u}(\mathbf{x},\mathbf{s})\leq-1&\mbox{ if }% \mathbf{x}\mbox{ satisfies IN/OUT($u$) and violates CAP/FLOOR($u$) }&\mbox{for% all }\mathbf{s}\\ P^{CF}_{u}(\mathbf{x},\mathbf{s})\leq 0&\mbox{ if }\mathbf{x}\mbox{ satisfies % IN/OUT($u$) and satisfies CAP/FLOOR($u$) }&\mbox{for all }\mathbf{s}\\ P^{CF}_{u}(\mathbf{x},\mathbf{s})=0&\mbox{ if }\mathbf{x}\mbox{ satisfies IN/% OUT($u$) and satisfies CAP/FLOOR($u$) }&\mbox{for at least one }\mathbf{s}\end% {array}\right.\,{ start_ARRAY start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) ≤ - 1 end_CELL start_CELL if bold_x satisfies IN/OUT( italic_u ) and violates CAP/FLOOR( italic_u ) end_CELL start_CELL for all bold_s end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) ≤ 0 end_CELL start_CELL if bold_x satisfies IN/OUT( italic_u ) and satisfies CAP/FLOOR( italic_u ) end_CELL start_CELL for all bold_s end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) = 0 end_CELL start_CELL if bold_x satisfies IN/OUT( italic_u ) and satisfies CAP/FLOOR( italic_u ) end_CELL start_CELL for at least one bold_s end_CELL end_ROW end_ARRAY (58)

Before proceeding, we briefly analyse the slack variables cost expected for IQP method in this scenario. The total number of free parameters inside a IQP grows quadratically with N(u)+N¯(u)𝑁𝑢¯𝑁𝑢N(u)+\overline{N}(u)italic_N ( italic_u ) + over¯ start_ARG italic_N end_ARG ( italic_u ) (see Eq. (8)), where N¯(u)¯𝑁𝑢\overline{N}(u)over¯ start_ARG italic_N end_ARG ( italic_u ) is the number of slack variables employed. In case of master constraints, the total number of combinations of 𝐱𝐱\mathbf{x}bold_x for which we have to enforce sub-constraints are 2N(u)superscript2𝑁𝑢2^{N(u)}2 start_POSTSUPERSCRIPT italic_N ( italic_u ) end_POSTSUPERSCRIPT. The advantage of considering CAP/FLOOR(u𝑢uitalic_u) a satellite constraint of IN/OUT(u𝑢uitalic_u) is that we can ignore those sub-constraints violating IN/OUT(u𝑢uitalic_u), which are 2N+(u)+2N(u)2superscript2superscript𝑁𝑢superscript2superscript𝑁𝑢22^{N^{+}(u)}+2^{N^{-}(u)}-22 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT + 2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT - 2 555The number of combinations of 𝐱𝐱\mathbf{x}bold_x such that there are no outgoing (incoming) arcs activated are 2N+(u)superscript2superscript𝑁𝑢2^{N^{+}(u)}2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT. The number of combinations of 𝐱𝐱\mathbf{x}bold_x such that there are no incoming arcs activated are 2N(u)superscript2superscript𝑁𝑢2^{N^{-}(u)}2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT. Since the null combination 𝐱={0,0,,0}𝐱000\mathbf{x}=\{0,0,\dots,0\}bold_x = { 0 , 0 , … , 0 } is allowed by IN/OUT(u𝑢uitalic_u), we obtain that the number of combinations violating IN/OUT(u𝑢uitalic_u) are 2N+(u)+2N(u)2superscript2superscript𝑁𝑢superscript2superscript𝑁𝑢22^{N^{+}(u)}+2^{N^{-}(u)}-22 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT + 2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT - 2.. Hence, the total number of sub-constraints that have to be imposed for CAP/FLOOR(u𝑢uitalic_u) are:

#cond(u)=2N(u)2N+(u)2N(u)+2.#𝑐𝑜𝑛𝑑𝑢superscript2𝑁𝑢superscript2superscript𝑁𝑢superscript2superscript𝑁𝑢2\#cond(u)=2^{N(u)}-2^{N^{+}(u)}-2^{N^{-}(u)}+2\,.# italic_c italic_o italic_n italic_d ( italic_u ) = 2 start_POSTSUPERSCRIPT italic_N ( italic_u ) end_POSTSUPERSCRIPT - 2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT - 2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT + 2 . (59)

As discussed in Section III.1, an indicative estimate for the minimum number of slack variables necessary to IQP method to enforce a given constraint is given by that N¯(u)¯𝑁𝑢\overline{N}(u)over¯ start_ARG italic_N end_ARG ( italic_u ) such that the number of free parameters (see Eq. (8)) is larger than the number of sub-constraints (see Eq. (59)), namely for:

#{aij,a¯kl,bik}=1+(N(u)+N¯(u))2+N(u)+N¯(u)2>#cond(u)=2N(u)2N+(u)2N(u)+2.#subscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘1superscript𝑁𝑢¯𝑁𝑢2𝑁𝑢¯𝑁𝑢2#𝑐𝑜𝑛𝑑𝑢superscript2𝑁𝑢superscript2superscript𝑁𝑢superscript2superscript𝑁𝑢2\#\{a_{ij},\overline{a}_{kl},b_{ik}\}=1+\frac{(N(u)+\overline{N}(u))^{2}+N(u)+% \overline{N}(u)}{2}>\#cond(u)=2^{N(u)}-2^{N^{+}(u)}-2^{N^{-}(u)}+2\,.# { italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT } = 1 + divide start_ARG ( italic_N ( italic_u ) + over¯ start_ARG italic_N end_ARG ( italic_u ) ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_N ( italic_u ) + over¯ start_ARG italic_N end_ARG ( italic_u ) end_ARG start_ARG 2 end_ARG > # italic_c italic_o italic_n italic_d ( italic_u ) = 2 start_POSTSUPERSCRIPT italic_N ( italic_u ) end_POSTSUPERSCRIPT - 2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT - 2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT + 2 .

From the values of #{aij,a¯kl,bik}#subscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘\#\{a_{ij},\overline{a}_{kl},b_{ik}\}# { italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT } and #cond(u)#𝑐𝑜𝑛𝑑𝑢\#cond(u)# italic_c italic_o italic_n italic_d ( italic_u ) reported in Table 3, we expect that one or more slack variables are necessary to enforce CAP/FLOOR(u𝑢uitalic_u) in a quadratic form with the IQP method only for N(u)5𝑁𝑢5N(u)\geq 5italic_N ( italic_u ) ≥ 5. As we show later, this is indeed true. Moreover, by generating several random graphs, a major part of the 5-arc nodes studied required either zero or one slack variable and very few needed two slack variables.

 Arcs #{aij,a¯kl,bik}#condN(u)=2(N¯(u)=0)   42N(u)=3(N¯(u)=0)   74N(u)=4(N¯(u)=0)   11(1vs3)   8(2vs2) 10N(u)=5(N¯(u)=0)   16(N¯(u)=1)   22(N¯(u)=2)   29(1vs4)   16(2vs3)   22missing-subexpressionmissing-subexpressionmissing-subexpression Arcs #subscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘#𝑐𝑜𝑛𝑑missing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢2¯𝑁𝑢042missing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢3¯𝑁𝑢074missing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢4¯𝑁𝑢011(1vs3)8(2vs2)10missing-subexpressionmissing-subexpressionmissing-subexpression𝑁𝑢5¯𝑁𝑢016¯𝑁𝑢122¯𝑁𝑢229(1vs4)16(2vs3)22\begin{array}[]{|c|c|c|}\hline\cr\mbox{ Arcs }&\#\{a_{ij},\overline{a}_{kl},b_% {ik}\}&\#cond\\ \hline\cr N(u)=2&(\overline{N}(u)=0)\,\,\,4&2\\ \hline\cr N(u)=3&(\overline{N}(u)=0)\,\,\,7&4\\ \hline\cr N(u)=4&(\overline{N}(u)=0)\,\,\,11&\begin{array}[]{c}\!\mbox{(1vs3)}% \,\,\,8\\ \mbox{(2vs2)}\,10\end{array}\\ \hline\cr N(u)=5&\begin{array}[]{c}(\overline{N}(u)=0)\,\,\,16\\ (\overline{N}(u)=1)\,\,\,22\\ (\overline{N}(u)=2)\,\,\,29\end{array}&\begin{array}[]{c}\mbox{(1vs4)}\,\,\,16% \\ \mbox{(2vs3)}\,\,\,22\end{array}\\ \hline\cr\end{array}start_ARRAY start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL Arcs end_CELL start_CELL # { italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT } end_CELL start_CELL # italic_c italic_o italic_n italic_d end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 2 end_CELL start_CELL ( over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 ) 4 end_CELL start_CELL 2 end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 3 end_CELL start_CELL ( over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 ) 7 end_CELL start_CELL 4 end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 4 end_CELL start_CELL ( over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 ) 11 end_CELL start_CELL start_ARRAY start_ROW start_CELL (1vs3) 8 end_CELL end_ROW start_ROW start_CELL (2vs2) 10 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N ( italic_u ) = 5 end_CELL start_CELL start_ARRAY start_ROW start_CELL ( over¯ start_ARG italic_N end_ARG ( italic_u ) = 0 ) 16 end_CELL end_ROW start_ROW start_CELL ( over¯ start_ARG italic_N end_ARG ( italic_u ) = 1 ) 22 end_CELL end_ROW start_ROW start_CELL ( over¯ start_ARG italic_N end_ARG ( italic_u ) = 2 ) 29 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL (1vs4) 16 end_CELL end_ROW start_ROW start_CELL (2vs3) 22 end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY
Table 3: Comparison between the number of free parameters #{aij,a¯kl,bik}#subscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘\#\{a_{ij},\overline{a}_{kl},b_{ik}\}# { italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT } in an IQP for different number of arcs N(u)𝑁𝑢N(u)italic_N ( italic_u ) and slack variables N¯(u)¯𝑁𝑢\overline{N}(u)over¯ start_ARG italic_N end_ARG ( italic_u ) with the number of sub-constraints #cond(u)#𝑐𝑜𝑛𝑑𝑢\#cond(u)# italic_c italic_o italic_n italic_d ( italic_u ) required by CAP/FLOOR(u𝑢uitalic_u) when enforced as a satellite constraint of IN/OUT(u𝑢uitalic_u). The indicative minimum amount of slack variables necessary is given when #{aij,a¯kl,bik}>#cond(u)#subscript𝑎𝑖𝑗subscript¯𝑎𝑘𝑙subscript𝑏𝑖𝑘#𝑐𝑜𝑛𝑑𝑢\#\{a_{ij},\overline{a}_{kl},b_{ik}\}>\#cond(u)# { italic_a start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT , over¯ start_ARG italic_a end_ARG start_POSTSUBSCRIPT italic_k italic_l end_POSTSUBSCRIPT , italic_b start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT } > # italic_c italic_o italic_n italic_d ( italic_u ). No slack variables are indeed necessary for N(u)4𝑁𝑢4N(u)\leq 4italic_N ( italic_u ) ≤ 4, while for N(u)=5𝑁𝑢5N(u)=5italic_N ( italic_u ) = 5 one or two may be needed. The X𝑋Xitalic_XvsY𝑌Yitalic_Y scenario occurs when on the target node there are X𝑋Xitalic_X arcs of one type (incoming/outgoing) and Y𝑌Yitalic_Y of the opposite type.

In case of N(u)=2,3,4𝑁𝑢234N(u)=2,3,4italic_N ( italic_u ) = 2 , 3 , 4 we need no slack variables to enforce CAP/FLOOR(u𝑢uitalic_u) in the QUBO form with our methods and moreover we have a closed form for the corresponding polynomials PuCF(𝐱)subscriptsuperscript𝑃𝐶𝐹𝑢𝐱P^{CF}_{u}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ). Moreover, since the linear systems (58) leave free many parameters of the IQP with no slack variables, we can insert back some sub-constraints violating IN/OUT(u𝑢uitalic_u) while still obtaining a solution in a closed form. In particular, for N(u)=2𝑁𝑢2N(u)=2italic_N ( italic_u ) = 2 we can add 2 conditions back, and therefore we do not need to assume IN/OUT(u𝑢uitalic_u) to be satisfied, for N(u)=3𝑁𝑢3N(u)=3italic_N ( italic_u ) = 3 we can add 3 conditions back and for N(u)=4𝑁𝑢4N(u)=4italic_N ( italic_u ) = 4 we can add 3 conditions back in the 1vs3 scenario and 1 in the 2vs2 scenario. Instead, for what concerns the N(u)=5𝑁𝑢5N(u)=5italic_N ( italic_u ) = 5 case, we could not find a closed form of PuCF(𝐱,𝐬)subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬P^{CF}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ). Therefore, in the numerical simulations presented below, the corresponding IQPs have been calculated node by node. In addition, while looking for these polynomials, we incentivised solutions with fewer slack variables and with sparser representative matrices.

In the following, we provide the quadratic forms PuCF(𝐱)subscriptsuperscript𝑃𝐶𝐹𝑢𝐱P^{CF}_{u}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) that are the solutions of the linear system (58) for N(u)=2,3,4𝑁𝑢234N(u)=2,3,4italic_N ( italic_u ) = 2 , 3 , 4. These penalties solely depend on the particular combinations 𝐱𝐱\mathbf{x}bold_x that satisfy IN/OUT(u𝑢uitalic_u) and violate CAP/FLOOR(u𝑢uitalic_u). Hence, given a node u𝑢uitalic_u, we simply have to check which are these combinations and make a simple substitution inside a parametrized polynomial, without the need to solve any linear system. We remember that for this constraint the standard method required N¯.CF(u)=log2(1+CAP(u)FL(u))\overline{N}\!{\color[rgb]{1,1,1}\definecolor[named]{pgfstrokecolor}{rgb}{% 1,1,1}\pgfsys@color@gray@stroke{1}\pgfsys@color@gray@fill{1}.}^{CF}(u)=\lceil% \log_{2}(1+CAP(u)-FL(u))\rceilover¯ start_ARG italic_N end_ARG . start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT ( italic_u ) = ⌈ roman_log start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( 1 + italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) ) ⌉ slack variables for each node. Consider that, if we consider realistic scenarios as those analysed in [30], CAP(u)FL(u)𝐶𝐴𝑃𝑢𝐹𝐿𝑢CAP(u)-FL(u)italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) can easily be greater than 106superscript10610^{6}10 start_POSTSUPERSCRIPT 6 end_POSTSUPERSCRIPT.

Nodes with 2 arcs: In this case CAP/FLOOR(u𝑢uitalic_u) and IN/OUT(u𝑢uitalic_u) can be enforced at the same time with a single polynomial. It is enough to find an IQP in two variables satisfying the following linear system:

{PuIO,CF(0,0)=0PuIO,CF(x1,x2)=1 for {x1,x2}={1,0},{0,1}PuIO,CF(1,1)=σ(1,1)casessubscriptsuperscript𝑃𝐼𝑂𝐶𝐹𝑢000missing-subexpressionmissing-subexpressionsubscriptsuperscript𝑃𝐼𝑂𝐶𝐹𝑢subscript𝑥1subscript𝑥21 for subscript𝑥1subscript𝑥21001subscriptsuperscript𝑃𝐼𝑂𝐶𝐹𝑢11𝜎11missing-subexpressionmissing-subexpression\left\{\begin{array}[]{ccc}P^{IO,CF}_{u}(0,0)=0\\ P^{IO,CF}_{u}(x_{1},x_{2})=-1&\mbox{ for }&\,\{x_{1},x_{2}\}=\{1,0\},\{0,1\}\\ P^{IO,CF}_{u}(1,1)=\sigma(1,1)\\ \end{array}\right.{ start_ARRAY start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_I italic_O , italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( 0 , 0 ) = 0 end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_I italic_O , italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) = - 1 end_CELL start_CELL for end_CELL start_CELL { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT } = { 1 , 0 } , { 0 , 1 } end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_I italic_O , italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( 1 , 1 ) = italic_σ ( 1 , 1 ) end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW end_ARRAY

where σ(1,1)=0𝜎110\sigma(1,1)=0italic_σ ( 1 , 1 ) = 0 if {x1,x2}={1,1}subscript𝑥1subscript𝑥211\{x_{1},x_{2}\}=\{1,1\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT } = { 1 , 1 } satisfies CAP/FLOOR(u𝑢uitalic_u) and σ(1,1)=1𝜎111\sigma(1,1)=-1italic_σ ( 1 , 1 ) = - 1 otherwise. Remember that {x1,x2}={0,0}subscript𝑥1subscript𝑥200\{x_{1},x_{2}\}=\{0,0\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT } = { 0 , 0 } always satisfies both CAP/FLOOR(u𝑢uitalic_u) and IN/OUT(u𝑢uitalic_u) while {x1,x2}={1,0}subscript𝑥1subscript𝑥210\{x_{1},x_{2}\}=\{1,0\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT } = { 1 , 0 } and {x1,x2}={0,1}subscript𝑥1subscript𝑥201\{x_{1},x_{2}\}=\{0,1\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT } = { 0 , 1 } always violate IN/OUT(u𝑢uitalic_u). If {x1,x2}={1,1}subscript𝑥1subscript𝑥211\{x_{1},x_{2}\}=\{1,1\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT } = { 1 , 1 } satisfies CAP/FLOOR(u𝑢uitalic_u), we obtain PuIO,CF(x1,x2)=x1x2+2x1x2subscriptsuperscript𝑃𝐼𝑂𝐶𝐹𝑢subscript𝑥1subscript𝑥2subscript𝑥1subscript𝑥22subscript𝑥1subscript𝑥2P^{IO,CF}_{u}(x_{1},x_{2})=-x_{1}-x_{2}+2x_{1}x_{2}italic_P start_POSTSUPERSCRIPT italic_I italic_O , italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) = - italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT. Instead, if {x1,x2}={1,1}subscript𝑥1subscript𝑥211\{x_{1},x_{2}\}=\{1,1\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT } = { 1 , 1 } violates CAP/FLOOR, we have PuIO,CF(x1,x2)=x1x2+x1x2subscriptsuperscript𝑃𝐼𝑂𝐶𝐹𝑢subscript𝑥1subscript𝑥2subscript𝑥1subscript𝑥2subscript𝑥1subscript𝑥2P^{IO,CF}_{u}(x_{1},x_{2})=-x_{1}-x_{2}+x_{1}x_{2}italic_P start_POSTSUPERSCRIPT italic_I italic_O , italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) = - italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT. Indeed, we can express the solution IQP as follows:

PuIO,CF(𝐱)=x1x2+(2+σ11)x1x2.subscriptsuperscript𝑃𝐼𝑂𝐶𝐹𝑢𝐱subscript𝑥1subscript𝑥22subscript𝜎11subscript𝑥1subscript𝑥2P^{IO,CF}_{u}(\mathbf{x})=-x_{1}-x_{2}+(2+\sigma_{11})x_{1}x_{2}\,.italic_P start_POSTSUPERSCRIPT italic_I italic_O , italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) = - italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + ( 2 + italic_σ start_POSTSUBSCRIPT 11 end_POSTSUBSCRIPT ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT . (60)

Nodes with 3 arcs: We consider the ordering introduced in Section VI.1 for which x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT is associated to the type of arc that appears only once in u𝑢uitalic_u, while x2,3subscript𝑥23x_{2,3}italic_x start_POSTSUBSCRIPT 2 , 3 end_POSTSUBSCRIPT correspond to the other type of arcs. Similarly to the N(u)=2𝑁𝑢2N(u)=2italic_N ( italic_u ) = 2 case, we express the linear system (58) as a function of the CAP/FLOOR(u𝑢uitalic_u) penalties/no-penalties σ(x1,x2,x3)𝜎subscript𝑥1subscript𝑥2subscript𝑥3\sigma(x_{1},x_{2},x_{3})italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) that have to be assigned to those combinations {x1,x2,x3}subscript𝑥1subscript𝑥2subscript𝑥3\{x_{1},x_{2},x_{3}\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT } satisfying IN/OUT(u𝑢uitalic_u). In particular, we consider the system:

{PuCF(0,0,0)=0PuCF(x1,x2,x3)=1 for {x1,x2,x3}={0,1,1},{0,0,1},{1,0,0}PuCF(x1,x2,x3)=σ(x1,x2,x3) for {x1,x2,x3}={1,1,0},{1,0,1},{1,1,1}casessubscriptsuperscript𝑃𝐶𝐹𝑢0000missing-subexpressionmissing-subexpressionsubscriptsuperscript𝑃𝐶𝐹𝑢subscript𝑥1subscript𝑥2subscript𝑥31 for subscript𝑥1subscript𝑥2subscript𝑥3011001100subscriptsuperscript𝑃𝐶𝐹𝑢subscript𝑥1subscript𝑥2subscript𝑥3𝜎subscript𝑥1subscript𝑥2subscript𝑥3 for subscript𝑥1subscript𝑥2subscript𝑥3110101111\left\{\begin{array}[]{ccc}P^{CF}_{u}(0,0,0)=0\\ P^{CF}_{u}(x_{1},x_{2},x_{3})=-1&\mbox{ for }&\{x_{1},x_{2},x_{3}\}=\{0,1,1\},% \{0,0,1\},\{1,0,0\}\\ P^{CF}_{u}(x_{1},x_{2},x_{3})=\sigma(x_{1},x_{2},x_{3})&\mbox{ for }&\{x_{1},x% _{2},x_{3}\}=\{1,1,0\},\{1,0,1\},\{1,1,1\}\end{array}\right.{ start_ARRAY start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( 0 , 0 , 0 ) = 0 end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = - 1 end_CELL start_CELL for end_CELL start_CELL { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT } = { 0 , 1 , 1 } , { 0 , 0 , 1 } , { 1 , 0 , 0 } end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) end_CELL start_CELL for end_CELL start_CELL { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT } = { 1 , 1 , 0 } , { 1 , 0 , 1 } , { 1 , 1 , 1 } end_CELL end_ROW end_ARRAY (61)

where σ(x1,x2,x3)=0𝜎subscript𝑥1subscript𝑥2subscript𝑥30\sigma(x_{1},x_{2},x_{3})=0italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = 0 if {x1,x2,x3}subscript𝑥1subscript𝑥2subscript𝑥3\{x_{1},x_{2},x_{3}\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT } satisfies CAP/FLOOR(u𝑢uitalic_u) and σ(x1,x2,x3)=1𝜎subscript𝑥1subscript𝑥2subscript𝑥31\sigma(x_{1},x_{2},x_{3})=-1italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = - 1 otherwise. Notice that, as anticipated, we added three extra sub-constraints in order to completely determine all the free parameters of PuCF(𝐱)subscriptsuperscript𝑃𝐶𝐹𝑢𝐱P^{CF}_{u}(\mathbf{x})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ). Indeed, we required penalties for {x1,x2,x3}={0,1,1},{0,0,1},{1,0,0}subscript𝑥1subscript𝑥2subscript𝑥3011001100\{x_{1},x_{2},x_{3}\}=\{0,1,1\},\{0,0,1\},\{1,0,0\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT } = { 0 , 1 , 1 } , { 0 , 0 , 1 } , { 1 , 0 , 0 }, which violate IN/OUT(u𝑢uitalic_u). The solution of such system is:

PuCF(𝐱)=subscriptsuperscript𝑃𝐶𝐹𝑢𝐱absent\displaystyle P^{CF}_{u}(\mathbf{x})=italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x ) = x1+(1+σ(1,0,1)+σ(1,1,0)+σ(1,1,1))x2x3+(σ(1,1,1)σ(1,0,1))x1x2+(2+σ(1,0,1))x1x3subscript𝑥11𝜎101𝜎110𝜎111subscript𝑥2subscript𝑥3𝜎111𝜎101subscript𝑥1subscript𝑥22𝜎101subscript𝑥1subscript𝑥3\displaystyle-x_{1}+(1+\sigma(1,0,1)+\sigma(1,1,0)+\sigma(1,1,1))x_{2}-x_{3}+(% \sigma(1,1,1)-\sigma(1,0,1))x_{1}x_{2}+(2+\sigma(1,0,1))x_{1}x_{3}- italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + ( 1 + italic_σ ( 1 , 0 , 1 ) + italic_σ ( 1 , 1 , 0 ) + italic_σ ( 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + ( italic_σ ( 1 , 1 , 1 ) - italic_σ ( 1 , 0 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + ( 2 + italic_σ ( 1 , 0 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT (62)
+(σ(1,1,1)σ(1,0,1)σ(1,1,0)1)x2x3.𝜎111𝜎101𝜎1101subscript𝑥2subscript𝑥3\displaystyle+(\sigma(1,1,1)-\sigma(1,0,1)-\sigma(1,1,0)-1)x_{2}x_{3}\,.+ ( italic_σ ( 1 , 1 , 1 ) - italic_σ ( 1 , 0 , 1 ) - italic_σ ( 1 , 1 , 0 ) - 1 ) italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT .

Nodes with 4 arcs: We consider the ordering introduced in Section VI.1 for which, in the 1vs3 scenario x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT is associated to the type of arc that appears only once in u𝑢uitalic_u, while x2,3,4subscript𝑥234x_{2,3,4}italic_x start_POSTSUBSCRIPT 2 , 3 , 4 end_POSTSUBSCRIPT correspond to the other type of arcs. Instead, for the 2vs2 scenario we consider x1,2subscript𝑥12x_{1,2}italic_x start_POSTSUBSCRIPT 1 , 2 end_POSTSUBSCRIPT associated to the incoming arcs, while x3,4subscript𝑥34x_{3,4}italic_x start_POSTSUBSCRIPT 3 , 4 end_POSTSUBSCRIPT are associated to the outgoing ones. Similarly to the N(u)=2𝑁𝑢2N(u)=2italic_N ( italic_u ) = 2 case, we express the linear system (58) as a function of the CAP/FLOOR(u𝑢uitalic_u) penalties/no-penalties σ(x1,x2,x3,x4)𝜎subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4\sigma(x_{1},x_{2},x_{3},x_{4})italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ) that have to be assigned to those combinations {x1,x2,x3,x4}subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4\{x_{1},x_{2},x_{3},x_{4}\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } satisfying IN/OUT(u𝑢uitalic_u). In particular, for the 1vs3 case we consider the system:

{PuCF(0,0,0,0)=0PuCF(x1,x2,x3,x4)=1 for {x1,x2,x3,x4}={0,1,1,0},{0,0,1,1},{0,1,1,1}PuCF(x1,x2,x3,x4)=σ(x1,x2,x3,x4) for {x1,x2,x3,x4}={1,1,0,0},{1,0,1,0},{1,1,1,0},{1,0,0,1},{1,1,0,1},{1,0,1,1},{1,1,1,1}casessubscriptsuperscript𝑃𝐶𝐹𝑢00000missing-subexpressionmissing-subexpressionsubscriptsuperscript𝑃𝐶𝐹𝑢subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥41 for subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4011000110111subscriptsuperscript𝑃𝐶𝐹𝑢subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4𝜎subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4 for subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥41100101011101001110110111111\left\{\begin{array}[]{ccc}P^{CF}_{u}(0,0,0,0)=0\\ P^{CF}_{u}(x_{1},x_{2},x_{3},x_{4})=-1&\mbox{ for }&\,\,\{x_{1},x_{2},x_{3},x_% {4}\}=\{0,1,1,0\},\{0,0,1,1\},\{0,1,1,1\}\\ P^{CF}_{u}(x_{1},x_{2},x_{3},x_{4})=\sigma(x_{1},x_{2},x_{3},x_{4})&\mbox{ for% }&\begin{array}[]{c}\{x_{1},x_{2},x_{3},x_{4}\}=\{1,1,0,0\},\{1,0,1,0\},\{1,1% ,1,0\},\\ \{1,0,0,1\},\{1,1,0,1\},\{1,0,1,1\},\{1,1,1,1\}\end{array}\end{array}\right.{ start_ARRAY start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( 0 , 0 , 0 , 0 ) = 0 end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ) = - 1 end_CELL start_CELL for end_CELL start_CELL { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } = { 0 , 1 , 1 , 0 } , { 0 , 0 , 1 , 1 } , { 0 , 1 , 1 , 1 } end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ) = italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ) end_CELL start_CELL for end_CELL start_CELL start_ARRAY start_ROW start_CELL { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } = { 1 , 1 , 0 , 0 } , { 1 , 0 , 1 , 0 } , { 1 , 1 , 1 , 0 } , end_CELL end_ROW start_ROW start_CELL { 1 , 0 , 0 , 1 } , { 1 , 1 , 0 , 1 } , { 1 , 0 , 1 , 1 } , { 1 , 1 , 1 , 1 } end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY (63)

where σ(x1,x2,x3,x4)=0𝜎subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥40\sigma(x_{1},x_{2},x_{3},x_{4})=0italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ) = 0 if {x1,x2,x3,x4}subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4\{x_{1},x_{2},x_{3},x_{4}\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } satisfies CAP/FLOOR(u𝑢uitalic_u) and σ(x1,x2,x3,x4)=1𝜎subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥41\sigma(x_{1},x_{2},x_{3},x_{4})=-1italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ) = - 1 otherwise. Notice that we added three extra penalty sub-constraints for {x1,x2,x3,x4}={0,1,1,0},{0,0,1,1},{0,1,1,1}subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4011000110111\{x_{1},x_{2},x_{3},x_{4}\}=\{0,1,1,0\},\{0,0,1,1\},\{0,1,1,1\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } = { 0 , 1 , 1 , 0 } , { 0 , 0 , 1 , 1 } , { 0 , 1 , 1 , 1 }, which violate IN/OUT(u𝑢uitalic_u). The solution of such system is given in Appendix B.

Instead, for the 2vs2 case we consider the system:

{PuCF(0,0,0,0)=0PuCF(0,0,1,1)=1PuCF(x1,x2,x3,x4)=σ(x1,x2,x3,x4) for {x1,x2,x3,x4}={1,0,1,0},{0,1,1,0},{1,1,1,0},{1,0,0,1},{0,1,0,1},{1,1,0,1},{1,0,1,1},{0,1,1,1},{1,1,1,1}casessubscriptsuperscript𝑃𝐶𝐹𝑢00000missing-subexpressionmissing-subexpressionsubscriptsuperscript𝑃𝐶𝐹𝑢00111missing-subexpressionmissing-subexpressionsubscriptsuperscript𝑃𝐶𝐹𝑢subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4𝜎subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4 for subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4101001101110100101011101101101111111\left\{\begin{array}[]{ccc}P^{CF}_{u}(0,0,0,0)=0\\ P^{CF}_{u}(0,0,1,1)=-1\\ P^{CF}_{u}(x_{1},x_{2},x_{3},x_{4})=\sigma(x_{1},x_{2},x_{3},x_{4})&\mbox{ for% }&\begin{array}[]{c}\{x_{1},x_{2},x_{3},x_{4}\}=\{1,0,1,0\},\{0,1,1,0\},\{1,1% ,1,0\},\{1,0,0,1\},\\ \{0,1,0,1\},\{1,1,0,1\},\{1,0,1,1\},\{0,1,1,1\},\{1,1,1,1\}\end{array}\end{% array}\right.{ start_ARRAY start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( 0 , 0 , 0 , 0 ) = 0 end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( 0 , 0 , 1 , 1 ) = - 1 end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ) = italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ) end_CELL start_CELL for end_CELL start_CELL start_ARRAY start_ROW start_CELL { italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } = { 1 , 0 , 1 , 0 } , { 0 , 1 , 1 , 0 } , { 1 , 1 , 1 , 0 } , { 1 , 0 , 0 , 1 } , end_CELL end_ROW start_ROW start_CELL { 0 , 1 , 0 , 1 } , { 1 , 1 , 0 , 1 } , { 1 , 0 , 1 , 1 } , { 0 , 1 , 1 , 1 } , { 1 , 1 , 1 , 1 } end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY (64)

where σ(x1,x2,x3,x4)𝜎subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥4\sigma(x_{1},x_{2},x_{3},x_{4})italic_σ ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ) is defined analogously. Notice that we added the extra penalty sub-constraint for {x1,x2,x3,x4}={0,0,1,1}subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥40011\{x_{1},x_{2},x_{3},x_{4}\}=\{0,0,1,1\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } = { 0 , 0 , 1 , 1 }, which violates IN/OUT(u𝑢uitalic_u). The solution of such system is given in Appendix B.

Nodes with 5 arcs: We randomly generated multigraphs and, by using the IQP method for satellite constraints, we never needed more than 1 slack variable to enforce CAP/FLOOR(u𝑢uitalic_u) in the 1vs4 scenario and 2 slack variables for the 2vs3 scenario. Moreover, we often encountered instances where even less slack variables were needed, namely 0 slack variables in the 1vs4 scenario and 0 or 1 slack variables in the 2vs3 scenario. Differently from the N(u)=2,3,4𝑁𝑢234N(u)=2,3,4italic_N ( italic_u ) = 2 , 3 , 4 cases, we could not achieve a closed form for PuCF(𝐱,𝐬)subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬P^{CF}_{u}(\mathbf{x},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) parametrized by some quantities analogous to the σ(𝐱)𝜎𝐱\sigma(\mathbf{x})italic_σ ( bold_x ) considered above. Hence, node by node, we had to solve the linear system (58).

VI.3 Tuning of MPBS penalty multipliers

We showed how to implement CAP/FLOOR(u𝑢uitalic_u) and IN/OUT(u𝑢uitalic_u) conditions with a reduced number of slack variables, if compared to the standard method, for nodes u𝒱𝑢𝒱u\in\mathcal{V}italic_u ∈ caligraphic_V with N(u)5𝑁𝑢5N(u)\leq 5italic_N ( italic_u ) ≤ 5 arcs. In this section we show how to set the multipliers λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT and λuIOsubscriptsuperscript𝜆𝐼𝑂𝑢\lambda^{IO}_{u}italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT in order to be sure that the combinations 𝐱𝐱\mathbf{x}bold_x that solve the maximization in the QUBO encoding the MPBS problem satisfy CAP/FLOOR(u𝑢uitalic_u) and IN/OUT(u𝑢uitalic_u). In other terms, we want Q(𝒢,𝐱,𝐬)𝑄𝒢𝐱𝐬Q(\mathcal{G},\mathbf{x},\mathbf{s})italic_Q ( caligraphic_G , bold_x , bold_s ) to faithfully represent MPBS, and therefore to satisfy Eq. (41). In the following, we use the corresponding single-node contribution:

Qu(𝒢,𝐱,𝐬)=(i(u)wixi)+λu(λuIOPuIO(𝐱,𝐬)+PuCF(𝐱,𝐬)).subscript𝑄𝑢𝒢𝐱𝐬subscript𝑖𝑢subscript𝑤𝑖subscript𝑥𝑖subscript𝜆𝑢subscriptsuperscript𝜆𝐼𝑂𝑢subscriptsuperscript𝑃𝐼𝑂𝑢𝐱𝐬subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬Q_{u}(\mathcal{G},\mathbf{x},\mathbf{s})=\left(\sum_{i\in\mathcal{E}(u)}w_{i}x% _{i}\right)+\lambda_{u}\left(\lambda^{IO}_{u}P^{IO}_{u}(\mathbf{x},\mathbf{s})% +P^{CF}_{u}(\mathbf{x},\mathbf{s})\right)\,.italic_Q start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( caligraphic_G , bold_x , bold_s ) = ( ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) + italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) + italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) ) . (65)

First, we show how to set λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT and then we proceed with λuIOsubscriptsuperscript𝜆𝐼𝑂𝑢\lambda^{IO}_{u}italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT. From now on, we assume that our QUBO formulation of MPBS is made with the IQPMS methods.

The tuning of these multipliers has to take into account the possibility of particularly unfortunate scenarios that may occur. Hence, λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT and λuIOsubscriptsuperscript𝜆𝐼𝑂𝑢\lambda^{IO}_{u}italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT have to be set large enough so that also these scenarios get the right penalty factors that allow to obtain the correct optimal result 𝐱superscript𝐱\mathbf{x}^{*}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT (see Eq. (39)). We explained a possible approach to this problem in Section III.3, where we did not assume any particular structure for the target locally-constrained problem. By studying a particular problem, such as MPBS, it may occur that its particular features allow to set smaller multipliers. While in the following we limit to apply the formulas obtained in Section III.3, in Appendix C we prove that the worst-case requirements that could be find within instances of MPBS require these same multiplier bounds.

First of all, we can set the IN/OUT(u𝑢uitalic_u) relative multiplier λuIOsubscriptsuperscript𝜆𝐼𝑂𝑢\lambda^{IO}_{u}italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT by using Eq. (26). The role of the satellite master and satellite constraints are now played by IN/OUT and CAP/FLOOR, respectively. Therefore, we obtain:

λuIO=1+γmax{0,max𝐱,𝐬PuCF(𝐱,𝐬)}subscriptsuperscript𝜆𝐼𝑂𝑢1𝛾0subscript𝐱𝐬subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬\lambda^{IO}_{u}=1+\gamma\max\left\{0,\max_{\mathbf{x},\mathbf{s}}P^{CF}_{u}(% \mathbf{x},\mathbf{s})\right\}\,italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT = 1 + italic_γ roman_max { 0 , roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) } (66)

where γ>1𝛾1\gamma>1italic_γ > 1. For what concerns λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT, the local, neighbour and global tunings described in Section III.3 leads, respectively, to:

λulocal=superscriptsubscript𝜆𝑢𝑙𝑜𝑐𝑎𝑙absent\displaystyle\lambda_{u}^{local}=italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l italic_o italic_c italic_a italic_l end_POSTSUPERSCRIPT = γi(u)wi=λw(u),𝛾subscript𝑖𝑢subscript𝑤𝑖𝜆𝑤𝑢\displaystyle\gamma\,\sum_{i\in\mathcal{E}(u)}w_{i}=\lambda w(u)\,,italic_γ ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_λ italic_w ( italic_u ) , (67)
λuniegh=superscriptsubscript𝜆𝑢𝑛𝑖𝑒𝑔absent\displaystyle\lambda_{u}^{niegh}=italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n italic_i italic_e italic_g italic_h end_POSTSUPERSCRIPT = γvneigh(u)i(v)wi,𝛾subscript𝑣neigh𝑢subscript𝑖𝑣subscript𝑤𝑖\displaystyle\gamma\,\sum_{v\in\mbox{\scriptsize neigh}(u)}\sum_{i\in\mathcal{% E}(v)}w_{i}\,,italic_γ ∑ start_POSTSUBSCRIPT italic_v ∈ neigh ( italic_u ) end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_v ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , (68)
λuglobal=superscriptsubscript𝜆𝑢𝑔𝑙𝑜𝑏𝑎𝑙absent\displaystyle\lambda_{u}^{global}=italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_l italic_o italic_b italic_a italic_l end_POSTSUPERSCRIPT = γiwi,𝛾subscript𝑖subscript𝑤𝑖\displaystyle\gamma\,\sum_{i\in\mathcal{E}}w_{i}\,,italic_γ ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , (69)

where γ>1𝛾1\gamma>1italic_γ > 1 and neigh(u𝑢uitalic_u) is the set of nodes sharing at least one arc with u𝑢uitalic_u. We defined the total amount of the transactions associated to u𝑢uitalic_u as w(u)=i(u)wi𝑤𝑢subscript𝑖𝑢subscript𝑤𝑖w(u)=\sum_{i\in\mathcal{E}(u)}w_{i}italic_w ( italic_u ) = ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. Instead, λuneighsuperscriptsubscript𝜆𝑢𝑛𝑒𝑖𝑔\lambda_{u}^{neigh}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n italic_e italic_i italic_g italic_h end_POSTSUPERSCRIPT is proportional to the sum of the transactions in u𝑢uitalic_u and its neighbouring nodes. Finally, λuglobalsubscriptsuperscript𝜆𝑔𝑙𝑜𝑏𝑎𝑙𝑢\lambda^{global}_{u}italic_λ start_POSTSUPERSCRIPT italic_g italic_l italic_o italic_b italic_a italic_l end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT is node-independent and is proportional to the total amount of transactions in the graph.

Concerning the possibility to consider a global tuning of λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT, this choice surely imposes CAP/FLOOR(u𝑢uitalic_u) and IN/OUT(u𝑢uitalic_u) for all the nodes u𝑢uitalic_u of the R-multigraph and therefore, if we modify Q(𝒢,𝐱,𝐬)𝑄𝒢𝐱𝐬Q(\mathcal{G},\mathbf{x},\mathbf{s})italic_Q ( caligraphic_G , bold_x , bold_s ) accordingly to these new multipliers, we get {𝐱,𝐬}=arg(max𝐱,𝐬Q(𝒢,𝐱,𝐬))superscript𝐱superscript𝐬subscript𝐱𝐬𝑄𝒢𝐱𝐬\{\mathbf{x}^{*},\mathbf{s}^{*}\}=\arg(\max_{\mathbf{x},\mathbf{s}}Q(\mathcal{% G},\mathbf{x},\mathbf{s})){ bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , bold_s start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } = roman_arg ( roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_Q ( caligraphic_G , bold_x , bold_s ) ). Indeed, as soon as one node violates either CAP/FLOOR(u𝑢uitalic_u) or IN/OUT(u𝑢uitalic_u), a penalty greater (in modulo) than the value of all the transactions is applied and therefore we are ensured that CAP/FLOOR(u𝑢uitalic_u) or IN/OUT(u𝑢uitalic_u) are satisfied for all the graph nodes.

Nonetheless, this approach generates very large penalties which may compromise the quality of the solution due to the evident unbalance between the weight of the incentives and the penalties for each 𝐱𝐱\mathbf{x}bold_x. Indeed, large unbalances between the terms of a QUBO may be problematic when using quantum annealers, e.g., D-wave. For these reasons, we believe that Eqs. (67) and (68) are the best pick to start studying the MPBS problem within this QUBO framework.

VII MPBS simulations on D-wave quantum annealers

We tested how the standard approach to translate constraints in a quadratic form compares to the IQPMS methods when they are adopted to solve instances of MPBS with D-wave quantum annealers, which are mainly designed to solve QUBO problems. We generated several random R-multigraphs 𝒢𝒢\mathcal{G}caligraphic_G with different numbers of arcs and nodes. Each 𝒢𝒢\mathcal{G}caligraphic_G identified a different MPBS problem, which we solved exactly by exhaustion, namely by checking all the possible combinations of 𝐱𝐱\mathbf{x}bold_x in Eq. (2). Hence, we used the standard and the IQPMS methods to realize a QUBO formulation of each MPBS problem and solved them with two different D-wave quantum annealers, Advantage_system4.1 (Adv1) and the prototype Advantage2_prototype1.1 (Adv2), respectively with 5627 and 563 operating qubits. The corresponding connectivities, namely the maximum number of qubits interacting with each qubit, are equal to 15 for Adv1 (Pegasus topology) and 20 for Adv2 (Zephyr topology) [31]. Finally, we compared the rates of success for which these annealers were able to find the corresponding optimal solutions together with the analysis of other performance figure of merits. Since all the instances have been solved on both quantum annealers, our results allow to compare their performances. For another comparative study of D-wave annealers, see, e.g., Ref. [53].

We follow by describing the features of the R-multigraphs generated. We considered 5 different arc-settings, each one with a different number of arcs, which were N=10,12,14,16,18𝑁1012141618N=10,12,14,16,18italic_N = 10 , 12 , 14 , 16 , 18. We made this choice because, how we see later, within this range we can appreciate how the standard method goes from being satisfactory to almost useless. For each setting, we generated 4 instances of R-multigraphs with different numbers of nodes, for a total of 20 instances. Hence, fixed a setting, or number of arcs, the different instances had different arcs/nodes ratios, ranging from 1.5 to 2.2. Hence, the average number of arcs incident to each node was N(u)[3,4.4]delimited-⟨⟩𝑁𝑢34.4\langle N(u)\rangle\in[3,4.4]⟨ italic_N ( italic_u ) ⟩ ∈ [ 3 , 4.4 ]. In order to generate an R-multigraph with a given number of arcs and nodes, we first randomly distributed the minimal amount of arcs that allowed each node to have at least one incoming and one outgoing arc. The remaining arcs were then distributed randomly until the desired number of arcs was achieved, where we prevented this procedure to generate nodes with N(u)6𝑁𝑢6N(u)\geq 6italic_N ( italic_u ) ≥ 6. We assigned integer values wisubscript𝑤𝑖w_{i}italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT to arcs which were randomly sampled from the interval [1,18]118[1,18][ 1 , 18 ]. Finally, we chose FL(u)=7𝐹𝐿𝑢7FL(u)=-7italic_F italic_L ( italic_u ) = - 7 and CAP(u)=8𝐶𝐴𝑃𝑢8CAP(u)=8italic_C italic_A italic_P ( italic_u ) = 8 for all the generated instances.

ArcsInstance𝐱 satisfyingMPBS constraintsQUBO variables (standard)QUBO variables (IQPMS)N=10|𝒱|=6|𝒱|=6|𝒱|=5|𝒱|=518(1.758%)16(1.563%)7(0.684%)9(0.879%)5050505014151715N=12|𝒱|=8|𝒱|=7|𝒱|=7|𝒱|=67(0.171%)35(0.854%)5(0.122%)17(0.415%)6060606015161618N=14|𝒱|=9|𝒱|=8|𝒱|=8|𝒱|=726(0.159%)8(0.049%)7(0.043%)41(0.250%)7070706818202221N=16|𝒱|=10|𝒱|=9|𝒱|=9|𝒱|=831(0.047%)32(0.049%)16(0.024%)38(0.060%)8078808020232327N=18|𝒱|=12|𝒱|=11|𝒱|=10|𝒱|=932(0.012%)28(0.011%)8(0.003%)14(0.005%)8690909021242628ArcsInstance𝐱 satisfyingMPBS constraintsQUBO variables (standard)QUBO variables (IQPMS)missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression𝑁10𝒱6𝒱6𝒱5𝒱518percent1.75816percent1.5637percent0.6849percent0.8795050505014151715𝑁12𝒱8𝒱7𝒱7𝒱67percent0.17135percent0.8545percent0.12217percent0.4156060606015161618𝑁14𝒱9𝒱8𝒱8𝒱726percent0.1598percent0.0497percent0.04341percent0.2507070706818202221𝑁16𝒱10𝒱9𝒱9𝒱831percent0.04732percent0.04916percent0.02438percent0.0608078808020232327𝑁18𝒱12𝒱11𝒱10𝒱932percent0.01228percent0.0118percent0.00314percent0.0058690909021242628\begin{array}[]{>{\centering\arraybackslash$} p{1.5cm} <{$}>{\centering% \arraybackslash$} p{2.2cm} <{$}>{\centering\arraybackslash$} p{2.55cm} <{$}>{% \centering\arraybackslash$} p{2.55cm} <{$}>{\centering\arraybackslash$} p{2.55% cm} <{$}}\mbox{Arcs}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.5cm} <{$}}\mbox{Instance}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} <{$}}% \begin{array}[]{c}\mathbf{x}\mbox{ satisfying}\\ \mbox{{MPBS}\@ constraints}\end{array}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} <{$}}% \begin{array}[]{c}\mbox{QUBO variables}\\ \mbox{\,\, (standard)}\end{array}$\@add@centering\end{array}$\@add@centering&% \begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} <{$}}\begin{array}[]{c}% \mbox{QUBO variables}\\ \mbox{\,\, (IQPMS)}\end{array}$\@add@centering\end{array}$\@add@centering\cr$% \@add@centering\\ N=10$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.5cm} <{% $}}\pagecolor{blue!17}\,\,\,|\mathcal{V}|=6$\@add@centering\cr\pagecolor{blue!% 22}|\mathcal{V}|=6$\@add@centering\cr\pagecolor{blue!17}|\mathcal{V}|=5$% \@add@centering\cr\pagecolor{blue!22}|\mathcal{V}|=5$\@add@centering\end{array% }$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} <{$}}% \pagecolor{blue!17}18\,\,\,(1.758\%)$\@add@centering\cr\pagecolor{blue!22}16\,% \,\,(1.563\%)$\@add@centering\cr\pagecolor{blue!17}7\,\,\,(0.684\%)$% \@add@centering\cr\pagecolor{blue!22}9\,\,\,(0.879\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} % <{$} }\pagecolor{blue!17}50$\@add@centering\cr\pagecolor{blue!22}50$% \@add@centering\cr\pagecolor{blue!17}50$\@add@centering\cr\pagecolor{blue!22}5% 0$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.8cm} <{$}}\pagecolor{blue!17}14$\@add@centering\cr% \pagecolor{blue!22}15$\@add@centering\cr\pagecolor{blue!17}17$\@add@centering% \cr\pagecolor{blue!22}15$\@add@centering\end{array}$\@add@centering\cr N=12$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.5cm} <{$}}% \pagecolor{red!17}|\mathcal{V}|=8$\@add@centering\cr\pagecolor{red!22}|% \mathcal{V}|=7$\@add@centering\cr\pagecolor{red!17}|\mathcal{V}|=7$% \@add@centering\cr\pagecolor{red!22}|\mathcal{V}|=6$\@add@centering\end{array}% $\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} <{$}}% \pagecolor{red!17}7\,\,\,(0.171\%)$\@add@centering\cr\pagecolor{red!22}35\,\,% \,(0.854\%)$\@add@centering\cr\pagecolor{red!17}5\,\,\,(0.122\%)$% \@add@centering\cr\pagecolor{red!22}17\,\,\,(0.415\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} % <{$}}\pagecolor{red!17}60$\@add@centering\cr\pagecolor{red!22}60$% \@add@centering\cr\pagecolor{red!17}60$\@add@centering\cr\pagecolor{red!22}60$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.8cm} <{$}}\pagecolor{red!17}15$\@add@centering\cr% \pagecolor{red!22}16$\@add@centering\cr\pagecolor{red!17}16$\@add@centering\cr% \pagecolor{red!22}18$\@add@centering\end{array}$\@add@centering\cr N=14$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.5cm} <{$}}% \pagecolor{blue!17}|\mathcal{V}|=9$\@add@centering\cr\pagecolor{blue!22}|% \mathcal{V}|=8$\@add@centering\cr\pagecolor{blue!17}|\mathcal{V}|=8$% \@add@centering\cr\pagecolor{blue!22}|\mathcal{V}|=7$\@add@centering\end{array% }$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} <{$}}% \pagecolor{blue!17}26\,\,\,(0.159\%)$\@add@centering\cr\pagecolor{blue!22}8\,% \,\,(0.049\%)$\@add@centering\cr\pagecolor{blue!17}7\,\,\,(0.043\%)$% \@add@centering\cr\pagecolor{blue!22}41\,\,\,(0.250\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} % <{$}}\pagecolor{blue!17}70$\@add@centering\cr\pagecolor{blue!22}70$% \@add@centering\cr\pagecolor{blue!17}70$\@add@centering\cr\pagecolor{blue!22}6% 8$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.8cm} <{$}}\pagecolor{blue!17}18$\@add@centering\cr% \pagecolor{blue!22}20$\@add@centering\cr\pagecolor{blue!17}22$\@add@centering% \cr\pagecolor{blue!22}21$\@add@centering\end{array}$\@add@centering\cr N=16$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.5cm} <{$}}% \pagecolor{red!17}|\mathcal{V}|=10$\@add@centering\cr\pagecolor{red!22}|% \mathcal{V}|=9$\@add@centering\cr\pagecolor{red!17}|\mathcal{V}|=9$% \@add@centering\cr\pagecolor{red!22}|\mathcal{V}|=8$\@add@centering\end{array}% $\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} <{$}}% \pagecolor{red!17}31\,\,\,(0.047\%)$\@add@centering\cr\pagecolor{red!22}32\,\,% \,(0.049\%)$\@add@centering\cr\pagecolor{red!17}16\,\,\,(0.024\%)$% \@add@centering\cr\pagecolor{red!22}38\,\,\,(0.060\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} % <{$}}\pagecolor{red!17}80$\@add@centering\cr\pagecolor{red!22}78$% \@add@centering\cr\pagecolor{red!17}80$\@add@centering\cr\pagecolor{red!22}80$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.8cm} <{$}}\pagecolor{red!17}20$\@add@centering\cr% \pagecolor{red!22}23$\@add@centering\cr\pagecolor{red!17}23$\@add@centering\cr% \pagecolor{red!22}27$\@add@centering\end{array}$\@add@centering\cr N=18$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.5cm} <{$}}% \pagecolor{blue!17}|\mathcal{V}|=12$\@add@centering\cr\pagecolor{blue!22}|% \mathcal{V}|=11$\@add@centering\cr\pagecolor{blue!17}|\mathcal{V}|=10$% \@add@centering\cr\pagecolor{blue!22}|\mathcal{V}|=9$\@add@centering\end{array% }$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} <{$}}% \pagecolor{blue!17}32\,\,\,(0.012\%)$\@add@centering\cr\pagecolor{blue!22}28\,% \,\,(0.011\%)$\@add@centering\cr\pagecolor{blue!17}8\,\,\,(0.003\%)$% \@add@centering\cr\pagecolor{blue!22}14\,\,\,(0.005\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.8cm} % <{$}}\pagecolor{blue!17}86$\@add@centering\cr\pagecolor{blue!22}90$% \@add@centering\cr\pagecolor{blue!17}90$\@add@centering\cr\pagecolor{blue!22}9% 0$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.8cm} <{$}}\pagecolor{blue!17}21$\@add@centering\cr% \pagecolor{blue!22}24$\@add@centering\cr\pagecolor{blue!17}26$\@add@centering% \cr\pagecolor{blue!22}28$\@add@centering\end{array}$\@add@centering\cr\end{array}start_ARRAY start_ROW start_CELL Arcs end_CELL start_CELL start_ARRAY start_ROW start_CELL Instance end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL start_ARRAY start_ROW start_CELL bold_x satisfying end_CELL end_ROW start_ROW start_CELL smallcaps_MPBS constraints end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL start_ARRAY start_ROW start_CELL QUBO variables end_CELL end_ROW start_ROW start_CELL (standard) end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL start_ARRAY start_ROW start_CELL QUBO variables end_CELL end_ROW start_ROW start_CELL (IQPMS) end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N = 10 end_CELL start_CELL start_ARRAY start_ROW start_CELL | caligraphic_V | = 6 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 6 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 5 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 5 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 18 ( 1.758 % ) end_CELL end_ROW start_ROW start_CELL 16 ( 1.563 % ) end_CELL end_ROW start_ROW start_CELL 7 ( 0.684 % ) end_CELL end_ROW start_ROW start_CELL 9 ( 0.879 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 50 end_CELL end_ROW start_ROW start_CELL 50 end_CELL end_ROW start_ROW start_CELL 50 end_CELL end_ROW start_ROW start_CELL 50 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 14 end_CELL end_ROW start_ROW start_CELL 15 end_CELL end_ROW start_ROW start_CELL 17 end_CELL end_ROW start_ROW start_CELL 15 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 12 end_CELL start_CELL start_ARRAY start_ROW start_CELL | caligraphic_V | = 8 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 7 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 7 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 6 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 7 ( 0.171 % ) end_CELL end_ROW start_ROW start_CELL 35 ( 0.854 % ) end_CELL end_ROW start_ROW start_CELL 5 ( 0.122 % ) end_CELL end_ROW start_ROW start_CELL 17 ( 0.415 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 60 end_CELL end_ROW start_ROW start_CELL 60 end_CELL end_ROW start_ROW start_CELL 60 end_CELL end_ROW start_ROW start_CELL 60 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 15 end_CELL end_ROW start_ROW start_CELL 16 end_CELL end_ROW start_ROW start_CELL 16 end_CELL end_ROW start_ROW start_CELL 18 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 14 end_CELL start_CELL start_ARRAY start_ROW start_CELL | caligraphic_V | = 9 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 8 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 8 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 7 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 26 ( 0.159 % ) end_CELL end_ROW start_ROW start_CELL 8 ( 0.049 % ) end_CELL end_ROW start_ROW start_CELL 7 ( 0.043 % ) end_CELL end_ROW start_ROW start_CELL 41 ( 0.250 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 70 end_CELL end_ROW start_ROW start_CELL 70 end_CELL end_ROW start_ROW start_CELL 70 end_CELL end_ROW start_ROW start_CELL 68 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 18 end_CELL end_ROW start_ROW start_CELL 20 end_CELL end_ROW start_ROW start_CELL 22 end_CELL end_ROW start_ROW start_CELL 21 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 16 end_CELL start_CELL start_ARRAY start_ROW start_CELL | caligraphic_V | = 10 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 9 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 9 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 8 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 31 ( 0.047 % ) end_CELL end_ROW start_ROW start_CELL 32 ( 0.049 % ) end_CELL end_ROW start_ROW start_CELL 16 ( 0.024 % ) end_CELL end_ROW start_ROW start_CELL 38 ( 0.060 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 80 end_CELL end_ROW start_ROW start_CELL 78 end_CELL end_ROW start_ROW start_CELL 80 end_CELL end_ROW start_ROW start_CELL 80 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 20 end_CELL end_ROW start_ROW start_CELL 23 end_CELL end_ROW start_ROW start_CELL 23 end_CELL end_ROW start_ROW start_CELL 27 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 18 end_CELL start_CELL start_ARRAY start_ROW start_CELL | caligraphic_V | = 12 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 11 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 10 end_CELL end_ROW start_ROW start_CELL | caligraphic_V | = 9 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 32 ( 0.012 % ) end_CELL end_ROW start_ROW start_CELL 28 ( 0.011 % ) end_CELL end_ROW start_ROW start_CELL 8 ( 0.003 % ) end_CELL end_ROW start_ROW start_CELL 14 ( 0.005 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 86 end_CELL end_ROW start_ROW start_CELL 90 end_CELL end_ROW start_ROW start_CELL 90 end_CELL end_ROW start_ROW start_CELL 90 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 21 end_CELL end_ROW start_ROW start_CELL 24 end_CELL end_ROW start_ROW start_CELL 26 end_CELL end_ROW start_ROW start_CELL 28 end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY
Table 4: Main features of the generated MPBS instances, labelled by the corresponding number of arcs N𝑁Nitalic_N and nodes |𝒱|𝒱|\mathcal{V}|| caligraphic_V |. For each instance, we provide the number of combinations 𝐱𝐱\mathbf{x}bold_x that satisfy the MPBS constraints and the corresponding percentage with respect the total number of possible combinations, namely 2Nsuperscript2𝑁2^{N}2 start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT. Finally, we report the number of variables N+N¯𝑁¯𝑁N+\overline{N}italic_N + over¯ start_ARG italic_N end_ARG (logical and slack) that were needed to obtain a QUBO representation with the standard and the IQPMS methods. Hence, the total number of slack variables employed by the standard and the IQPMS methods is obtained by subtracting from the corresponding QUBO variables column the number of arcs N𝑁Nitalic_N of the corresponding instance. By considering all the generated instances, IQPMS needed from 82.5% (first instance with N=10𝑁10N=10italic_N = 10 and |𝒱|=5𝒱5|\mathcal{V}|=5| caligraphic_V | = 5) to 95.6% (N=18𝑁18N=18italic_N = 18 and |V|=12𝑉12|V|=12| italic_V | = 12) less slack variables than the standard method.

After the generation of these MPBS problems, we exactly solved them by exhaustion. Hence, for each instance we collected the corresponding optimal combination 𝐱superscript𝐱\mathbf{x}^{*}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT and the optimal value W=iwixisuperscript𝑊subscript𝑖subscript𝑤𝑖subscriptsuperscript𝑥𝑖W^{*}=\sum_{i}w_{i}x^{*}_{i}italic_W start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT (see Section V.1). Moreover, in order to estimate how restrictive the constraints of this problem are and what is the probability to randomly sample a combination of 𝐱𝐱\mathbf{x}bold_x that simply satisfies our constraints, we explicitly count how many combinations satisfy IN/OUT(u𝑢uitalic_u) and CAP/FLOOR(u𝑢uitalic_u) for all u𝑢uitalic_u. While the possible combinations grow exponentially with N𝑁Nitalic_N, the amount of 𝐱𝐱\mathbf{x}bold_x that do not lead to a constraint violation did not grow appreciably. After this analysis, we generated the QUBO representations of all the problems both with the standard and the IQPMS methods. Finally, the tuning of the penalty multipliers was executed as described in the previous sections, where we adopted the local approach and we chose γ=2𝛾2\gamma=2italic_γ = 2. The main features of the instances generated together with the corresponding amount of combinations 𝐱𝐱\mathbf{x}bold_x satisfying the constraints and the number of variables needed to generate the described QUBO representations can be found in Table 4. Moreover, in Figure 4(left) we show how the average number of QUBO variables needed changes when we increase the number of arcs in the instances considered. We show that the standard method needs approximately 4.88 variables per arc added to the graph, while the IQPMS methods need only 1.30 variables.

ArcsAnnealerqubits(standard)qubits/variable (standard)max. chain length(standard)qubits(IQPMS)qubits/variable (IQPMS)max. chain length(IQPMS)N=10Adv1Adv2101.7594.382.041.895.884.6323.0020.501.511.342.252N=12Adv1Adv2112.13106.631.871.785.384.6321.7520.501.341.262.132N=14Adv1Adv2148.63134.632.141.946.386.2528.5026.881.411.332.382N=16Adv1Adv2165.00152.862.081.926.755.1333.5031.51.441.352.382.13N=18Adv1Adv2183.75174.382.061.966.635.8837.3834.631.511.342.632.13ArcsAnnealerdelimited-⟨⟩qubits(standard)delimited-⟨⟩qubits/variable (standard)delimited-⟨⟩max. chain length(standard)delimited-⟨⟩qubits(IQPMS)delimited-⟨⟩qubits/variable (IQPMS)delimited-⟨⟩max. chain length(IQPMS)missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression𝑁10Adv1Adv2101.7594.382.041.895.884.6323.0020.501.511.342.252𝑁12Adv1Adv2112.13106.631.871.785.384.6321.7520.501.341.262.132𝑁14Adv1Adv2148.63134.632.141.946.386.2528.5026.881.411.332.382𝑁16Adv1Adv2165.00152.862.081.926.755.1333.5031.51.441.352.382.13𝑁18Adv1Adv2183.75174.382.061.966.635.8837.3834.631.511.342.632.13\begin{array}[]{>{\centering\arraybackslash$} p{1cm} <{$}>{\centering% \arraybackslash$} p{1.6cm} <{$}>{\centering\arraybackslash$} p{1.6cm} <{$}>{% \centering\arraybackslash$} p{2.5cm} <{$}>{\centering\arraybackslash$} p{2.5cm% } <{$}>{\centering\arraybackslash$} p{1.6cm} <{$}>{\centering\arraybackslash$}% p{2.5cm} <{$}>{\centering\arraybackslash$} p{2.5cm} <{$}}\mbox{Arcs}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}% \mbox{Annealer}$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{% \centering\arraybackslash$} p{2cm} <{$}}\langle\mbox{qubits}\rangle$% \@add@centering\cr\mbox{(standard)}$\@add@centering\end{array}$\@add@centering% &\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}\begin{array}[]{c% }\langle\mbox{qubits/variable}\rangle\\ \mbox{\,\, (standard)}\end{array}$\@add@centering\end{array}$\@add@centering&% \begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}\langle\mbox{max. % chain length}\rangle$\@add@centering\cr\mbox{(standard)}$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{% $}}\langle\mbox{qubits}\rangle$\@add@centering\cr\mbox{(IQPMS)}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.9cm} <{$}}\begin{array}[]{c}\langle\mbox{qubits/variable% }\rangle\\ \mbox{\,\, (IQPMS)}\end{array}$\@add@centering\end{array}$\@add@centering&% \begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}\langle\mbox{max. % chain length}\rangle$\@add@centering\cr\mbox{(IQPMS)}$\@add@centering\end{% array}$\@add@centering\cr$\@add@centering\\ N=10$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}% }\pagecolor{blue!17}\mbox{Adv1}$\@add@centering\cr\pagecolor{blue!22}\mbox{Adv% 2}$\@add@centering\end{array}$\@add@centering&\begin{array}[]{|>{\centering% \arraybackslash$} p{2cm} <{$}}101.75\pagecolor{blue!17}$\@add@centering\cr 94.% 38\pagecolor{blue!22}$\@add@centering\end{array}$\@add@centering&\begin{array}% []{>{\centering\arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}2.04$% \@add@centering\cr\pagecolor{blue!22}1.89$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}5.% 88\pagecolor{blue!17}$\@add@centering\cr 4.63\pagecolor{blue!22}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{|>{\centering% \arraybackslash$} p{2cm} <{$}}23.00\pagecolor{blue!17}$\@add@centering\cr 20.5% 0\pagecolor{blue!22}$\@add@centering\end{array}$\@add@centering&\begin{array}[% ]{>{\centering\arraybackslash$} p{2.9cm} <{$}}1.51\pagecolor{blue!17}$% \@add@centering\cr 1.34\pagecolor{blue!22}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}2.% 25\pagecolor{blue!17}$\@add@centering\cr 2\pagecolor{blue!22}$\@add@centering% \end{array}$\@add@centering\cr N=12$\@add@centering&\begin{array}[]{>{% \centering\arraybackslash$} p{2cm} <{$}}\pagecolor{red!17}\mbox{Adv1}$% \@add@centering\cr\pagecolor{red!22}\mbox{Adv2}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{|>{\centering\arraybackslash$} p{2cm} <{$}}112% .13\pagecolor{red!17}$\@add@centering\cr\pagecolor{red!22}106.63$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.9cm} <{$}}1.87\pagecolor{red!17}$\@add@centering\cr 1.78% \pagecolor{red!22}$\@add@centering\end{array}$\@add@centering&\begin{array}[]{% >{\centering\arraybackslash$} p{2.9cm} <{$}}5.38\pagecolor{red!17}$% \@add@centering\cr 4.63\pagecolor{red!22}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{|>{\centering\arraybackslash$} p{2cm} <{$}}21.% 75\pagecolor{red!17}$\@add@centering\cr 20.50\pagecolor{red!22}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.9cm} <{$}}\pagecolor{red!17}1.34$\@add@centering\cr 1.26% \pagecolor{red!22}$\@add@centering\end{array}$\@add@centering&\begin{array}[]{% >{\centering\arraybackslash$} p{2.9cm} <{$}}2.13\pagecolor{red!17}$% \@add@centering\cr 2\pagecolor{red!22}$\@add@centering\end{array}$% \@add@centering\cr N=14$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2cm} <{$}}\pagecolor{blue!17}\mbox{Adv1}$\@add@centering% \cr\pagecolor{blue!22}\mbox{Adv2}$\@add@centering\end{array}$\@add@centering&% \begin{array}[]{|>{\centering\arraybackslash$} p{2cm} <{$}}\pagecolor{blue!17}% 148.63$\@add@centering\cr 134.63\pagecolor{blue!22}$\@add@centering\end{array}% $\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}% \pagecolor{blue!17}2.14$\@add@centering\cr 1.94\pagecolor{blue!22}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}6.38$\@add@centering\cr 6.2% 5\pagecolor{blue!22}$\@add@centering\end{array}$\@add@centering&\begin{array}[% ]{|>{\centering\arraybackslash$} p{2cm} <{$}}\pagecolor{blue!17}28.50$% \@add@centering\cr 26.88\pagecolor{blue!22}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}1.% 41\pagecolor{blue!17}$\@add@centering\cr 1.33\pagecolor{blue!22}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}2.38$\@add@centering\cr 2% \pagecolor{blue!22}$\@add@centering\end{array}$\@add@centering\cr N=16$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}% \pagecolor{red!17}\mbox{Adv1}$\@add@centering\cr\pagecolor{red!22}\mbox{Adv2}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{|>{\centering% \arraybackslash$} p{2cm} <{$}}\pagecolor{red!17}165.00$\@add@centering\cr 152.% 86\pagecolor{red!22}$\@add@centering\end{array}$\@add@centering&\begin{array}[% ]{>{\centering\arraybackslash$} p{2.9cm} <{$}}\pagecolor{red!17}2.08$% \@add@centering\cr 1.92\pagecolor{red!22}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}% \pagecolor{red!17}6.75$\@add@centering\cr 5.13\pagecolor{red!22}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{|>{\centering% \arraybackslash$} p{2cm} <{$}}\pagecolor{red!17}33.50$\@add@centering\cr 31.5% \pagecolor{red!22}$\@add@centering\end{array}$\@add@centering&\begin{array}[]{% >{\centering\arraybackslash$} p{2.9cm} <{$}}\pagecolor{red!17}1.44$% \@add@centering\cr 1.35\pagecolor{red!22}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}% \pagecolor{red!17}2.38$\@add@centering\cr 2.13\pagecolor{red!22}$% \@add@centering\end{array}$\@add@centering\cr N=18$\@add@centering&\begin{% array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}\pagecolor{blue!17}\mbox{% Adv1}$\@add@centering\cr\pagecolor{blue!22}\mbox{Adv2}$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{|>{\centering\arraybackslash$} p{2cm} <% {$}}\pagecolor{blue!17}183.75$\@add@centering\cr\pagecolor{blue!22}174.38$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}2.06$\@add@centering\cr 1.9% 6\pagecolor{blue!22}$\@add@centering\end{array}$\@add@centering&\begin{array}[% ]{>{\centering\arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}6.63$% \@add@centering\cr 5.88\pagecolor{blue!22}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{|>{\centering\arraybackslash$} p{2cm} <{$}}% \pagecolor{blue!17}37.38$\@add@centering\cr 34.63\pagecolor{blue!22}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}1.51$\@add@centering\cr 1.3% 4\pagecolor{blue!22}$\@add@centering\end{array}$\@add@centering&\begin{array}[% ]{>{\centering\arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}2.63$% \@add@centering\cr 2.13\pagecolor{blue!22}$\@add@centering\end{array}$% \@add@centering\end{array}start_ARRAY start_ROW start_CELL Arcs end_CELL start_CELL start_ARRAY start_ROW start_CELL Annealer end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL ⟨ qubits ⟩ end_CELL end_ROW start_ROW start_CELL (standard) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL start_ARRAY start_ROW start_CELL ⟨ qubits/variable ⟩ end_CELL end_ROW start_ROW start_CELL (standard) end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL ⟨ max. chain length ⟩ end_CELL end_ROW start_ROW start_CELL (standard) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL ⟨ qubits ⟩ end_CELL end_ROW start_ROW start_CELL (IQPMS) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL start_ARRAY start_ROW start_CELL ⟨ qubits/variable ⟩ end_CELL end_ROW start_ROW start_CELL (IQPMS) end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL ⟨ max. chain length ⟩ end_CELL end_ROW start_ROW start_CELL (IQPMS) end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N = 10 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 101.75 end_CELL end_ROW start_ROW start_CELL 94.38 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2.04 end_CELL end_ROW start_ROW start_CELL 1.89 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 5.88 end_CELL end_ROW start_ROW start_CELL 4.63 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 23.00 end_CELL end_ROW start_ROW start_CELL 20.50 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 1.51 end_CELL end_ROW start_ROW start_CELL 1.34 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2.25 end_CELL end_ROW start_ROW start_CELL 2 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 12 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 112.13 end_CELL end_ROW start_ROW start_CELL 106.63 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 1.87 end_CELL end_ROW start_ROW start_CELL 1.78 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 5.38 end_CELL end_ROW start_ROW start_CELL 4.63 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 21.75 end_CELL end_ROW start_ROW start_CELL 20.50 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 1.34 end_CELL end_ROW start_ROW start_CELL 1.26 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2.13 end_CELL end_ROW start_ROW start_CELL 2 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 14 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 148.63 end_CELL end_ROW start_ROW start_CELL 134.63 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2.14 end_CELL end_ROW start_ROW start_CELL 1.94 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 6.38 end_CELL end_ROW start_ROW start_CELL 6.25 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 28.50 end_CELL end_ROW start_ROW start_CELL 26.88 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 1.41 end_CELL end_ROW start_ROW start_CELL 1.33 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2.38 end_CELL end_ROW start_ROW start_CELL 2 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 16 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 165.00 end_CELL end_ROW start_ROW start_CELL 152.86 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2.08 end_CELL end_ROW start_ROW start_CELL 1.92 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 6.75 end_CELL end_ROW start_ROW start_CELL 5.13 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 33.50 end_CELL end_ROW start_ROW start_CELL 31.5 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 1.44 end_CELL end_ROW start_ROW start_CELL 1.35 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2.38 end_CELL end_ROW start_ROW start_CELL 2.13 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 18 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 183.75 end_CELL end_ROW start_ROW start_CELL 174.38 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2.06 end_CELL end_ROW start_ROW start_CELL 1.96 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 6.63 end_CELL end_ROW start_ROW start_CELL 5.88 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 37.38 end_CELL end_ROW start_ROW start_CELL 34.63 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 1.51 end_CELL end_ROW start_ROW start_CELL 1.34 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2.63 end_CELL end_ROW start_ROW start_CELL 2.13 end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY

Table 5: Several details about the D-wave embeddings of our instances of MPBS, both for the standard and the IQPMS methods. These statistics have been performed for the embeddings generated on Adv1 and Adv2 by averaging the data over all the instances of MPBS with the same number of arcs. In \langlequbits\rangle we report the average number of qubits needed to embed our MPBS instances. In \langlequbits/variable\rangle we report the ratio between \langlequbits\rangle and the average number of variables needed to provide a QUBO formuation of our MPBS instances, which can be obtained from Table 4. In \langlemax. chain length\rangle we report the average maximum chain length encountered in the embeddings.
Refer to caption
Figure 4: (Left) Average number of variables needed by the standard and IQPMS methods to provide a QUBO form of the instances generated for different number of arcs. The averages have been performed over the four instances with the same number of arcs. From the linear interpolation of these data (dashed lines), we infer that the IQPMS methods requires in average m(IQPMS)=1.30𝑚IQPMS1.30m(\mbox{IQPMS})=1.30italic_m ( IQPMS ) = 1.30 QUBO variables per arc added to the graph, while the standard method needs m(standard)=4.88𝑚standard4.88m(\mbox{standard})=4.88italic_m ( standard ) = 4.88 QUBO variables. (Right) Average number of qubits needed to embed the QUBO instances generated with the standard and IQPMS methods into the quantum annealers Adv1 and Adv2 for different number of arcs. The averages have been performed over the four instances with the same number of arcs. From the linear interpolation of these data (dashed lines), we infer that the qubits employed per arc added to the MPBS instance to obtain an embedding on a D-wave annealer when the IQPMS and the standard methods are adopted are m(IQPMS + Adv2)=1.96𝑚IQPMS + Adv21.96m(\mbox{IQPMS + Adv2})=1.96italic_m ( IQPMS + Adv2 ) = 1.96, m(IQPMS + Adv1)=2.03𝑚IQPMS + Adv12.03m(\mbox{IQPMS + Adv1})=2.03italic_m ( IQPMS + Adv1 ) = 2.03, m(standard + Adv2)=10.31𝑚standard + Adv210.31m(\mbox{standard + Adv2})=10.31italic_m ( standard + Adv2 ) = 10.31 and m(standard + Adv1)=10.84𝑚standard + Adv110.84m(\mbox{standard + Adv1})=10.84italic_m ( standard + Adv1 ) = 10.84.

The number of variables needed by the IQPMS methods are much fewer, in general less than a third. Moreover, the ratio between the variables needed with the standard and the IQPMS methods increases with N(u)𝑁𝑢N(u)italic_N ( italic_u ). One could object that these results are highly influenced by our arbitrary choice of [FL(u),CAP(u)]=[7,8]𝐹𝐿𝑢𝐶𝐴𝑃𝑢78[FL(u),CAP(u)]=[-7,8][ italic_F italic_L ( italic_u ) , italic_C italic_A italic_P ( italic_u ) ] = [ - 7 , 8 ]. This is in true, for better or for worse. Indeed, this choice caused the standard method to need 4 slack variables per node, as described in Section V.3. Nonetheless, as discussed above, in realistic scenarios CAP(u)FL(u)𝐶𝐴𝑃𝑢𝐹𝐿𝑢CAP(u)-FL(u)italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) could easily assume values in the order of 105superscript10510^{5}10 start_POSTSUPERSCRIPT 5 end_POSTSUPERSCRIPT and therefore the standard method would need more than 15 slack variables per node only to implement CAP/FLOOR. Notice that our methods do not depend on the particular values of FL(u)𝐹𝐿𝑢FL(u)italic_F italic_L ( italic_u ) and CAP(u)𝐶𝐴𝑃𝑢CAP(u)italic_C italic_A italic_P ( italic_u ), as shown in Table 2, and therefore its performances would not change in realistic scenarios. Hence, our pick tried to find a compromise between the possibility to obtain QUBO formulations of MPBS with the standard method that were solvable by D-wave, namely CAP(u)FL(u)𝐶𝐴𝑃𝑢𝐹𝐿𝑢CAP(u)-FL(u)italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) not too large, and the idea of being somehow faithful with the possible scenarios encountered in realistic scenarios, namely CAP(u)FL(u)𝐶𝐴𝑃𝑢𝐹𝐿𝑢CAP(u)-FL(u)italic_C italic_A italic_P ( italic_u ) - italic_F italic_L ( italic_u ) not too small. Nonetheless, even if we would pick smaller interval [FL(u),CAP(u)]𝐹𝐿𝑢𝐶𝐴𝑃𝑢[FL(u),CAP(u)][ italic_F italic_L ( italic_u ) , italic_C italic_A italic_P ( italic_u ) ], and therefore requiring even less slack variables for the standard QUBO implementation of CAP/FLOOR, we remind that the IQPMS methods always require zero slack variables for this constraint when we have N(u)4𝑁𝑢4N(u)\leq 4italic_N ( italic_u ) ≤ 4 arcs. Moreover, the IQPMS methods need anyway less slack variables to implement the master constraint IN/OUT (compare Tables 1 and 2).

We followed by submitting these QUBO problems to the D-wave quantum annealers Advantage_system4.1 and Advantage2_prototype1.1, where the latter is the latest quantum annealer prototype having enhanced performance. In the following, we simply call these two annealers Adv1 and Adv2, respectively. For each one of the 20 instances of MPBS described above, we performed 4k annealing runs with Adv1 and 4k annealing runs with Adv2. These runs were performed both for the QUBO forms obtained with the standard and the IQPMS methods. Moreover, the 4k runs dedicated to each instance, annealer and method were subdivided in 16 blocks of 250 runs. The motivation of this choice is the following. Every time we ask the D-wave online services to perform a given number of runs, they generate a particular embedding that maps our QUBO problem into an initialization of their quantum chip and all the runs are then performed with that particular embedding. Hence, our motivation to split the runs in 16 different blocks was to average out the possible advantages/disadvantages coming from particularly fortunate/unfortunate embeddings generated by D-wave. As a result, we performed a total 320k runs on D-wave quantum annealers. The annealing times have not been tuned and therefore all the runs had the same default duration of 20μs20𝜇𝑠20\mu s20 italic_μ italic_s.

ArcsAnnealerSuccesses(standard)Successes 95%(standard)Successes(IQPMS)Successes 95%(IQPMS)GainGain 95%N=10Adv1Adv2198(1.24%)330(2.20%)256(1.60%)463(2.89%)1366(8.54%)3940(23.61%)2054(12.84%)5152(32.20%)6.9010.798.0211.13N=12Adv1Adv219(0.12%)63(0.39%)36(0.23%)85(0.53%)1012(6.30%)2735(17.09%)

1149(%7.18)3149(%19.68)

53.2643.4131.9237.05
N=14Adv1Adv26(0.04%)29(0.18%)24(0.15%)42(0.26%)661(4.13%)1765(11.03%)869(5.43%)2284(14.28%)110.1760.8636.2154.38N=16Adv1Adv22(0.01%)10(0.06%)8(0.05%)23(0.14%)296(1.85%)1149(7.18%)659(4.12%)2015(12.59%)148.00114.9082.3887.61N=18Adv1Adv22(0.01%)4(0.03%)5(0.03%)6(0.04%)322(2.01%)735(4.59%)454(2.84%)934(5.84%)

161.00183.75

90.80155.67
ArcsAnnealerSuccesses(standard)Successes 95%(standard)Successes(IQPMS)Successes 95%(IQPMS)GainGain 95%missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression𝑁10Adv1Adv2198percent1.24330percent2.20256percent1.60463percent2.891366percent8.543940percent23.612054percent12.845152percent32.206.9010.798.0211.13𝑁12Adv1Adv219percent0.1263percent0.3936percent0.2385percent0.531012percent6.302735percent17.09

1149(%7.18)3149(%19.68)

53.2643.4131.9237.05
𝑁14Adv1Adv26percent0.0429percent0.1824percent0.1542percent0.26661percent4.131765percent11.03869percent5.432284percent14.28110.1760.8636.2154.38𝑁16Adv1Adv22percent0.0110percent0.068percent0.0523percent0.14296percent1.851149percent7.18659percent4.122015percent12.59148.00114.9082.3887.61𝑁18Adv1Adv22percent0.014percent0.035percent0.036percent0.04322percent2.01735percent4.59454percent2.84934percent5.84

161.00183.75

90.80155.67
\begin{array}[]{>{\centering\arraybackslash$} p{1.1cm} <{$}>{\centering% \arraybackslash$} p{1.6cm} <{$}>{\centering\arraybackslash$} p{2.5cm} <{$}>{% \centering\arraybackslash$} p{2.5cm} <{$}>{\centering\arraybackslash$} p{2.5cm% } <{$}>{\centering\arraybackslash$} p{2.5cm} <{$}>{\centering\arraybackslash$}% p{1.6cm} <{$}>{\centering\arraybackslash$} p{1.6cm} <{$}}\mbox{Arcs}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}% \mbox{Annealer}$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{% \centering\arraybackslash$} p{2.9cm} <{$}}\mbox{Successes}$\@add@centering\cr% \mbox{(standard)}$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>% {\centering\arraybackslash$} p{2.9cm} <{$}}\mbox{Successes 95\%}$% \@add@centering\cr\mbox{(standard)}$\@add@centering\end{array}$\@add@centering% &\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}\mbox{Successes}$% \@add@centering\cr\mbox{(IQPMS)}$\@add@centering\end{array}$\@add@centering&% \begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} <{$}}\mbox{Successes 95% \%}$\@add@centering\cr\mbox{(IQPMS)}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}% \mbox{Gain}$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{% \centering\arraybackslash$} p{2cm} <{$}}\mbox{Gain 95\%}$\@add@centering\end{% array}$\@add@centering\cr$\@add@centering\\ N=10$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}% }\pagecolor{blue!17}\mbox{Adv1}$\@add@centering\cr\pagecolor{blue!22}\mbox{Adv% 2}$\@add@centering\end{array}$\@add@centering&\begin{array}[]{|>{\centering% \arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}198\,\,\,(1.24\%)$% \@add@centering\cr\pagecolor{blue!22}330\,\,\,(2.20\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} % <{$}}\pagecolor{blue!17}256\,\,\,(1.60\%)$\@add@centering\cr\pagecolor{blue!22% }463\,\,\,(2.89\%)$\@add@centering\end{array}$\@add@centering&\begin{array}[]{% |>{\centering\arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}1366\,\,\,(8.5% 4\%)$\@add@centering\cr\pagecolor{blue!22}3940\,\,\,(23.61\%)$\@add@centering% \end{array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.% 9cm} <{$}}\pagecolor{blue!17}2054\,\,\,(12.84\%)$\@add@centering\cr\pagecolor{% blue!22}5152\,\,\,(32.20\%)$\@add@centering\end{array}$\@add@centering&\begin{% array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}\pagecolor{blue!17}6.90$% \@add@centering\cr\pagecolor{blue!22}10.79$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}% \pagecolor{blue!17}8.02$\@add@centering\cr\pagecolor{blue!22}11.13$% \@add@centering\end{array}$\@add@centering\cr N=12$\@add@centering&\begin{% array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}\pagecolor{red!17}\mbox{Adv% 1}$\@add@centering\cr\pagecolor{red!22}\mbox{Adv2}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{|>{\centering\arraybackslash$} p{2.9cm} <{$}}% \pagecolor{red!17}19\,\,\,(0.12\%)$\@add@centering\cr\pagecolor{red!22}63\,\,% \,(0.39\%)$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{% \centering\arraybackslash$} p{2.9cm} <{$}}\pagecolor{red!17}36\,\,\,(0.23\%)$% \@add@centering\cr\pagecolor{red!22}85\,\,\,(0.53\%)$\@add@centering\end{array% }$\@add@centering&\begin{array}[]{|>{\centering\arraybackslash$} p{2.9cm} <{$}% }\pagecolor{red!17}1012\,\,\,(6.30\%)$\@add@centering\cr 2735\pagecolor{red!22% }\,\,\,(17.09\%)$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{% \centering\arraybackslash$} p{2.9cm} <{$}}\pagecolor{red!17}1149\,\,\,(7.18\%)% $\@add@centering\cr 3149\pagecolor{red!22}\,\,\,(19.68\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{% $}}\pagecolor{red!17}53.26$\@add@centering\cr 43.41\pagecolor{red!22}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2cm} <{$}}\pagecolor{red!17}31.92$\@add@centering\cr 37.05% \pagecolor{red!22}$\@add@centering\end{array}$\@add@centering\cr N=14$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}% \pagecolor{blue!17}\mbox{Adv1}$\@add@centering\cr\pagecolor{blue!22}\mbox{Adv2% }$\@add@centering\end{array}$\@add@centering&\begin{array}[]{|>{\centering% \arraybackslash$} p{2.9cm} <{$}}6\pagecolor{blue!17}\,\,\,(0.04\%)$% \@add@centering\cr 29\pagecolor{blue!22}\,\,\,(0.18\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} % <{$}}24\pagecolor{blue!17}\,\,\,(0.15\%)$\@add@centering\cr 42\pagecolor{blue!% 22}\,\,\,(0.26\%)$\@add@centering\end{array}$\@add@centering&\begin{array}[]{|% >{\centering\arraybackslash$} p{2.9cm} <{$}}661\pagecolor{blue!17}\,\,\,(4.13% \%)$\@add@centering\cr 1765\pagecolor{blue!22}\,\,\,(11.03\%)$\@add@centering% \end{array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.% 9cm} <{$}}\pagecolor{blue!17}869\,\,\,(5.43\%)$\@add@centering\cr 2284% \pagecolor{blue!22}\,\,\,(14.28\%)$\@add@centering\end{array}$\@add@centering&% \begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}110.17\pagecolor{% blue!17}$\@add@centering\cr\pagecolor{blue!22}60.86$\@add@centering\end{array}% $\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}36.% 21\pagecolor{blue!17}$\@add@centering\cr 54.38\pagecolor{blue!22}$% \@add@centering\end{array}$\@add@centering\cr N=16$\@add@centering&\begin{% array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}\pagecolor{red!17}\mbox{Adv% 1}$\@add@centering\cr\pagecolor{red!22}\mbox{Adv2}$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{|>{\centering\arraybackslash$} p{2.9cm} <{$}}2% \pagecolor{red!17}\,\,\,(0.01\%)$\@add@centering\cr 10\pagecolor{red!22}\,\,\,% (0.06\%)$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{% \centering\arraybackslash$} p{2.9cm} <{$}}8\pagecolor{red!17}\,\,\,(0.05\%)$% \@add@centering\cr\pagecolor{red!22}23\,\,\,(0.14\%)$\@add@centering\end{array% }$\@add@centering&\begin{array}[]{|>{\centering\arraybackslash$} p{2.9cm} <{$}% }296\pagecolor{red!17}\,\,\,(1.85\%)$\@add@centering\cr 1149\pagecolor{red!22}% \,\,\,(7.18\%)$\@add@centering\end{array}$\@add@centering&\begin{array}[]{>{% \centering\arraybackslash$} p{2.9cm} <{$}}659\pagecolor{red!17}\,\,\,(4.12\%)$% \@add@centering\cr 2015\pagecolor{red!22}\,\,\,(12.59\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{% $}}\pagecolor{red!17}148.00$\@add@centering\cr 114.90\pagecolor{red!22}$% \@add@centering\end{array}$\@add@centering&\begin{array}[]{>{\centering% \arraybackslash$} p{2cm} <{$}}\pagecolor{red!17}82.38$\@add@centering\cr% \pagecolor{red!22}87.61$\@add@centering\end{array}$\@add@centering\cr N=18$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}% \pagecolor{blue!17}\mbox{Adv1}$\@add@centering\cr\pagecolor{blue!22}\mbox{Adv2% }$\@add@centering\end{array}$\@add@centering&\begin{array}[]{|>{\centering% \arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}2\,\,\,(0.01\%)$% \@add@centering\cr 4\pagecolor{blue!22}\,\,\,(0.03\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} % <{$}}\pagecolor{blue!17}5\,\,\,(0.03\%)$\@add@centering\cr\pagecolor{blue!22}6% \,\,\,(0.04\%)$\@add@centering\end{array}$\@add@centering&\begin{array}[]{|>{% \centering\arraybackslash$} p{2.9cm} <{$}}\pagecolor{blue!17}322\,\,\,(2.01\%)% $\@add@centering\cr\pagecolor{blue!22}735\,\,\,(4.59\%)$\@add@centering\end{% array}$\@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2.9cm} % <{$}}\pagecolor{blue!17}454\,\,\,(2.84\%)$\@add@centering\cr\pagecolor{blue!22% }934\,\,\,(5.84\%)$\@add@centering\end{array}$\@add@centering&\begin{array}[]{% >{\centering\arraybackslash$} p{2cm} <{$}}\pagecolor{blue!17}161.00$% \@add@centering\cr\pagecolor{blue!22}183.75$\@add@centering\end{array}$% \@add@centering&\begin{array}[]{>{\centering\arraybackslash$} p{2cm} <{$}}% \pagecolor{blue!17}90.80$\@add@centering\cr\pagecolor{blue!22}155.67$% \@add@centering\end{array}$\@add@centering\end{array}start_ARRAY start_ROW start_CELL Arcs end_CELL start_CELL start_ARRAY start_ROW start_CELL Annealer end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL Successes end_CELL end_ROW start_ROW start_CELL (standard) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL Successes 95% end_CELL end_ROW start_ROW start_CELL (standard) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL Successes end_CELL end_ROW start_ROW start_CELL (IQPMS) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL Successes 95% end_CELL end_ROW start_ROW start_CELL (IQPMS) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL Gain end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL Gain 95% end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_N = 10 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 198 ( 1.24 % ) end_CELL end_ROW start_ROW start_CELL 330 ( 2.20 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 256 ( 1.60 % ) end_CELL end_ROW start_ROW start_CELL 463 ( 2.89 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 1366 ( 8.54 % ) end_CELL end_ROW start_ROW start_CELL 3940 ( 23.61 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2054 ( 12.84 % ) end_CELL end_ROW start_ROW start_CELL 5152 ( 32.20 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 6.90 end_CELL end_ROW start_ROW start_CELL 10.79 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 8.02 end_CELL end_ROW start_ROW start_CELL 11.13 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 12 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 19 ( 0.12 % ) end_CELL end_ROW start_ROW start_CELL 63 ( 0.39 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 36 ( 0.23 % ) end_CELL end_ROW start_ROW start_CELL 85 ( 0.53 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 1012 ( 6.30 % ) end_CELL end_ROW start_ROW start_CELL 2735 ( 17.09 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 1149 ( 7.18 % ) end_CELL end_ROW start_ROW start_CELL 3149 ( 19.68 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 53.26 end_CELL end_ROW start_ROW start_CELL 43.41 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 31.92 end_CELL end_ROW start_ROW start_CELL 37.05 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 14 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 6 ( 0.04 % ) end_CELL end_ROW start_ROW start_CELL 29 ( 0.18 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 24 ( 0.15 % ) end_CELL end_ROW start_ROW start_CELL 42 ( 0.26 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 661 ( 4.13 % ) end_CELL end_ROW start_ROW start_CELL 1765 ( 11.03 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 869 ( 5.43 % ) end_CELL end_ROW start_ROW start_CELL 2284 ( 14.28 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 110.17 end_CELL end_ROW start_ROW start_CELL 60.86 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 36.21 end_CELL end_ROW start_ROW start_CELL 54.38 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 16 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2 ( 0.01 % ) end_CELL end_ROW start_ROW start_CELL 10 ( 0.06 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 8 ( 0.05 % ) end_CELL end_ROW start_ROW start_CELL 23 ( 0.14 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 296 ( 1.85 % ) end_CELL end_ROW start_ROW start_CELL 1149 ( 7.18 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 659 ( 4.12 % ) end_CELL end_ROW start_ROW start_CELL 2015 ( 12.59 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 148.00 end_CELL end_ROW start_ROW start_CELL 114.90 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 82.38 end_CELL end_ROW start_ROW start_CELL 87.61 end_CELL end_ROW end_ARRAY end_CELL end_ROW start_ROW start_CELL italic_N = 18 end_CELL start_CELL start_ARRAY start_ROW start_CELL Adv1 end_CELL end_ROW start_ROW start_CELL Adv2 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 2 ( 0.01 % ) end_CELL end_ROW start_ROW start_CELL 4 ( 0.03 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 5 ( 0.03 % ) end_CELL end_ROW start_ROW start_CELL 6 ( 0.04 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 322 ( 2.01 % ) end_CELL end_ROW start_ROW start_CELL 735 ( 4.59 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 454 ( 2.84 % ) end_CELL end_ROW start_ROW start_CELL 934 ( 5.84 % ) end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 161.00 end_CELL end_ROW start_ROW start_CELL 183.75 end_CELL end_ROW end_ARRAY end_CELL start_CELL start_ARRAY start_ROW start_CELL 90.80 end_CELL end_ROW start_ROW start_CELL 155.67 end_CELL end_ROW end_ARRAY end_CELL end_ROW end_ARRAY
Table 6: Number of annealing runs that provided either the optimal solution or an output satisfying the MPBS constraints and had an objective function within the 95% of the optimal. These data are reported for both annealers, namely Adv1 and Adv2, and the two techniques considered to obtain QUBO realizations of MPBS, namely the standard and IQPMS methods. The number of successes for each given N𝑁Nitalic_N and annealer corresponds to the sum of the successes obtained among the 4 corresponding instances. Hence, since we performed 4k annealing runs per instance and annealer, the percentages indicated are relative to the total 16k runs performed for each arc-setting and annealer. Finally, the gain columns correspond to the ratios between the successes obtained using the IQPMS methods and the standard method. The same has been done by including those outputs satisfying the MPBS constraints and had an objective function within the 95% of the optimal.
Refer to caption
Figure 5: Number of runs, in logarithmic scale, where D-wave annealers found the optimal solutions of MPBS problems with different number of arcs after 16k runs, where their QUBO formulations were either obtained with the standard or the IQPMS methods (dots connected by solid lines). We also show the results obtained if we consider those outputs satisfying the MPBS constraints and having objective function within the 95% of the optimal (dots connected by dashed lines). These analyses were performed with both annealers Adv1 and Adv2.

We show the average number of qubits needed for these embeddings depending on the method and the annealer adopted, for different number of arcs in Figure 4 (right). We notice that, when considering the standard method, D-wave embeddings need approximately 10.5 qubits per arc introduced into the graph. Instead, when considering our method, we only have approximately 2 qubits per arc introduced into the graph. Several details regarding the embeddings of these problems can be found in Table 5. In particular, depending on the number of arcs in our instance, annealer used and method adopted, we report the average number of qubits employed, the average number of qubits employed per QUBO variable of the instance and the corresponding average maximum chain lengths. The maximum chain length of a given embedding is the maximum number of qubits needed by D-wave to embed a single QUBO variable into the quantum chip. Indeed, since D-wave annealers have limited connectivity, which are 15 for Adv1 and 20 for Adv2, it often happens that more than one qubit is needed to embed a single QUBO variable. Naturally, since the IQPMS methods require far fewer slack variables per node, if compared with the standard method, each binary variable is connected with fewer other variables and therefore our methods allow a much more efficient consumption of qubits. This is one of the main goals achieved by this work, namely providing an encouraging scaling for the qubits deployed by the embedding of locally-constrained QUBO problems into D-wave quantum annealers.

We recorded the number of successes obtained by Adv1 and Adv2 in the individuation of the MPBS optimal solutions. Moreover, we performed the same analysis by counting how many times the D-wave annealers were able to provide outputs 𝐱𝐱\mathbf{x}bold_x that satisfied the MPBS constraints and gave a value of the objective function that was at least the 95%percent9595\%95 % of the optimal value W=iwixisuperscript𝑊subscript𝑖subscript𝑤𝑖superscriptsubscript𝑥𝑖W^{*}=\sum_{i}w_{i}x_{i}^{*}italic_W start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT, where 𝐱superscript𝐱\mathbf{x}^{*}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is the optimal solution, which are referred to as the “95% solutions”. We summarize these results in Table 6, where we also include the ratio between the number of successes obtained with the IQPMS and the standard methods. These gains, both for the optimal and the 95% solutions, result to be monotonically increasing with the number of arcs in the MPBS instances. Finally, in Figure 5 we plot the number of successes obtained in the described scenarios.

VIII Discussion

We provided a novel set of techniques to translate optimization problems into a QUBO form. In particular, we showed their potential to drastically reduce the number of slack variables and to increase the sparsity of the generated QUBO problems. The first of the two techniques, the IQP method, is particularly useful whenever the constraints to be enforced are defined over few logical variables and/or the values of the parameters inside inequality constraints are large. This method does not necessary require the locally-constrained graph problem structure. Nonetheless, in this case we can easily adopt the MS method, which provides the simultaneous enforcement of multiple constraints defined over the same set of binary variables. Moreover, we underline that our method has the same efficiency whether the constraints considered are equality/inequality linear/non-linear constraints defined with integer/non-integer parameters. Finally, we showed how to tune the corresponding constraint multipliers and we gave a generalization of the MS method for those cases where at least three constraints share the same set of variables.

We followed by considering an NP-hard problem from finance, namely MPBS, and we showed how to apply our methods to this real-world optimization problem. Noteworthy, we obtained closed forms for the implementations of its inequality constraints INOUT(u𝑢uitalic_u) and CAPFLOOR(u𝑢uitalic_u) for all the nodes with N(u)5𝑁𝑢5N(u)\leq 5italic_N ( italic_u ) ≤ 5 arcs, with the only exception of CAPFLOOR(u𝑢uitalic_u) when N(u)=5𝑁𝑢5N(u)=5italic_N ( italic_u ) = 5, which we evaluated case by case. Hence, all the constraints for which we achieved a closed form will not need any additional calculation in order to find the corresponding QUBO implementation: the only required operation is the identifications of the node binary variables combinations that violate/satisfy the constraints.

We generated several instances of this problem for different numbers of nodes and edges involved. First, we quantified how better our methods work in terms of slack variables employed and later we showed how these improvements provide a much higher output quality when quantum annealers are the chosen QUBO solver. Indeed, we considered two D-wave quantum annealers, namely Advantage_system4.1 and Advantage2_prototype1.1, comparing our methods with a standard procedure that provides QUBO forms. In addition, this study provides a performance comparative study between the considered annealers.

We believe that our approach is particularly useful in the context of quantum computation as all the pre-processing applied is devoted to make the resulting QUBO as light as possible and we do not require additional rounds of computation on the QUBO solver. Indeed, quantum annealers in general provide higher-quality outputs when problems are defined in a more compact form, namely when fewer and less-connected qubits are necessary. Hence, focusing on the refinement of QUBO formulations is clearly one key ingredient to obtain better near-term quantum computation results. Classical computing strategies that aim to obtain solutions for these kind of combinatorial problems within shorter times, usually undertake completely different paths [29], avoiding QUBO formulations.

There are several research directions that could be explored starting from our results. First of all, the adoption of IQPMS to solve other combinatorial problems. Possible candidates are the MultipleKnapsack, the Multiple-ConstrainedKnapsack and the MultipleSubsetSum problems. Moreover, given the high performances obtainable in case of locally-constrained optimization problems, its employment could easily fit for real-world combinatorial problems defined over sparse networks (see, e.g., [40]).

Another interesting direction would be given by comparing our methods with those from Ref. [35]. Both output quality from quantum annealing and running times could be compared in order to understand under which regimes one could outperform the other. Indeed, while our methods may employ more slack variables, a fair comparison would allow the IQPMS methods to consider much longer quantum computation times. Moreover, it is not clear whether the number of rounds necessary to the iterative strategies are more sensitive to an increase of the input size or the number of constraints. If the latter would be the case, given realistic instances of MPBS are highly constrained, namely given by sparse graphs with node-by-node constraints, we believe that our methods should provide higher success rates. A similar comparison with the techniques presented in Ref. [40] would be fruitful as well. In summary, we expect that, if we compare the already available strategies with our novel methods in the context of solving locally-constrained lowly-connected optimization problems, we should obtain optimal solutions in shorter quantum computation times.

Future applications of the IQPMS methods could be employed with more sophisticated techniques, e.g., the tuning of the annealing times, the adoption of D-wave classical-quantum hybrid QUBO solvers or particular pre/post-processing procedures, e.g., the variable reduction proposed in Ref. [54], where an iterative algorithm fixes several binary variables to values that have a high probability of being optimal. Another path is given by the use of different NISQ devices, such as in the context of the Quantum Approximate Optimization Algorithm [12] or the Quantum Alternating Operator Ansatz [55], which are designed for logical-gate quantum computers. We remind that the aim of this work is to compare in the fairest way our methods with a well-established standard procedure. Hence, the setup considered has not the intent to prove how far our algorithms can be pushed to achieve optimal solutions via quantum annealing for larger and larger instances, but it rather focuses on giving a clear motivation of when and why we should adopt our novelties. Therefore, we are curious to discover up to which input size our methods, in conjunction with other techniques, allow to provide optimal solutions of MPBS instances defined via realistic datasets.

Acknowledgements

We thank Francesco Gullo and Ilaria Bordino for useful discussions. Dario De Santis acknowledges support from the research project “Dynamics and Information Research Institute - Quantum Information, Quantum Technologies” within the agreement between UniCredit Bank and Scuola Normale Superiore di Pisa (CI14_UNICREDIT_MARMI). Salvatore Tirone acknowledges support from projects PRIN 2017 Taming complexity via Quantum Strategies: a Hybrid Integrated Photonic approach (QUSHIP) Id. 2017SRN-BRK and PRO3 Quantum Pathfinder. Vittorio Giovannetti acknowledges financial support by MUR (Ministero dell’Istruzione, dell’Università e della Ricerca) through the following projects: PNRR MUR project PE0000023-NQSTI.

References

  • Hauke et al. [2020] P. Hauke, H. G. Katzgraber, W. Lechner, H. Nishimori, and W. D. Oliver, Perspectives of quantum annealing: methods and implementations, Reports on Progress in Physics 83, 054401 (2020).
  • Yarkoni et al. [2022] S. Yarkoni, E. Raponi, T. Bäck, and S. Schmitt, Quantum annealing for industry applications: introduction and review, Reports on Progress in Physics 85, 104001 (2022).
  • Abbas et al. [2023] A. Abbas, A. Ambainis, B. Augustino, A. Bärtschi, H. Buhrman, C. Coffrin, G. Cortiana, V. Dunjko, D. J. Egger, B. G. Elmegreen, N. Franco, F. Fratini, B. Fuller, J. Gacon, C. Gonciulea, S. Gribling, S. Gupta, S. Hadfield, R. Heese, G. Kircher, T. Kleinert, T. Koch, G. Korpas, S. Lenk, J. Marecek, V. Markov, G. Mazzola, S. Mensa, N. Mohseni, G. Nannicini, C. O’Meara, E. P. Tapia, S. Pokutta, M. Proissl, P. Rebentrost, E. Sahin, B. C. B. Symons, S. Tornow, V. Valls, S. Woerner, M. L. Wolf-Bauwens, J. Yard, S. Yarkoni, D. Zechiel, S. Zhuk, and C. Zoufal, Quantum optimization: Potential, challenges, and the path forward (2023), arXiv:2312.02279 [quant-ph] .
  • Karp [1972] R. M. Karp, Reducibility among combinatorial problems, in Complexity of Computer Computations: Proceedings of a symposium on the Complexity of Computer Computations (Springer US, Boston, MA, 1972) pp. 85–103.
  • Lucas [2014] A. Lucas, Ising formulations of many np problems, Frontiers in Physics 2 (2014).
  • Rajak et al. [2023] A. Rajak, S. Suzuki, A. Dutta, and B. K. Chakrabarti, Quantum annealing: an overview, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 381 (2023).
  • Das and Chakrabarti [2008] A. Das and B. K. Chakrabarti, Colloquium: Quantum annealing and analog quantum computation, Rev. Mod. Phys. 80, 1061 (2008).
  • Farhi et al. [2001] E. Farhi, J. Goldstone, S. Gutmann, J. Lapan, A. Lundgren, and D. Preda, A quantum adiabatic evolution algorithm applied to random instances of an np-complete problem, Science 292, 472 (2001).
  • Farhi et al. [2014] E. Farhi, J. Goldstone, and S. Gutmann, A quantum approximate optimization algorithm (2014), arXiv:1411.4028 [quant-ph] .
  • Khumalo et al. [2022] M. T. Khumalo, H. A. Chieza, K. Prag, and M. Woolway, An investigation of ibm quantum computing device performance on combinatorial optimisation problems (2022), arXiv:2107.03638 [quant-ph] .
  • Chieza et al. [2020] H. A. Chieza, M. T. Khumalo, K. Prag, and M. Woolway, On the computational performance of ibm quantum devices applied to combinatorial optimisation problems, in 2020 7th International Conference on Soft Computing & Machine Intelligence (ISCMI) (2020) pp. 260–264.
  • Zhou et al. [2020] L. Zhou, S.-T. Wang, S. Choi, H. Pichler, and M. D. Lukin, Quantum approximate optimization algorithm: Performance, mechanism, and implementation on near-term devices, Phys. Rev. X 10, 021067 (2020).
  • Ebadi et al. [2022] S. Ebadi, A. Keesling, M. Cain, T. T. Wang, H. Levine, D. Bluvstein, G. Semeghini, A. Omran, J.-G. Liu, R. Samajdar, X.-Z. Luo, B. Nash, X. Gao, B. Barak, E. Farhi, S. Sachdev, N. Gemelke, L. Zhou, S. Choi, H. Pichler, S.-T. Wang, M. Greiner, V. Vuletić, and M. D. Lukin, Quantum optimization of maximum independent set using rydberg atom arrays, Science 376, 1209 (2022)https://www.science.org/doi/pdf/10.1126/science.abo6587 .
  • Nguyen et al. [2023] M.-T. Nguyen, J.-G. Liu, J. Wurtz, M. D. Lukin, S.-T. Wang, and H. Pichler, Quantum optimization with arbitrary connectivity using rydberg atom arrays, PRX Quantum 4, 010316 (2023).
  • Cain et al. [2023] M. Cain, S. Chattopadhyay, J.-G. Liu, R. Samajdar, H. Pichler, and M. D. Lukin, Quantum speedup for combinatorial optimization with flat energy landscapes (2023), arXiv:2306.13123 [quant-ph] .
  • Altshuler et al. [2010] B. Altshuler, H. Krovi, and J. Roland, Anderson localization makes adiabatic quantum optimization fail, Proceedings of the National Academy of Sciences 107, 12446 (2010)https://www.pnas.org/doi/pdf/10.1073/pnas.1002116107 .
  • Dickson and Amin [2011] N. G. Dickson and M. H. S. Amin, Does adiabatic quantum optimization fail for np-complete problems?, Phys. Rev. Lett. 106, 050502 (2011).
  • Orús et al. [2019] R. Orús, S. Mugel, and E. Lizaso, Quantum computing for finance: Overview and prospects, Reviews in Physics 4, 100028 (2019).
  • Mugel et al. [2022] S. Mugel, C. Kuchkovsky, E. Sánchez, S. Fernández-Lorenzo, J. Luis-Hita, E. Lizaso, and R. Orús, Dynamic portfolio optimization with real datasets using quantum processors and quantum-inspired tensor networks, Phys. Rev. Res. 4, 013006 (2022).
  • Venturelli and Kondratyev [2019] D. Venturelli and A. Kondratyev, Reverse quantum annealing approach to portfolio optimization problems, Quantum Machine Intelligence 1, 17 (2019).
  • Herman et al. [2022] D. Herman, C. Googin, X. Liu, A. Galda, I. Safro, Y. Sun, M. Pistoia, and Y. Alexeev, A survey of quantum computing for finance (2022), arXiv:2201.02773 [quant-ph] .
  • Buonaiuto et al. [2023] G. Buonaiuto, F. Gargiulo, G. De Pietro, M. Esposito, and M. Pota, Best practices for portfolio optimization by quantum computing, experimented on real quantum devices, Scientific Reports 13, 19434 (2023).
  • Egger et al. [2020] D. J. Egger, C. Gambella, J. Marecek, S. McFaddin, M. Mevissen, R. Raymond, A. Simonetto, S. Woerner, and E. Yndurain, Quantum computing for finance: State-of-the-art and future prospects, IEEE Transactions on Quantum Engineering 1, 1–24 (2020).
  • Weinberg et al. [2023] S. J. Weinberg, F. Sanches, T. Ide, K. Kamiya, and R. Correll, Supply chain logistics with quantum and classical annealing algorithms, Scientific Reports 13, 4770 (2023).
  • Sales and Araos [2023] J. F. A. Sales and R. A. P. Araos, Adiabatic quantum computing for logistic transport optimization (2023), arXiv:2301.07691 [quant-ph] .
  • Hernández et al. [2020] F. Hernández, K. Díaz, M. Forets, and R. Sotelo, Application of quantum optimization techniques (qubo method) to cargo logistics on ships and airplanes, in 2020 IEEE Congreso Bienal de Argentina (ARGENCON) (2020) pp. 1–1.
  • Zinner et al. [2021] M. Zinner, F. Dahlhausen, P. Boehme, J. Ehlers, L. Bieske, and L. Fehring, Quantum computing’s potential for drug discovery: Early stage industry dynamics, Drug Discovery Today 26, 1680 (2021).
  • Glover et al. [2022] F. Glover, G. Kochenberger, R. Hennig, and Y. Du, Quantum bridge analytics i: a tutorial on formulating and using qubo models, Annals of Operations Research 314, 141 (2022).
  • Bordino and Gullo [2018] I. Bordino and F. Gullo, Network-based receivable financing, in Proceedings of the 27th ACM International Conference on Information and Knowledge Management, CIKM ’18 (ACM, 2018).
  • Bordino et al. [2020] I. Bordino, F. Gullo, and G. Legnaro, The power of connection: Leveraging network analysis to advance receivable financing (2020), arXiv:2006.13738 [cs.DS] .
  • [31] D. S. Inc., D-wave technical report: Technical Description of the D-Wave Quantum Processing Unit, Tech. Rep.
  • Boyd et al. [2011] S. Boyd, N. Parikh, E. Chu, B. Peleato, and J. Eckstein, Distributed optimization and statistical learning via the alternating direction method of multipliers, Foundations and Trends® in Machine Learning 3, 1 (2011).
  • Hestenes [1969] M. R. Hestenes, Multiplier and gradient methods, Journal of Optimization Theory and Applications 4, 303 (1969).
  • Powell [1969] M. J. Powell, A method for nonlinear constraints in minimization problems, Optimization , 283 (1969).
  • Djidjev [2023] H. N. Djidjev, Quantum annealing with inequality constraints: the set cover problem (2023), arXiv:2302.11185 [quant-ph] .
  • Yonaga et al. [2020] K. Yonaga, M. J. Miyama, and M. Ohzeki, Solving inequality-constrained binary optimization problems on quantum annealer (2020), arXiv:2012.06119 [quant-ph] .
  • Mücke and Gerlach [2023] S. Mücke and T. Gerlach, Efficient Light Source Placement using Quantum Computing, MDPI Proc. L 3630, 478 (2023), arXiv:2312.01156 [quant-ph] .
  • Verma and Lewis [2021] A. Verma and M. Lewis, Variable reduction for quadratic unconstrained binary optimization (2021), arXiv:2105.07032 [math.OC] .
  • van der Linde et al. [2023] S. G. van der Linde, W. van der Schoot, and F. Phillipson, Efficient quantum solution for the constrained tactical capacity problem for distributed electricity generation, in Innovations for Community Services, edited by U. R. Krieger, G. Eichler, C. Erfurth, and G. Fahrnberger (Springer Nature Switzerland, Cham, 2023) pp. 203–221.
  • Colucci et al. [2023] G. Colucci, S. v. d. Linde, and F. Phillipson, Power network optimization: A quantum approach, IEEE Access 11, 98926 (2023).
  • Kirkpatrick et al. [1983] S. Kirkpatrick, C. D. Gelatt, and M. P. Vecchi, Optimization by simulated annealing, Science 220, 671 (1983)https://www.science.org/doi/pdf/10.1126/science.220.4598.671 .
  • van Laarhoven and Aarts [1987] P. J. M. van Laarhoven and E. H. L. Aarts, Simulated annealing, in Simulated Annealing: Theory and Applications (Springer Netherlands, Dordrecht, 1987) pp. 7–15.
  • Wilhelm and Ward [1987] M. R. Wilhelm and T. L. Ward, Solving quadratic assignment problems by ‘simulated annealing’, IIE Transactions 19, 107 (1987)https://doi.org/10.1080/07408178708975376 .
  • Wang et al. [2016] C. Wang, H. Chen, and E. Jonckheere, Quantum versus simulated annealing in wireless interference network optimization, Scientific Reports 6, 25797 (2016).
  • Paul [2010] G. Paul, Comparative performance of tabu search and simulated annealing heuristics for the quadratic assignment problem, Operations Research Letters 38, 577 (2010).
  • Note [1] If IC1(𝐲)0𝐼subscript𝐶1𝐲0IC_{1}(\mathbf{y})\leq 0italic_I italic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y ) ≤ 0 and IC2(𝐲)0𝐼subscript𝐶2superscript𝐲0IC_{2}(\mathbf{y}^{\prime})\leq 0italic_I italic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≤ 0 are enforced by P1(𝐲,𝐬)subscript𝑃1𝐲𝐬P_{1}(\mathbf{y},\mathbf{s})italic_P start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( bold_y , bold_s ) and P2(𝐲,𝐬)subscript𝑃2superscript𝐲superscript𝐬P_{2}(\mathbf{y}^{\prime},\mathbf{s}^{\prime})italic_P start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( bold_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , bold_s start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ), respectively, they would make use of M¯¯𝑀\overline{M}over¯ start_ARG italic_M end_ARG and M¯superscript¯𝑀\overline{M}^{\prime}over¯ start_ARG italic_M end_ARG start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT independent slack variables.
  • Note [2] Extending our approach to node-dependent mIC,usubscript𝑚𝐼𝐶𝑢m_{IC,u}italic_m start_POSTSUBSCRIPT italic_I italic_C , italic_u end_POSTSUBSCRIPT and mEC,usubscript𝑚𝐸𝐶𝑢m_{EC,u}italic_m start_POSTSUBSCRIPT italic_E italic_C , italic_u end_POSTSUBSCRIPT is straightforward but, for the sake of simplicity, we consider each node having the same number of equality and inequality constraints.
  • Note [3] If Eq. (2) is locally-constrained, it can be written in the form of Eq. (24) via the rescaling mEC/ICmEC/IC/|𝒱|subscript𝑚𝐸𝐶𝐼𝐶subscript𝑚𝐸𝐶𝐼𝐶𝒱m_{EC/IC}\rightarrow m_{EC/IC}/|\mathcal{V}|italic_m start_POSTSUBSCRIPT italic_E italic_C / italic_I italic_C end_POSTSUBSCRIPT → italic_m start_POSTSUBSCRIPT italic_E italic_C / italic_I italic_C end_POSTSUBSCRIPT / | caligraphic_V |.
  • Goldberg and Tarjan [1990] A. V. Goldberg and R. E. Tarjan, Finding minimum-cost circulations by successive approximation, Mathematics of Operations Research 15, 430 (1990).
  • Inc. [2017] D. S. Inc., D-wave technical report: Partitioning Optimization Problems for Hybrid Classical/Quantum Execution, Tech. Rep. (2017).
  • Note [4] For instance, if |+(u)|=3superscript𝑢3|\mathcal{E}^{+}(u)|=3| caligraphic_E start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) | = 3 and |(u)|=1superscript𝑢1|\mathcal{E}^{-}(u)|=1| caligraphic_E start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) | = 1, we associate x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT to the only outgoing arc of the node.
  • Note [5] The number of combinations of 𝐱𝐱\mathbf{x}bold_x such that there are no outgoing (incoming) arcs activated are 2N+(u)superscript2superscript𝑁𝑢2^{N^{+}(u)}2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT. The number of combinations of 𝐱𝐱\mathbf{x}bold_x such that there are no incoming arcs activated are 2N(u)superscript2superscript𝑁𝑢2^{N^{-}(u)}2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT. Since the null combination 𝐱={0,0,,0}𝐱000\mathbf{x}=\{0,0,\dots,0\}bold_x = { 0 , 0 , … , 0 } is allowed by IN/OUT(u𝑢uitalic_u), we obtain that the number of combinations violating IN/OUT(u𝑢uitalic_u) are 2N+(u)+2N(u)2superscript2superscript𝑁𝑢superscript2superscript𝑁𝑢22^{N^{+}(u)}+2^{N^{-}(u)}-22 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT + 2 start_POSTSUPERSCRIPT italic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT ( italic_u ) end_POSTSUPERSCRIPT - 2.
  • Hahn et al. [2023] G. Hahn, E. Pelofske, and H. N. Djidjev, Posiform planting: generating qubo instances for benchmarking, Frontiers in Computer Science 510.3389/fcomp.2023.1275948 (2023).
  • Karimi et al. [2017] H. Karimi, G. Rosenberg, and H. G. Katzgraber, Effective optimization using sample persistence: A case study on quantum annealers and various monte carlo optimization methods, Phys. Rev. E 96, 043312 (2017).
  • Hadfield et al. [2019] S. Hadfield, Z. Wang, B. O’Gorman, E. G. Rieffel, D. Venturelli, and R. Biswas, From the quantum approximate optimization algorithm to a quantum alternating operator ansatz, Algorithms 12 (2019).
  • Note [6] A tighter version of λIO(u)superscript𝜆𝐼𝑂𝑢\lambda^{IO}(u)italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT ( italic_u ) could be formulated, but we do not see any particular advantage in performing the extra computation required.

Appendix A The MS method without the IQP method

We showed how to apply the MS method when constraints are enforced with the IQP method in Section III.2. Despite their combination, namely the IQPMS method, provides various advantages, the MS method can be adopted independently from the IQP method. Here, we show how to employ this method when constraints are enforced in a QUBO form with the standard techniques described in Section II.1. This approach could be useful when the constraints considered are defined over a number of variables that is too large to be handled by the IQP method.

Consider an optimization problem of the generic form (2). Suppose that, among all the equality and inequality constraints ECi𝐸subscript𝐶𝑖EC_{i}italic_E italic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT and ICj𝐼subscript𝐶𝑗IC_{j}italic_I italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT, two of them are defined over the same three binary variables. For instance, consider the case where one equality and one inequality constraints are of the form:

EC(x1,x2,x3)=x1+x2+x31,𝐸𝐶subscript𝑥1subscript𝑥2subscript𝑥3subscript𝑥1subscript𝑥2subscript𝑥31\displaystyle EC(x_{1},x_{2},x_{3})=x_{1}+x_{2}+x_{3}-1\,,italic_E italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - 1 ,
IC(x1,x2,x3)=2x12x2+x3+2,𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥32subscript𝑥12subscript𝑥2subscript𝑥32\displaystyle IC(x_{1},x_{2},x_{3})=-2x_{1}-2x_{2}+x_{3}+2\,,italic_I italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = - 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - 2 italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + 2 ,

where it is required EC(x1,x2,x3)=0𝐸𝐶subscript𝑥1subscript𝑥2subscript𝑥30EC(x_{1},x_{2},x_{3})=0italic_E italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = 0 and IC(x1,x2,x3)0𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥30IC(x_{1},x_{2},x_{3})\leq 0italic_I italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) ≤ 0. Our goal is to achieve quadratic forms of x1subscript𝑥1x_{1}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT, x2subscript𝑥2x_{2}italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT and x3subscript𝑥3x_{3}italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT that provides penalties when these constraints are violated. In the context of the MS approach, we are going to construct a penalty function corresponding to the master constraints, which provides a penalty iff it is violated, otherwise it is zero-valued. Instead, the penalty function corresponding to the satellite constraint provides penalties when (x1,x2,x3)subscript𝑥1subscript𝑥2subscript𝑥3(x_{1},x_{2},x_{3})( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) satisfy the master and violates the satellite constraint and is zero-valued when both constraints are satisfied. Hence, we do not impose any requirement to the satellite penalty function when the master constraint is violated.

We pick EC(x1,x2,x3)=0𝐸𝐶subscript𝑥1subscript𝑥2subscript𝑥30EC(x_{1},x_{2},x_{3})=0italic_E italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = 0 as master and IC(x1,x2,x3)0𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥30IC(x_{1},x_{2},x_{3})\leq 0italic_I italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) ≤ 0 as satellite constraint. Hence, in order to have a simultaneous reformulation of these constraints within the MS formalism, we start by enforcing EC(x1,x2,x3)=0𝐸𝐶subscript𝑥1subscript𝑥2subscript𝑥30EC(x_{1},x_{2},x_{3})=0italic_E italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = 0 with the standard method (see Section II.1), hence with the quadratic penalty function PEC(x1,x2,x3)=(x1+x2+x31)2superscript𝑃𝐸𝐶subscript𝑥1subscript𝑥2subscript𝑥3superscriptsubscript𝑥1subscript𝑥2subscript𝑥312P^{EC}(x_{1},x_{2},x_{3})=-(x_{1}+x_{2}+x_{3}-1)^{2}italic_P start_POSTSUPERSCRIPT italic_E italic_C end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = - ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - 1 ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT.

The quadratic penalty function relative to IC(x1,x2,x3)0𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥30IC(x_{1},x_{2},x_{3})\leq 0italic_I italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) ≤ 0 has not to be enforced by considering all the possible values of (x1,x2,x3)subscript𝑥1subscript𝑥2subscript𝑥3(x_{1},x_{2},x_{3})( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ), but solely those combinations already satisfying EC(x1,x2,x3)=0𝐸𝐶subscript𝑥1subscript𝑥2subscript𝑥30EC(x_{1},x_{2},x_{3})=0italic_E italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = 0, namely (x1,x2,x3)=(1,0,0),(0,1,0),(0,0,1)subscript𝑥1subscript𝑥2subscript𝑥3100010001(x_{1},x_{2},x_{3})=(1,0,0),(0,1,0),(0,0,1)( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) , ( 0 , 0 , 1 ). Notice that (x1,x2,x3)=(1,0,0),(0,1,0)subscript𝑥1subscript𝑥2subscript𝑥3100010(x_{1},x_{2},x_{3})=(1,0,0),(0,1,0)( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) satisfy IC(x1,x2,x3)0𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥30IC(x_{1},x_{2},x_{3})\leq 0italic_I italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) ≤ 0, while (x1,x2,x3)=(0,0,1)subscript𝑥1subscript𝑥2subscript𝑥3001(x_{1},x_{2},x_{3})=(0,0,1)( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = ( 0 , 0 , 1 ) leads to a violation. Hence, in order to construct the quantity S(𝐬)𝑆𝐬S(\mathbf{s})italic_S ( bold_s ) needed to enforce our inequality/satellite constraint (see Eq. (5)), we solely have to worry to build a quadratic form PIC(x1,x2,x3,𝐬)=(IC(x1,x2,x3)+S(𝐬))2superscript𝑃𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥3𝐬superscript𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥3𝑆𝐬2P^{IC}(x_{1},x_{2},x_{3},\mathbf{s})=-(IC(x_{1},x_{2},x_{3})+S(\mathbf{s}))^{2}italic_P start_POSTSUPERSCRIPT italic_I italic_C end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , bold_s ) = - ( italic_I italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) + italic_S ( bold_s ) ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT such that max𝐬PIC(x1,x2,x3,𝐬)=0subscript𝐬superscript𝑃𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥3𝐬0\max_{\mathbf{s}}P^{IC}(x_{1},x_{2},x_{3},\mathbf{s})=0roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_I italic_C end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , bold_s ) = 0 for (x1,x2,x3)=(1,0,0),(0,1,0)subscript𝑥1subscript𝑥2subscript𝑥3100010(x_{1},x_{2},x_{3})=(1,0,0),(0,1,0)( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) and max𝐬PIC(0,0,1,𝐬)1subscript𝐬superscript𝑃𝐼𝐶001𝐬1\max_{\mathbf{s}}P^{IC}(0,0,1,\mathbf{s})\leq-1roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_I italic_C end_POSTSUPERSCRIPT ( 0 , 0 , 1 , bold_s ) ≤ - 1.

If PIC(x1,x2,x3,𝐬)superscript𝑃𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥3𝐬P^{IC}(x_{1},x_{2},x_{3},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_I italic_C end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , bold_s ) would be enforced outside the MS formalism, namely as in Section II.1, we would require S(𝐬)𝑆𝐬S(\mathbf{s})italic_S ( bold_s ) to assume all the integer values in the interval [0,|min𝐱IC(𝐱)|]=[0,2]0subscript𝐱𝐼𝐶𝐱02[0,|\min_{\mathbf{x}}IC(\mathbf{x})|]=[0,2][ 0 , | roman_min start_POSTSUBSCRIPT bold_x end_POSTSUBSCRIPT italic_I italic_C ( bold_x ) | ] = [ 0 , 2 ], where the minimization is performed over all 𝐱{0,1}3𝐱superscript013\mathbf{x}\in\{0,1\}^{3}bold_x ∈ { 0 , 1 } start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT. Hence, in the standard case we would obtain S(𝐬)=s0+s1𝑆𝐬subscript𝑠0subscript𝑠1S(\mathbf{s})=s_{0}+s_{1}italic_S ( bold_s ) = italic_s start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT + italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT: two slack variables would be required. Now, since IC(x1,x2,x3)0𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥30IC(x_{1},x_{2},x_{3})\leq 0italic_I italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) ≤ 0 has to be enforced as a satellite of EC(x1,x2,x3)0𝐸𝐶subscript𝑥1subscript𝑥2subscript𝑥30EC(x_{1},x_{2},x_{3})\leq 0italic_E italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) ≤ 0, we have to ignore those strings violating the master constraint and therefore the same minimization is now performed solely over (x1,x2,x3)=(1,0,0),(0,1,0),(0,0,1)subscript𝑥1subscript𝑥2subscript𝑥3100010001(x_{1},x_{2},x_{3})=(1,0,0),(0,1,0),(0,0,1)( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) , ( 0 , 0 , 1 ), which leads to:

|min𝐱={0,1}3IC(𝐱)|=2MS|min𝐱=(1,0,0),(0,1,0),(0,0,1)IC(𝐱)|=0.formulae-sequencesubscript𝐱superscript013𝐼𝐶𝐱2superscriptMSsubscript𝐱100010001𝐼𝐶𝐱0\left|\min_{\mathbf{x}=\{0,1\}^{3}}IC(\mathbf{x})\right|=2\,\,\,\,\,\,% \stackrel{{\scriptstyle\mbox{MS}}}{{\longrightarrow}}\,\,\,\,\,\,\left|\min_{% \mathbf{x}=(1,0,0),(0,1,0),(0,0,1)}IC(\mathbf{x})\right|=0.| roman_min start_POSTSUBSCRIPT bold_x = { 0 , 1 } start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_I italic_C ( bold_x ) | = 2 start_RELOP SUPERSCRIPTOP start_ARG ⟶ end_ARG start_ARG MS end_ARG end_RELOP | roman_min start_POSTSUBSCRIPT bold_x = ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) , ( 0 , 0 , 1 ) end_POSTSUBSCRIPT italic_I italic_C ( bold_x ) | = 0 .

Hence, by using the MS method, IC(x1,x2,x3)0𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥30IC(x_{1},x_{2},x_{3})\leq 0italic_I italic_C ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) ≤ 0 can be enforced with a quadratic form without employing any slack variable via PIC(x1,x2,x3)=(2x12x2+x3+2)2superscript𝑃𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥3superscript2subscript𝑥12subscript𝑥2subscript𝑥322P^{IC}(x_{1},x_{2},x_{3})=-(-2x_{1}-2x_{2}+x_{3}+2)^{2}italic_P start_POSTSUPERSCRIPT italic_I italic_C end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = - ( - 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - 2 italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + 2 ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT, which is equal to 00 iff 𝐱𝐱\mathbf{x}bold_x satisfies the master and the satellite constraints, namely for (x1,x2,x3)=(1,0,0),(0,1,0)subscript𝑥1subscript𝑥2subscript𝑥3100010(x_{1},x_{2},x_{3})=(1,0,0),(0,1,0)( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) and is smaller or equal to 11-1- 1 otherwise. Hence, in this case, there are no accidental incentives and the relative multiplier of the master constraint can be fixed to λEC=1superscript𝜆𝐸𝐶1\lambda^{EC}=1italic_λ start_POSTSUPERSCRIPT italic_E italic_C end_POSTSUPERSCRIPT = 1 (see Section III.3). Notice that PIC(x1,x2,x3)superscript𝑃𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥3P^{IC}(x_{1},x_{2},x_{3})italic_P start_POSTSUPERSCRIPT italic_I italic_C end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) penalises also those combinations of (x1,x2,x3)subscript𝑥1subscript𝑥2subscript𝑥3(x_{1},x_{2},x_{3})( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) satisfying the satellite and violating the master constraint. Hence, the sum of the two penalty functions:

PEC(x1,x2,x3)+PIC(x1,x2,x3)=(x1+x2+x31)2(2x12x2+x3+2)2,superscript𝑃𝐸𝐶subscript𝑥1subscript𝑥2subscript𝑥3superscript𝑃𝐼𝐶subscript𝑥1subscript𝑥2subscript𝑥3superscriptsubscript𝑥1subscript𝑥2subscript𝑥312superscript2subscript𝑥12subscript𝑥2subscript𝑥322P^{EC}(x_{1},x_{2},x_{3})+P^{IC}(x_{1},x_{2},x_{3})=-(x_{1}+x_{2}+x_{3}-1)^{2}% -(-2x_{1}-2x_{2}+x_{3}+2)^{2}\,,italic_P start_POSTSUPERSCRIPT italic_E italic_C end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) + italic_P start_POSTSUPERSCRIPT italic_I italic_C end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) = - ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - 1 ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - ( - 2 italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - 2 italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT + 2 ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ,

is equal to zero iff (x1,x2,x3)subscript𝑥1subscript𝑥2subscript𝑥3(x_{1},x_{2},x_{3})( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ) satisfies both constraints and is smaller or equal to -1 iff one or both constraints are violated, where no slack variables have been employed.

Appendix B IQPMS solutions for CAP/FLOOR(u𝑢uitalic_u) when N(u)=4𝑁𝑢4N(u)=4italic_N ( italic_u ) = 4

The solution of the linear system (63) is:

PuCF(𝐱)=superscriptsubscript𝑃𝑢𝐶𝐹𝐱absent\displaystyle P_{u}^{CF}(\mathbf{x})=italic_P start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT ( bold_x ) = (σ(1,0,0,1)+σ(1,0,1,0)σ(1,0,1,1)+σ(1,1,0,0)σ(1,1,0,1)σ(1,1,1,0)+σ(1,1,1,1))x1𝜎1001𝜎1010𝜎1011𝜎1100𝜎1101𝜎1110𝜎1111subscript𝑥1\displaystyle(\sigma(1,0,0,1)+\sigma(1,0,1,0)-\sigma(1,0,1,1)+\sigma(1,1,0,0)-% \sigma(1,1,0,1)-\sigma(1,1,1,0)+\sigma(1,1,1,1))x_{1}( italic_σ ( 1 , 0 , 0 , 1 ) + italic_σ ( 1 , 0 , 1 , 0 ) - italic_σ ( 1 , 0 , 1 , 1 ) + italic_σ ( 1 , 1 , 0 , 0 ) - italic_σ ( 1 , 1 , 0 , 1 ) - italic_σ ( 1 , 1 , 1 , 0 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT (70)
+(2σ(1,0,1,1)σ(1,0,0,1)σ(1,0,1,0)+σ(1,1,0,1)+σ(1,1,1,0)2σ(1,1,1,1))x22𝜎1011𝜎1001𝜎1010𝜎1101𝜎11102𝜎1111subscript𝑥2\displaystyle+(2\sigma(1,0,1,1)-\sigma(1,0,0,1)-\sigma(1,0,1,0)+\sigma(1,1,0,1% )+\sigma(1,1,1,0)-2\sigma(1,1,1,1))x_{2}+ ( 2 italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 0 , 0 , 1 ) - italic_σ ( 1 , 0 , 1 , 0 ) + italic_σ ( 1 , 1 , 0 , 1 ) + italic_σ ( 1 , 1 , 1 , 0 ) - 2 italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT
+(1+σ(1,0,1,0)σ(1,0,1,1)σ(1,1,1,0)+σ(1,1,1,1))x31𝜎1010𝜎1011𝜎1110𝜎1111subscript𝑥3\displaystyle+(1+\sigma(1,0,1,0)-\sigma(1,0,1,1)-\sigma(1,1,1,0)+\sigma(1,1,1,% 1))x_{3}+ ( 1 + italic_σ ( 1 , 0 , 1 , 0 ) - italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 1 , 1 , 0 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT
+(σ(1,0,1,0)+σ(1,0,1,1)σ(1,1,0,0)+σ(1,1,0,1)+2σ(1,1,1,0)2σ(1,1,1,1))x4𝜎1010𝜎1011𝜎1100𝜎11012𝜎11102𝜎1111subscript𝑥4\displaystyle+(-\sigma(1,0,1,0)+\sigma(1,0,1,1)-\sigma(1,1,0,0)+\sigma(1,1,0,1% )+2\sigma(1,1,1,0)-2\sigma(1,1,1,1))x_{4}+ ( - italic_σ ( 1 , 0 , 1 , 0 ) + italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 1 , 0 , 0 ) + italic_σ ( 1 , 1 , 0 , 1 ) + 2 italic_σ ( 1 , 1 , 1 , 0 ) - 2 italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT
+(σ(1,0,1,1)+σ(1,1,1,1))x1x2𝜎1011𝜎1111subscript𝑥1subscript𝑥2\displaystyle+(-\sigma(1,0,1,1)+\sigma(1,1,1,1))x_{1}x_{2}+ ( - italic_σ ( 1 , 0 , 1 , 1 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT
+(1σ(1,0,0,1)σ(1,0,1,0)+2σ(1,0,1,1)σ(1,1,0,0)+σ(1,1,0,1)+2σ(1,1,1,0)2σ(1,1,1,1))x1x31𝜎1001𝜎10102𝜎1011𝜎1100𝜎11012𝜎11102𝜎1111subscript𝑥1subscript𝑥3\displaystyle+(1-\sigma(1,0,0,1)-\sigma(1,0,1,0)+2\sigma(1,0,1,1)-\sigma(1,1,0% ,0)+\sigma(1,1,0,1)+2\sigma(1,1,1,0)-2\sigma(1,1,1,1))x_{1}x_{3}+ ( 1 - italic_σ ( 1 , 0 , 0 , 1 ) - italic_σ ( 1 , 0 , 1 , 0 ) + 2 italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 1 , 0 , 0 ) + italic_σ ( 1 , 1 , 0 , 1 ) + 2 italic_σ ( 1 , 1 , 1 , 0 ) - 2 italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT
+(σ(1,1,1,0)+σ(1,1,1,1))x1x4+(σ(1,0,0,1)σ(1,0,1,1)σ(1,1,0,1)+σ(1,1,1,1))x2x3𝜎1110𝜎1111subscript𝑥1subscript𝑥4𝜎1001𝜎1011𝜎1101𝜎1111subscript𝑥2subscript𝑥3\displaystyle+(-\sigma(1,1,1,0)+\sigma(1,1,1,1))x_{1}x_{4}+(\sigma(1,0,0,1)-% \sigma(1,0,1,1)-\sigma(1,1,0,1)+\sigma(1,1,1,1))x_{2}x_{3}+ ( - italic_σ ( 1 , 1 , 1 , 0 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT + ( italic_σ ( 1 , 0 , 0 , 1 ) - italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 1 , 0 , 1 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT
+(σ(1,0,1,0)σ(1,0,1,1)σ(1,1,1,0)+σ(1,1,1,1))x2x4𝜎1010𝜎1011𝜎1110𝜎1111subscript𝑥2subscript𝑥4\displaystyle+(\sigma(1,0,1,0)-\sigma(1,0,1,1)-\sigma(1,1,1,0)+\,\sigma(1,1,1,% 1))x_{2}x_{4}+ ( italic_σ ( 1 , 0 , 1 , 0 ) - italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 1 , 1 , 0 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT
+(σ(1,1,0,0)σ(1,1,0,1)σ(1,1,1,0)+σ(1,1,1,1))x3x4.𝜎1100𝜎1101𝜎1110𝜎1111subscript𝑥3subscript𝑥4\displaystyle+(\sigma(1,1,0,0)-\sigma(1,1,0,1)-\sigma(1,1,1,0)+\sigma(1,1,1,1)% )x_{3}x_{4}\,.+ ( italic_σ ( 1 , 1 , 0 , 0 ) - italic_σ ( 1 , 1 , 0 , 1 ) - italic_σ ( 1 , 1 , 1 , 0 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT .

The solution of the linear system (64) is:

PuCF(𝐱)=superscriptsubscript𝑃𝑢𝐶𝐹𝐱absent\displaystyle P_{u}^{CF}(\mathbf{x})=italic_P start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT ( bold_x ) = (1σ(0,1,0,1)σ(0,1,1,0)+2σ(0,1,1,1)+σ(1,0,1,1)+σ(1,1,0,1)+σ(1,1,1,0)2σ(1,1,1,1))x11𝜎0101𝜎01102𝜎0111𝜎1011𝜎1101𝜎11102𝜎1111subscript𝑥1\displaystyle(1-\sigma(0,1,0,1)-\sigma(0,1,1,0)+2\sigma(0,1,1,1)+\sigma(1,0,1,% 1)+\sigma(1,1,0,1)+\sigma(1,1,1,0)-2\sigma(1,1,1,1))x_{1}( 1 - italic_σ ( 0 , 1 , 0 , 1 ) - italic_σ ( 0 , 1 , 1 , 0 ) + 2 italic_σ ( 0 , 1 , 1 , 1 ) + italic_σ ( 1 , 0 , 1 , 1 ) + italic_σ ( 1 , 1 , 0 , 1 ) + italic_σ ( 1 , 1 , 1 , 0 ) - 2 italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT (71)
+(1σ(0,1,1,1)σ(1,0,1,1)+σ(1,1,1,1))x1x21𝜎0111𝜎1011𝜎1111subscript𝑥1subscript𝑥2\displaystyle+(-1-\sigma(0,1,1,1)-\sigma(1,0,1,1)+\sigma(1,1,1,1))x_{1}x_{2}+ ( - 1 - italic_σ ( 0 , 1 , 1 , 1 ) - italic_σ ( 1 , 0 , 1 , 1 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT
+(σ(0,1,0,1)σ(0,1,1,1)σ(1,1,0,1)+σ(1,1,1,1))x1x3𝜎0101𝜎0111𝜎1101𝜎1111subscript𝑥1subscript𝑥3\displaystyle+(\sigma(0,1,0,1)-\sigma(0,1,1,1)-\sigma(1,1,0,1)+\sigma(1,1,1,1)% )x_{1}x_{3}+ ( italic_σ ( 0 , 1 , 0 , 1 ) - italic_σ ( 0 , 1 , 1 , 1 ) - italic_σ ( 1 , 1 , 0 , 1 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT
+(σ(0,1,1,0)σ(0,1,1,1)σ(1,1,1,0)+σ(1,1,1,1))x1x4𝜎0110𝜎0111𝜎1110𝜎1111subscript𝑥1subscript𝑥4\displaystyle+(\sigma(0,1,1,0)-\sigma(0,1,1,1)-\sigma(1,1,1,0)+\sigma(1,1,1,1)% )x_{1}x_{4}+ ( italic_σ ( 0 , 1 , 1 , 0 ) - italic_σ ( 0 , 1 , 1 , 1 ) - italic_σ ( 1 , 1 , 1 , 0 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT
+(1+σ(0,1,1,1)σ(1,0,0,1)σ(1,0,1,0)+2σ(1,0,1,1)+σ(1,1,0,1)+σ(1,1,1,0)2σ(1,1,1,1))x21𝜎0111𝜎1001𝜎10102𝜎1011𝜎1101𝜎11102𝜎1111subscript𝑥2\displaystyle+(1+\sigma(0,1,1,1)-\sigma(1,0,0,1)-\sigma(1,0,1,0)+2\sigma(1,0,1% ,1)+\sigma(1,1,0,1)+\sigma(1,1,1,0)-2\sigma(1,1,1,1))x_{2}+ ( 1 + italic_σ ( 0 , 1 , 1 , 1 ) - italic_σ ( 1 , 0 , 0 , 1 ) - italic_σ ( 1 , 0 , 1 , 0 ) + 2 italic_σ ( 1 , 0 , 1 , 1 ) + italic_σ ( 1 , 1 , 0 , 1 ) + italic_σ ( 1 , 1 , 1 , 0 ) - 2 italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT
+(σ(1,0,0,1)σ(1,0,1,1)σ(1,1,0,1)+σ(1,1,1,1))x2x3𝜎1001𝜎1011𝜎1101𝜎1111subscript𝑥2subscript𝑥3\displaystyle+(\sigma(1,0,0,1)-\sigma(1,0,1,1)-\sigma(1,1,0,1)+\sigma(1,1,1,1)% )x_{2}x_{3}+ ( italic_σ ( 1 , 0 , 0 , 1 ) - italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 1 , 0 , 1 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT
+(σ(1,0,1,0)σ(1,0,1,1)σ(1,1,1,0)+σ(1,1,1,1))x2x4𝜎1010𝜎1011𝜎1110𝜎1111subscript𝑥2subscript𝑥4\displaystyle+(\sigma(1,0,1,0)-\sigma(1,0,1,1)-\sigma(1,1,1,0)+\sigma(1,1,1,1)% )x_{2}x_{4}+ ( italic_σ ( 1 , 0 , 1 , 0 ) - italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 1 , 1 , 0 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT
+(1+σ(0,1,1,0)σ(0,1,1,1)+σ(1,0,1,0)σ(1,0,1,1)σ(1,1,1,0)+σ(1,1,1,1))x31𝜎0110𝜎0111𝜎1010𝜎1011𝜎1110𝜎1111subscript𝑥3\displaystyle+(-1+\sigma(0,1,1,0)-\sigma(0,1,1,1)+\sigma(1,0,1,0)-\sigma(1,0,1% ,1)-\sigma(1,1,1,0)+\sigma(1,1,1,1))x_{3}+ ( - 1 + italic_σ ( 0 , 1 , 1 , 0 ) - italic_σ ( 0 , 1 , 1 , 1 ) + italic_σ ( 1 , 0 , 1 , 0 ) - italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 1 , 1 , 0 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT
+(1σ(0,1,0,1)σ(0,1,1,0)+2σ(0,1,1,1)σ(1,0,0,1)σ(1,0,1,0)+2σ(1,0,1,1)\displaystyle+(1-\sigma(0,1,0,1)-\sigma(0,1,1,0)+2\sigma(0,1,1,1)-\sigma(1,0,0% ,1)-\sigma(1,0,1,0)+2\sigma(1,0,1,1)+ ( 1 - italic_σ ( 0 , 1 , 0 , 1 ) - italic_σ ( 0 , 1 , 1 , 0 ) + 2 italic_σ ( 0 , 1 , 1 , 1 ) - italic_σ ( 1 , 0 , 0 , 1 ) - italic_σ ( 1 , 0 , 1 , 0 ) + 2 italic_σ ( 1 , 0 , 1 , 1 )
+σ(1,1,0,1)+σ(1,1,1,0)2σ(1,1,1,1))x3x4\displaystyle+\sigma(1,1,0,1)+\sigma(1,1,1,0)-2\sigma(1,1,1,1))x_{3}x_{4}+ italic_σ ( 1 , 1 , 0 , 1 ) + italic_σ ( 1 , 1 , 1 , 0 ) - 2 italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT
+(1+σ(0,1,0,1)σ(0,1,1,1)+σ(1,0,0,1)σ(1,0,1,1)σ(1,1,0,1)+σ(1,1,1,1))x4.1𝜎0101𝜎0111𝜎1001𝜎1011𝜎1101𝜎1111subscript𝑥4\displaystyle+(-1+\sigma(0,1,0,1)-\sigma(0,1,1,1)+\sigma(1,0,0,1)-\sigma(1,0,1% ,1)-\sigma(1,1,0,1)+\sigma(1,1,1,1))x_{4}\,.+ ( - 1 + italic_σ ( 0 , 1 , 0 , 1 ) - italic_σ ( 0 , 1 , 1 , 1 ) + italic_σ ( 1 , 0 , 0 , 1 ) - italic_σ ( 1 , 0 , 1 , 1 ) - italic_σ ( 1 , 1 , 0 , 1 ) + italic_σ ( 1 , 1 , 1 , 1 ) ) italic_x start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT .

Appendix C Worst-case scenarios for MPBS penalty multipliers

Local tuning: Consider the worst-case scenario where the optimal solution (see Eq. (39)) 𝐱superscript𝐱\mathbf{x}^{*}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is unique and for the node u𝑢uitalic_u provides the minimum contribution to the term i(u)wixisubscript𝑖𝑢subscript𝑤𝑖subscript𝑥𝑖\sum_{i\in\mathcal{E}(u)}w_{i}x_{i}∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, while there is a different combination 𝐱worstsubscript𝐱𝑤𝑜𝑟𝑠𝑡\mathbf{x}_{worst}bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT that violates CAP/FLOOR(u𝑢uitalic_u) and provides the maximum contribution to i(u)wixisubscript𝑖𝑢subscript𝑤𝑖subscript𝑥𝑖\sum_{i\in\mathcal{E}(u)}w_{i}x_{i}∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. Hence, we would have that the binary variables of 𝐱superscript𝐱\mathbf{x}^{*}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT associated to the transactions involving u𝑢uitalic_u are {x1,,xN(u)}={0,,0}superscriptsubscript𝑥1superscriptsubscript𝑥𝑁𝑢00\{x_{1}^{*},\dots,x_{N(u)}^{*}\}=\{0,\dots,0\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_N ( italic_u ) end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } = { 0 , … , 0 } and {xworst,1,,xworst,N(u)}={1,,1}subscript𝑥𝑤𝑜𝑟𝑠𝑡1subscript𝑥𝑤𝑜𝑟𝑠𝑡𝑁𝑢11\{x_{worst,1},\dots,x_{worst,{N(u)}}\}=\{1,\dots,1\}{ italic_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t , 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t , italic_N ( italic_u ) end_POSTSUBSCRIPT } = { 1 , … , 1 }. We choose λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT such that Qu(𝒢,𝐱,𝐬)subscript𝑄𝑢𝒢𝐱𝐬Q_{u}(\mathcal{G},\mathbf{x},\mathbf{s})italic_Q start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( caligraphic_G , bold_x , bold_s ) is larger for 𝐱=𝐱𝐱superscript𝐱\mathbf{x}=\mathbf{x}^{*}bold_x = bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT than for 𝐱=𝐱worst𝐱subscript𝐱𝑤𝑜𝑟𝑠𝑡\mathbf{x}=\mathbf{x}_{worst}bold_x = bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT:

i(u)wixworst,i+λuPuCF(𝐱worst,𝐬)i(u)wiλu<!i(u)wixi+λuPuCF(𝐱,𝐬)0,subscript𝑖𝑢subscript𝑤𝑖subscript𝑥𝑤𝑜𝑟𝑠𝑡𝑖subscript𝜆𝑢subscriptsuperscript𝑃𝐶𝐹𝑢subscript𝐱𝑤𝑜𝑟𝑠𝑡𝐬subscript𝑖𝑢subscript𝑤𝑖subscript𝜆𝑢superscriptsubscript𝑖𝑢subscript𝑤𝑖superscriptsubscript𝑥𝑖subscript𝜆𝑢subscriptsuperscript𝑃𝐶𝐹𝑢superscript𝐱superscript𝐬0\sum_{i\in\mathcal{E}(u)}w_{i}x_{worst,i}+\lambda_{u}P^{CF}_{u}(\mathbf{x}_{% worst},\mathbf{s})\leq\sum_{i\in\mathcal{E}(u)}w_{i}-\lambda_{u}\stackrel{{% \scriptstyle!}}{{<}}\sum_{i\in\mathcal{E}(u)}w_{i}x_{i}^{*}+\lambda_{u}P^{CF}_% {u}(\mathbf{x}^{*},\mathbf{s}^{*})\leq 0\,,∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t , italic_i end_POSTSUBSCRIPT + italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT , bold_s ) ≤ ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG < end_ARG start_ARG ! end_ARG end_RELOP ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT + italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , bold_s start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) ≤ 0 , (72)

where we used PuCF(𝐱worst,𝐬)1subscriptsuperscript𝑃𝐶𝐹𝑢subscript𝐱𝑤𝑜𝑟𝑠𝑡𝐬1P^{CF}_{u}(\mathbf{x}_{worst},\mathbf{s})\leq-1italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT , bold_s ) ≤ - 1 because {xworst,1,,xworst,N(u)}={1,,1}subscript𝑥𝑤𝑜𝑟𝑠𝑡1subscript𝑥𝑤𝑜𝑟𝑠𝑡𝑁𝑢11\{x_{worst,1},\dots,x_{worst,N(u)}\}=\{1,\dots,1\}{ italic_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t , 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t , italic_N ( italic_u ) end_POSTSUBSCRIPT } = { 1 , … , 1 } satisfies the node constraints, {x1,,xN(u)}={0,,0}superscriptsubscript𝑥1superscriptsubscript𝑥𝑁𝑢00\{x_{1}^{*},\dots,x_{N(u)}^{*}\}=\{0,\dots,0\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_N ( italic_u ) end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } = { 0 , … , 0 } and the fact that PuCF(𝐱,𝐬)0subscriptsuperscript𝑃𝐶𝐹𝑢superscript𝐱superscript𝐬0P^{CF}_{u}(\mathbf{x}^{*},\mathbf{s}^{*})\leq 0italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , bold_s start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) ≤ 0 because {x1,,xN}superscriptsubscript𝑥1superscriptsubscript𝑥𝑁\{x_{1}^{*},\dots,x_{N}^{*}\}{ italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } satisfies CAP/FLOOR(u𝑢uitalic_u) and IN/OUT(u𝑢uitalic_u). The exclamation mark above the inequality symbol underlines that, if satisfied, λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT can be considered large enough in this local setting.

From Eq. (72), we derive the lower-bound λu>w(u)subscript𝜆𝑢𝑤𝑢\lambda_{u}>w(u)italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT > italic_w ( italic_u ), where w(u)=i(u)wi𝑤𝑢subscript𝑖𝑢subscript𝑤𝑖w(u)=\sum_{i\in\mathcal{E}(u)}w_{i}italic_w ( italic_u ) = ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is the total amount of the transactions involved with the node u𝑢uitalic_u. Notice that this is the same result obtained in Eq. (67). Hence, we fix the notation

λulocal=γw(u) where γ>1.formulae-sequencesuperscriptsubscript𝜆𝑢𝑙𝑜𝑐𝑎𝑙𝛾𝑤𝑢 where 𝛾1\lambda_{u}^{local}=\gamma\,w(u)\hskip 11.38092pt\mbox{ where }\,\,\gamma>1\,.italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l italic_o italic_c italic_a italic_l end_POSTSUPERSCRIPT = italic_γ italic_w ( italic_u ) where italic_γ > 1 . (73)

An estimate for λuIOsubscriptsuperscript𝜆𝐼𝑂𝑢\lambda^{IO}_{u}italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT can be obtained similarly. The worst-case scenario is obtained when the restriction of 𝐱superscript𝐱\mathbf{x}^{*}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT on u𝑢uitalic_u is {0,,0}00\{0,\dots,0\}{ 0 , … , 0 }, namely providing a null contribution to iwixisubscript𝑖subscript𝑤𝑖subscript𝑥𝑖\sum_{i}w_{i}x_{i}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, while 𝐱worstsubscript𝐱𝑤𝑜𝑟𝑠𝑡\mathbf{x}_{worst}bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT is the combination providing the largest contribution to iwixisubscript𝑖subscript𝑤𝑖subscript𝑥𝑖\sum_{i}w_{i}x_{i}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT among those violating IN/OUT(u𝑢uitalic_u) and PCF(𝐱worst,𝐬)superscript𝑃𝐶𝐹subscript𝐱𝑤𝑜𝑟𝑠𝑡𝐬P^{CF}(\mathbf{x}_{worst},\mathbf{s})italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT ( bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT , bold_s ) provides the largest accidental incentive for 𝐱worstsubscript𝐱𝑤𝑜𝑟𝑠𝑡\mathbf{x}_{worst}bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT, namely PuCF(𝐱worst,𝐬)=max𝐱,𝐬PuCF(𝐱,𝐬)=Pmax,uCF0subscriptsuperscript𝑃𝐶𝐹𝑢subscript𝐱𝑤𝑜𝑟𝑠𝑡𝐬subscript𝐱𝐬subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬subscriptsuperscript𝑃𝐶𝐹𝑚𝑎𝑥𝑢0P^{CF}_{u}(\mathbf{x}_{worst},\mathbf{s})=\max_{\mathbf{x},\mathbf{s}}P^{CF}_{% u}(\mathbf{x},\mathbf{s})=P^{CF}_{max,u}\geq 0italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT , bold_s ) = roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) = italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_m italic_a italic_x , italic_u end_POSTSUBSCRIPT ≥ 0. We choose λuIOsubscriptsuperscript𝜆𝐼𝑂𝑢\lambda^{IO}_{u}italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT such that the term max𝐬Qu(𝒢,𝐱,𝐬)subscript𝐬subscript𝑄𝑢𝒢𝐱𝐬\max_{\mathbf{s}}Q_{u}(\mathcal{G},\mathbf{x},\mathbf{s})roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_Q start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( caligraphic_G , bold_x , bold_s ) is larger for 𝐱=𝐱𝐱superscript𝐱\mathbf{x}=\mathbf{x}^{*}bold_x = bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT than for 𝐱=𝐱worst𝐱subscript𝐱𝑤𝑜𝑟𝑠𝑡\mathbf{x}=\mathbf{x}_{worst}bold_x = bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT:

max𝐬Qu(𝒢,𝐱worst,𝐬)subscript𝐬subscript𝑄𝑢𝒢subscript𝐱𝑤𝑜𝑟𝑠𝑡𝐬\displaystyle\max_{\mathbf{s}}Q_{u}(\mathcal{G},\mathbf{x}_{worst},\mathbf{s})roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_Q start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( caligraphic_G , bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT , bold_s ) =\displaystyle== max𝐬(i(u)wixworst,i+λu(PuCF(𝐱worst,𝐬)+λuIOPuIO(𝐱worst,𝐬)))<(1+γPmaxCF(u))w(u)λIO(u)subscript𝐬subscript𝑖𝑢subscript𝑤𝑖subscript𝑥𝑤𝑜𝑟𝑠𝑡𝑖subscript𝜆𝑢subscriptsuperscript𝑃𝐶𝐹𝑢subscript𝐱𝑤𝑜𝑟𝑠𝑡𝐬subscriptsuperscript𝜆𝐼𝑂𝑢subscriptsuperscript𝑃𝐼𝑂𝑢subscript𝐱𝑤𝑜𝑟𝑠𝑡𝐬1𝛾subscriptsuperscript𝑃𝐶𝐹𝑚𝑎𝑥𝑢𝑤𝑢superscript𝜆𝐼𝑂𝑢\displaystyle\max_{\mathbf{s}}\left(\sum_{i\in\mathcal{E}(u)}w_{i}x_{worst,i}+% \lambda_{u}\left(P^{CF}_{u}(\mathbf{x}_{worst},\mathbf{s})+\lambda^{IO}_{u}P^{% IO}_{u}(\mathbf{x}_{worst},\mathbf{s})\right)\right)<(1+\gamma\,P^{CF}_{max}(u% ))w(u)-\lambda^{IO}(u)roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT ( ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t , italic_i end_POSTSUBSCRIPT + italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT , bold_s ) + italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT , bold_s ) ) ) < ( 1 + italic_γ italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_m italic_a italic_x end_POSTSUBSCRIPT ( italic_u ) ) italic_w ( italic_u ) - italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT ( italic_u )
<!superscript\displaystyle\stackrel{{\scriptstyle!}}{{<}}start_RELOP SUPERSCRIPTOP start_ARG < end_ARG start_ARG ! end_ARG end_RELOP max𝐬Qu(𝒢,𝐱,𝐬)=max𝐬(i(u)wixi+λu(PuCF(𝐱,𝐬)+λuIOPuIO(𝐱,𝐬)))=0.subscript𝐬subscript𝑄𝑢𝒢superscript𝐱𝐬subscript𝐬subscript𝑖𝑢subscript𝑤𝑖superscriptsubscript𝑥𝑖subscript𝜆𝑢subscriptsuperscript𝑃𝐶𝐹𝑢superscript𝐱𝐬subscriptsuperscript𝜆𝐼𝑂𝑢subscriptsuperscript𝑃𝐼𝑂𝑢superscript𝐱𝐬0\displaystyle\max_{\mathbf{s}}Q_{u}(\mathcal{G},\mathbf{x}^{*},\mathbf{s})=% \max_{\mathbf{s}}\left(\sum_{i\in\mathcal{E}(u)}w_{i}x_{i}^{*}+\lambda_{u}% \left(P^{CF}_{u}(\mathbf{x}^{*},\mathbf{s})+\lambda^{IO}_{u}P^{IO}_{u}(\mathbf% {x}^{*},\mathbf{s})\right)\right)=0\,.roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_Q start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( caligraphic_G , bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , bold_s ) = roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT ( ∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT + italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , bold_s ) + italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , bold_s ) ) ) = 0 .

The first inequality is justified because {1,,1}11\{1,\dots,1\}{ 1 , … , 1 } satisfies IN/OUT(u𝑢uitalic_u) and therefore i(u)wixworst,i<w(u)subscript𝑖𝑢subscript𝑤𝑖subscript𝑥𝑤𝑜𝑟𝑠𝑡𝑖𝑤𝑢\sum_{i\in\mathcal{E}(u)}w_{i}x_{worst,i}<w(u)∑ start_POSTSUBSCRIPT italic_i ∈ caligraphic_E ( italic_u ) end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t , italic_i end_POSTSUBSCRIPT < italic_w ( italic_u ), λu=γw(u)subscript𝜆𝑢𝛾𝑤𝑢\lambda_{u}=\gamma\,w(u)italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT = italic_γ italic_w ( italic_u ), PuCF(𝐱worst,𝐬)=Pmax,uCFsubscriptsuperscript𝑃𝐶𝐹𝑢subscript𝐱𝑤𝑜𝑟𝑠𝑡𝐬subscriptsuperscript𝑃𝐶𝐹𝑚𝑎𝑥𝑢P^{CF}_{u}(\mathbf{x}_{worst},\mathbf{s})=P^{CF}_{max,u}italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x start_POSTSUBSCRIPT italic_w italic_o italic_r italic_s italic_t end_POSTSUBSCRIPT , bold_s ) = italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_m italic_a italic_x , italic_u end_POSTSUBSCRIPT and PuIO(𝐱,𝐬)1subscriptsuperscript𝑃𝐼𝑂𝑢𝐱𝐬1P^{IO}_{u}(\mathbf{x},\mathbf{s})\leq-1italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) ≤ - 1 for combinations violating IN/OUT(u𝑢uitalic_u). Moreover, we used iwixi=0subscript𝑖subscript𝑤𝑖superscriptsubscript𝑥𝑖0\sum_{i}w_{i}x_{i}^{*}=0∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = 0 and the fact that 𝐱superscript𝐱\mathbf{x}^{*}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT satisfies the node constraints. A consequence of this first inequality is that we are imposing a looser condition than previously declared 666A tighter version of λIO(u)superscript𝜆𝐼𝑂𝑢\lambda^{IO}(u)italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT ( italic_u ) could be formulated, but we do not see any particular advantage in performing the extra computation required.. Hence, we have the lower-bound λuIO>(1+λPmax,uCF)/γ.subscriptsuperscript𝜆𝐼𝑂𝑢1𝜆subscriptsuperscript𝑃𝐶𝐹𝑚𝑎𝑥𝑢𝛾\lambda^{IO}_{u}>(1+\lambda\,P^{CF}_{max,u})/\gamma\,.italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT > ( 1 + italic_λ italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_m italic_a italic_x , italic_u end_POSTSUBSCRIPT ) / italic_γ . Since we assumed Pmax,uCF0subscriptsuperscript𝑃𝐶𝐹𝑚𝑎𝑥𝑢0P^{CF}_{max,u}\geq 0italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_m italic_a italic_x , italic_u end_POSTSUBSCRIPT ≥ 0, for the general case we can consider:

λuIO=1+γmax{0,max𝐱,𝐬PuCF(𝐱,𝐬)}, where γ>1.subscriptsuperscript𝜆𝐼𝑂𝑢1𝛾0subscript𝐱𝐬subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬 where γ>1.\lambda^{IO}_{u}=1+\gamma\max\left\{0,\max_{\mathbf{x},\mathbf{s}}P^{CF}_{u}(% \mathbf{x},\mathbf{s})\right\}\,,\,\,\mbox{ where $\gamma>1$.}italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT = 1 + italic_γ roman_max { 0 , roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) } , where italic_γ > 1 . (74)

Non-local tuning: We set some lower-bounds (73) and (74) for, respectively, λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT and λuIOsubscriptsuperscript𝜆𝐼𝑂𝑢\lambda^{IO}_{u}italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT by imposing that the sub-QUBO that corresponds to the node u𝑢uitalic_u assumes the largest value when 𝐱𝐱\mathbf{x}bold_x satisfies CAP/FLOOR(u𝑢uitalic_u) and IN/OUT(u𝑢uitalic_u). We called it local because we are not considering the possible consequences that a violation of CAP/FLOOR(u𝑢uitalic_u) and/or IN/OUT(u𝑢uitalic_u) may have on max𝐬Qv(𝒢,𝐱,𝐬)subscript𝐬subscript𝑄𝑣𝒢𝐱𝐬\max_{\mathbf{s}}Q_{v}(\mathcal{G},\mathbf{x},\mathbf{s})roman_max start_POSTSUBSCRIPT bold_s end_POSTSUBSCRIPT italic_Q start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT ( caligraphic_G , bold_x , bold_s ) for some node vu𝑣𝑢v\neq uitalic_v ≠ italic_u. Indeed, the possible incentives that these situation may generate could require to set higher values of λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT and λuIOsubscriptsuperscript𝜆𝐼𝑂𝑢\lambda^{IO}_{u}italic_λ start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT.

Imagine the following unfortunate scenario: 𝐱superscript𝐱\mathbf{x}^{*}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT, in order to respect CAP/FLOOR(u𝑢uitalic_u) and IN/OUT(u𝑢uitalic_u), has many 00s for the variables xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT corresponding to the transactions in u𝑢uitalic_u. As a consequence, the transactions of the nodes v𝑣vitalic_v neighbouring u𝑢uitalic_u are not activated too (otherwise CAP/FLOOR(v𝑣vitalic_v) or IN/OUT(v𝑣vitalic_v) may be violated), resulting in many other xi=0subscript𝑥𝑖0x_{i}=0italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = 0 for the arcs belonging to the nodes v𝑣vitalic_v sharing at least one arc with u𝑢uitalic_u. Hence, it may happen that a violation of CAP/FLOOR(u𝑢uitalic_u) and/or IN/OUT(u𝑢uitalic_u) in u𝑢uitalic_u allows the activation of many other transactions for the nodes neighbouring u𝑢uitalic_u, where instead there are no violations of CAP/FLOOR(v𝑣vitalic_v) and IN/OUT(v𝑣vitalic_v). Therefore, there may exists a string that receives a penalty for the violation of CAP/FLOOR(u𝑢uitalic_u) and/or IN/OUT(u𝑢uitalic_u) in u𝑢uitalic_u, but this penalty is overcompensated by the incentives activated by the neighbouring nodes (without penalties). We define the nodes adjacent to u𝑢uitalic_u as follows:

neigh(u)={v𝒱|(u,v)(v,u)}.neigh𝑢conditional-set𝑣𝒱𝑢𝑣𝑣𝑢\mbox{neigh}(u)=\{v\in\mathcal{V}\,|\,\exists(u,v)\lor(v,u)\in\mathcal{E}\}\,.neigh ( italic_u ) = { italic_v ∈ caligraphic_V | ∃ ( italic_u , italic_v ) ∨ ( italic_v , italic_u ) ∈ caligraphic_E } . (75)

Therefore, to prevent that arg(max𝐱,𝐬Q(𝒢,𝐱,𝐬))subscript𝐱𝐬𝑄𝒢𝐱𝐬\arg(\max_{\mathbf{x},\mathbf{s}}Q(\mathcal{G},\mathbf{x},\mathbf{s}))roman_arg ( roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_Q ( caligraphic_G , bold_x , bold_s ) ) violates CAP/FLOOR(u𝑢uitalic_u) and/or IN/OUT(u𝑢uitalic_u) as described, we consider:

max𝐱,𝐬Q(𝒢,𝐱,𝐬)=max𝐱,𝐬iwixi+γu𝒱wneigh(u)(PuCF(𝐱,𝐬)+(1+γmax{0,max𝐱,𝐬PuCF(𝐱,𝐬)})PuIO(𝐱,𝐬)),subscript𝐱𝐬𝑄𝒢𝐱𝐬subscript𝐱𝐬subscript𝑖subscript𝑤𝑖subscript𝑥𝑖𝛾subscript𝑢𝒱superscript𝑤𝑛𝑒𝑖𝑔𝑢subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬1𝛾0subscript𝐱𝐬subscriptsuperscript𝑃𝐶𝐹𝑢𝐱𝐬subscriptsuperscript𝑃𝐼𝑂𝑢𝐱𝐬\max_{\mathbf{x},\mathbf{s}}Q(\mathcal{G},\mathbf{x},\mathbf{s})=\max_{\mathbf% {x},\mathbf{s}}\sum_{i}w_{i}x_{i}+\gamma\sum_{u\in\mathcal{V}}w^{neigh}(u)% \left(P^{CF}_{u}(\mathbf{x},\mathbf{s})+\left(1+\gamma\max\left\{0,\max_{% \mathbf{x},\mathbf{s}}P^{CF}_{u}(\mathbf{x},\mathbf{s})\right\}\right)P^{IO}_{% u}(\mathbf{x},\mathbf{s})\right)\,,roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_Q ( caligraphic_G , bold_x , bold_s ) = roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_γ ∑ start_POSTSUBSCRIPT italic_u ∈ caligraphic_V end_POSTSUBSCRIPT italic_w start_POSTSUPERSCRIPT italic_n italic_e italic_i italic_g italic_h end_POSTSUPERSCRIPT ( italic_u ) ( italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) + ( 1 + italic_γ roman_max { 0 , roman_max start_POSTSUBSCRIPT bold_x , bold_s end_POSTSUBSCRIPT italic_P start_POSTSUPERSCRIPT italic_C italic_F end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) } ) italic_P start_POSTSUPERSCRIPT italic_I italic_O end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT ( bold_x , bold_s ) ) , (76)
wneigh(u)=vneigh(u)w(v),superscript𝑤𝑛𝑒𝑖𝑔𝑢subscript𝑣neigh𝑢𝑤𝑣w^{neigh}(u)=\sum_{v\in\mbox{\scriptsize neigh}(u)}w(v)\,,italic_w start_POSTSUPERSCRIPT italic_n italic_e italic_i italic_g italic_h end_POSTSUPERSCRIPT ( italic_u ) = ∑ start_POSTSUBSCRIPT italic_v ∈ neigh ( italic_u ) end_POSTSUBSCRIPT italic_w ( italic_v ) ,

where γ>1𝛾1\gamma>1italic_γ > 1 and is the the sum of all the transactions involving u𝑢uitalic_u and the neighbouring nodes. Notice that the multipliers involved in Eq. (76) are obtained by replacing w(u)𝑤𝑢w(u)italic_w ( italic_u ) with wneigh(u)superscript𝑤𝑛𝑒𝑖𝑔𝑢w^{neigh}(u)italic_w start_POSTSUPERSCRIPT italic_n italic_e italic_i italic_g italic_h end_POSTSUPERSCRIPT ( italic_u ) from the local formulation, namely we have:

λu=γwneigh(u), where γ>1.subscript𝜆𝑢𝛾superscript𝑤𝑛𝑒𝑖𝑔𝑢 where γ>1.\displaystyle\lambda_{u}=\gamma\,w^{neigh}(u)\,,\,\,\mbox{ where $\gamma>1$.}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT = italic_γ italic_w start_POSTSUPERSCRIPT italic_n italic_e italic_i italic_g italic_h end_POSTSUPERSCRIPT ( italic_u ) , where italic_γ > 1 . (77)

Global tuning: In order to get a global tuning, we consider the following choice of λusubscript𝜆𝑢\lambda_{u}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT:

λu=γiwi, where γ>1.subscript𝜆𝑢𝛾subscript𝑖subscript𝑤𝑖 where γ>1.\displaystyle\lambda_{u}=\gamma\sum_{i}w_{i}\,,\,\,\mbox{ where $\gamma>1$.}italic_λ start_POSTSUBSCRIPT italic_u end_POSTSUBSCRIPT = italic_γ ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , where italic_γ > 1 . (78)

and iwisubscript𝑖subscript𝑤𝑖\sum_{i}w_{i}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is the sum of all the transaction defined on \mathcal{E}caligraphic_E.