OR-Tools  9.1
solver_interface.h File Reference

Go to the source code of this file.

Classes

class  SolverInterface
 
class  AllSolversRegistry
 

Namespaces

namespace  operations_research
 Collection of objects used to extend the Constraint Solver library.
 
namespace  operations_research::math_opt
 

Macros

#define MATH_OPT_REGISTER_SOLVER(solver_type, solver_factory)
 

Macro Definition Documentation

◆ MATH_OPT_REGISTER_SOLVER

#define MATH_OPT_REGISTER_SOLVER (   solver_type,
  solver_factory 
)
Value:
namespace { \
const void* const kRegisterSolver ABSL_ATTRIBUTE_UNUSED = [] { \
AllSolversRegistry::Instance()->Register(solver_type, solver_factory); \
return nullptr; \
}(); \
}

Definition at line 144 of file solver_interface.h.