Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
solver_interface.h File Reference
#include <functional>
#include <memory>
#include <string>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/base/nullability.h"
#include "absl/base/thread_annotations.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/status/statusor.h"
#include "absl/synchronization/mutex.h"
#include "ortools/math_opt/callback.pb.h"
#include "ortools/math_opt/core/non_streamable_solver_init_arguments.h"
#include "ortools/math_opt/infeasible_subsystem.pb.h"
#include "ortools/math_opt/model.pb.h"
#include "ortools/math_opt/model_parameters.pb.h"
#include "ortools/math_opt/model_update.pb.h"
#include "ortools/math_opt/parameters.pb.h"
#include "ortools/math_opt/result.pb.h"
#include "ortools/util/solve_interrupter.h"

Go to the source code of this file.

Classes

class  operations_research::math_opt::SolverInterface
struct  operations_research::math_opt::SolverInterface::InitArgs
class  operations_research::math_opt::AllSolversRegistry

Namespaces

namespace  operations_research
 OR-Tools root namespace.
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 260 of file solver_interface.h.