Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
callback.h File Reference
#include <functional>
#include <optional>
#include <utility>
#include <vector>
#include "absl/container/flat_hash_set.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/time/time.h"
#include "ortools/math_opt/callback.pb.h"
#include "ortools/math_opt/cpp/enums.h"
#include "ortools/math_opt/cpp/map_filter.h"
#include "ortools/math_opt/cpp/model.h"
#include "ortools/math_opt/cpp/variable_and_expressions.h"
#include "ortools/math_opt/storage/model_storage.h"

Go to the source code of this file.

Classes

struct  operations_research::math_opt::CallbackRegistration
struct  operations_research::math_opt::CallbackData
struct  operations_research::math_opt::CallbackResult
struct  operations_research::math_opt::CallbackResult::GeneratedLinearConstraint

Namespaces

namespace  operations_research
 OR-Tools root namespace.
namespace  operations_research::math_opt

Typedefs

using operations_research::math_opt::Callback = std::function<CallbackResult(const CallbackData&)>

Enumerations

enum class  operations_research::math_opt::CallbackEvent {
  operations_research::math_opt::kPresolve = CALLBACK_EVENT_PRESOLVE , operations_research::math_opt::kSimplex = CALLBACK_EVENT_SIMPLEX , operations_research::math_opt::kMip = CALLBACK_EVENT_MIP , operations_research::math_opt::kMipSolution = CALLBACK_EVENT_MIP_SOLUTION ,
  operations_research::math_opt::kMipNode = CALLBACK_EVENT_MIP_NODE , operations_research::math_opt::kBarrier = CALLBACK_EVENT_BARRIER
}

Functions

 operations_research::math_opt::MATH_OPT_DEFINE_ENUM (CallbackEvent, CALLBACK_EVENT_UNSPECIFIED)