Adds a linear constraint of the form $$\sum_{i} a_{i} x_{i} + C = 0$$ to the binary quadratic model as a quadratic objective.
• terms (iterable/iterator) – An iterable of 2-tuples, (variable, bias), with each tuple constituting a term in $$\sum_{i} a_{i} x_{i}, with :math:$$ being the length of the iterable.
• constant – The constant value of the constraint, $$C$$, in the equation above.