Google OR-Tools v9.11
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/time/time.h"
#include "absl/types/span.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/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
 The value returned by the Callback function. More...
 
struct  operations_research::math_opt::CallbackResult::GeneratedLinearConstraint
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::math_opt
 An object oriented wrapper for quadratic constraints in ModelStorage.
 

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
}
 The supported events during a solve for callbacks. More...
 

Functions

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