Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::CallbackData Struct Reference

Detailed Description

Definition at line 196 of file callback.h.

#include <callback.h>

Public Member Functions

 CallbackData (CallbackEvent event, absl::Duration runtime)
 CallbackData (ModelStorageCPtr storage, const CallbackDataProto &proto)
absl::Status CheckModelStorage (ModelStorageCPtr expected_storage) const
absl::StatusOr< CallbackDataProtoProto () const

Public Attributes

CallbackEvent event
std::optional< VariableMap< double > > solution
absl::Duration runtime
CallbackDataProto::PresolveStats presolve_stats
CallbackDataProto::SimplexStats simplex_stats
CallbackDataProto::BarrierStats barrier_stats
CallbackDataProto::MipStats mip_stats

Constructor & Destructor Documentation

◆ CallbackData() [1/2]

operations_research::math_opt::CallbackData::CallbackData ( CallbackEvent event,
absl::Duration runtime )

Definition at line 68 of file callback.cc.

◆ CallbackData() [2/2]

operations_research::math_opt::CallbackData::CallbackData ( ModelStorageCPtr storage,
const CallbackDataProto & proto )

Definition at line 72 of file callback.cc.

Member Function Documentation

◆ CheckModelStorage()

absl::Status operations_research::math_opt::CallbackData::CheckModelStorage ( ModelStorageCPtr expected_storage) const

Definition at line 91 of file callback.cc.

◆ Proto()

absl::StatusOr< CallbackDataProto > operations_research::math_opt::CallbackData::Proto ( ) const

Definition at line 103 of file callback.cc.

Member Data Documentation

◆ barrier_stats

CallbackDataProto::BarrierStats operations_research::math_opt::CallbackData::barrier_stats

Definition at line 237 of file callback.h.

◆ event

CallbackEvent operations_research::math_opt::CallbackData::event

Definition at line 215 of file callback.h.

◆ mip_stats

CallbackDataProto::MipStats operations_research::math_opt::CallbackData::mip_stats

Definition at line 241 of file callback.h.

◆ presolve_stats

CallbackDataProto::PresolveStats operations_research::math_opt::CallbackData::presolve_stats

Definition at line 231 of file callback.h.

◆ runtime

absl::Duration operations_research::math_opt::CallbackData::runtime

Definition at line 228 of file callback.h.

◆ simplex_stats

CallbackDataProto::SimplexStats operations_research::math_opt::CallbackData::simplex_stats

Definition at line 234 of file callback.h.

◆ solution

std::optional<VariableMap<double> > operations_research::math_opt::CallbackData::solution

Definition at line 225 of file callback.h.


The documentation for this struct was generated from the following files: