Integer models
In addition to the Ising and QUBO representations of problems, some of our Dirac devices are also able to treat integer problems. The basic quadratic integer optimization model takes linear and quadratic terms of integer variables , often abbreviated as the energy within an integer model is therefore defined as
Where optimal solutions are those which minimize energy. QUBOs are a special case of an integer model where , although in this case the terms are redundant since . For however this is no longer true , so separate linear terms make the model more expressive.
While is fixed in our devices, it is possible to represent a variable of size by implementing the following quadratic constraint
if the constraint term is large (and positive) than this constraint will give a large positive contribution to the energy unless , since the minimum value of is , the maximum value of which can avoid incurring a penalty is . Where we recover a QUBO variable from a higher integer model.
Quadratic integer models are natural for expressing integer linear programming problems. The terms naturally. If we consider such a problem in its standard form (written element wise with matrix and vector multiplication expanded out and considering variables):
maximisesubject to
The first maximization can be converted to a minimization negating the elements of , and as long as the elements of and are integers, constraints can be enforced by adding terms of the form
where we ensure that enough slack variables are added to accommodate all possible values.
As with Ising models, higher order terms are possible with integer models, for example objective functions of the form:
these capabilities are under development, and represent an exciting future direction for this technology.