cimod
C++ library for a binary (and polynomial) quadratic model.
cimod.model.binary_polynomial_model Namespace Reference

Classes

class  Polynomial
 

Functions

def make_BinaryPolynomialModel (polynomial, index_type=None, tuple_size=0)
 
def make_BinaryPolynomialModel_from_JSON (obj)
 
def BinaryPolynomialModel (*args, **kwargs)
 
def _BinaryPolynomialModel_from_dict (dict polynomial, vartype)
 
def _BinaryPolynomialModel_from_list (list keys, list values, vartype)
 
def make_BinaryPolynomialModel_from_hising (*args, **kwargs)
 
def _make_BinaryPolynomialModel_from_hising_from_dict (dict polynomial)
 
def _make_BinaryPolynomialModel_from_hising_from_list (list keys, list values)
 
def make_BinaryPolynomialModel_from_hubo (*args, **kwargs)
 
def _make_BinaryPolynomialModel_from_hubo_from_dict (dict polynomial)
 
def _make_BinaryPolynomialModel_from_hubo_from_list (list keys, list values)
 

Variables

 index_type
 
 model_type
 

Function Documentation

◆ _BinaryPolynomialModel_from_dict()

def cimod.model.binary_polynomial_model._BinaryPolynomialModel_from_dict ( dict  polynomial,
  vartype 
)
private

References cimod.model.binary_polynomial_model.make_BinaryPolynomialModel(), and cimod.vartype.to_cxxcimod().

Referenced by cimod.model.binary_polynomial_model.BinaryPolynomialModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _BinaryPolynomialModel_from_list()

def cimod.model.binary_polynomial_model._BinaryPolynomialModel_from_list ( list  keys,
list  values,
  vartype 
)
private

References cimod.model.binary_polynomial_model.make_BinaryPolynomialModel(), and cimod.vartype.to_cxxcimod().

Referenced by cimod.model.binary_polynomial_model.BinaryPolynomialModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _make_BinaryPolynomialModel_from_hising_from_dict()

def cimod.model.binary_polynomial_model._make_BinaryPolynomialModel_from_hising_from_dict ( dict  polynomial)
private

References cimod.model.binary_polynomial_model.make_BinaryPolynomialModel().

Referenced by cimod.model.binary_polynomial_model.make_BinaryPolynomialModel_from_hising().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _make_BinaryPolynomialModel_from_hising_from_list()

def cimod.model.binary_polynomial_model._make_BinaryPolynomialModel_from_hising_from_list ( list  keys,
list  values 
)
private

References cimod.model.binary_polynomial_model.make_BinaryPolynomialModel().

Referenced by cimod.model.binary_polynomial_model.make_BinaryPolynomialModel_from_hising().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _make_BinaryPolynomialModel_from_hubo_from_dict()

def cimod.model.binary_polynomial_model._make_BinaryPolynomialModel_from_hubo_from_dict ( dict  polynomial)
private

References cimod.model.binary_polynomial_model.make_BinaryPolynomialModel().

Referenced by cimod.model.binary_polynomial_model.make_BinaryPolynomialModel_from_hubo().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _make_BinaryPolynomialModel_from_hubo_from_list()

def cimod.model.binary_polynomial_model._make_BinaryPolynomialModel_from_hubo_from_list ( list  keys,
list  values 
)
private

◆ BinaryPolynomialModel()

def cimod.model.binary_polynomial_model.BinaryPolynomialModel ( args,
**  kwargs 
)

◆ make_BinaryPolynomialModel()

def cimod.model.binary_polynomial_model.make_BinaryPolynomialModel (   polynomial,
  index_type = None,
  tuple_size = 0 
)

◆ make_BinaryPolynomialModel_from_hising()

def cimod.model.binary_polynomial_model.make_BinaryPolynomialModel_from_hising ( args,
**  kwargs 
)

◆ make_BinaryPolynomialModel_from_hubo()

def cimod.model.binary_polynomial_model.make_BinaryPolynomialModel_from_hubo ( args,
**  kwargs 
)

◆ make_BinaryPolynomialModel_from_JSON()

def cimod.model.binary_polynomial_model.make_BinaryPolynomialModel_from_JSON (   obj)

References cimod.model.binary_polynomial_model.make_BinaryPolynomialModel().

Referenced by cimod.model.binary_polynomial_model._make_BinaryPolynomialModel_from_hubo_from_list().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ index_type

cimod.model.binary_polynomial_model.index_type

◆ model_type

cimod.model.binary_polynomial_model.model_type