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

Detailed Description

Definition at line 79 of file callback_tests.h.

#include <callback_tests.h>

Public Member Functions

 CallbackTestParams (SolverType solver_type, bool integer_variables, bool add_lazy_constraints, bool add_cuts, absl::flat_hash_set< CallbackEvent > supported_events, std::optional< SolveParameters > all_solutions, std::optional< SolveParameters > reaches_cut_callback)

Public Attributes

SolverType solver_type
bool integer_variables
bool add_lazy_constraints
bool add_cuts
absl::flat_hash_set< CallbackEventsupported_events
std::optional< SolveParametersall_solutions
std::optional< SolveParametersreaches_cut_callback

Friends

std::ostream & operator<< (std::ostream &out, const CallbackTestParams &params)

Constructor & Destructor Documentation

◆ CallbackTestParams()

operations_research::math_opt::CallbackTestParams::CallbackTestParams ( SolverType solver_type,
bool integer_variables,
bool add_lazy_constraints,
bool add_cuts,
absl::flat_hash_set< CallbackEvent > supported_events,
std::optional< SolveParameters > all_solutions,
std::optional< SolveParameters > reaches_cut_callback )

Definition at line 77 of file callback_tests.cc.

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const CallbackTestParams & params )
friend

Definition at line 111 of file callback_tests.cc.

Member Data Documentation

◆ add_cuts

bool operations_research::math_opt::CallbackTestParams::add_cuts

Definition at line 96 of file callback_tests.h.

◆ add_lazy_constraints

bool operations_research::math_opt::CallbackTestParams::add_lazy_constraints

Definition at line 93 of file callback_tests.h.

◆ all_solutions

std::optional<SolveParameters> operations_research::math_opt::CallbackTestParams::all_solutions

Definition at line 103 of file callback_tests.h.

◆ integer_variables

bool operations_research::math_opt::CallbackTestParams::integer_variables

Definition at line 90 of file callback_tests.h.

◆ reaches_cut_callback

std::optional<SolveParameters> operations_research::math_opt::CallbackTestParams::reaches_cut_callback

Definition at line 108 of file callback_tests.h.

◆ solver_type

SolverType operations_research::math_opt::CallbackTestParams::solver_type

Definition at line 87 of file callback_tests.h.

◆ supported_events

absl::flat_hash_set<CallbackEvent> operations_research::math_opt::CallbackTestParams::supported_events

Definition at line 99 of file callback_tests.h.


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