cimod
C++ library for a binary (and polynomial) quadratic model.
vartypes.hpp File Reference
#include <iostream>
Include dependency graph for vartypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cimod
 

Enumerations

enum class  cimod::Vartype { cimod::SPIN = 0 , cimod::BINARY , cimod::NONE = -1 }
 Enum class for representing problem type. More...
 

Functions

bool cimod::check_vartype (const int32_t &var, const Vartype &vartype)
 Check that the variable has appropriate value. More...