cimod
C++ library for a binary (and polynomial) quadratic model.
binary_quadratic_model.py File Reference

Namespaces

 cimod.model.binary_quadratic_model
 

Functions

def cimod.model.binary_quadratic_model.get_cxxcimod_class (linear, quadratic, sparse)
 
def cimod.model.binary_quadratic_model.extract_offset_and_vartype (*args, **kwargs)
 
def cimod.model.binary_quadratic_model.make_BinaryQuadraticModel (linear, quadratic, sparse)
 
def cimod.model.binary_quadratic_model.make_BinaryQuadraticModel_from_JSON (obj)
 
def cimod.model.binary_quadratic_model.BinaryQuadraticModel (linear, quadratic, *args, **kwargs)
 
def cimod.model.binary_quadratic_model.bqm_from_numpy_matrix (mat, list variables=None, offset=0.0, vartype="BINARY", **kwargs)
 
def cimod.model.binary_quadratic_model.bqm_from_qubo (Q, offset=0.0, **kwargs)
 
def cimod.model.binary_quadratic_model.bqm_from_ising (linear, quadratic, offset=0.0, **kwargs)
 

Variables

 cimod.model.binary_quadratic_model.model_type