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

Parameters for the MessageCallbackTest suite below. More...

#include <callback_tests.h>

Public Member Functions

 MessageCallbackTestParams (SolverType solver_type, bool support_message_callback, bool support_interrupter, bool integer_variables, std::string ending_substring, SolveParameters solve_parameters={})
 

Public Attributes

SolverType solver_type
 The tested solver.
 
bool support_message_callback
 
bool support_interrupter
 True if the solver supports SolveInterrupter.
 
bool integer_variables
 True if the tests should be performed with integer variables.
 
std::string ending_substring
 A sub-string expected to be found on the last log lines.
 
SolveParameters solve_parameters
 Additional parameters to control the solve.
 

Friends

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

Detailed Description

Parameters for the MessageCallbackTest suite below.

Definition at line 33 of file callback_tests.h.

Constructor & Destructor Documentation

◆ MessageCallbackTestParams()

operations_research::math_opt::MessageCallbackTestParams::MessageCallbackTestParams ( SolverType solver_type,
bool support_message_callback,
bool support_interrupter,
bool integer_variables,
std::string ending_substring,
SolveParameters solve_parameters = {} )

Definition at line 51 of file callback_tests.cc.

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 62 of file callback_tests.cc.

Member Data Documentation

◆ ending_substring

std::string operations_research::math_opt::MessageCallbackTestParams::ending_substring

A sub-string expected to be found on the last log lines.

Definition at line 54 of file callback_tests.h.

◆ integer_variables

bool operations_research::math_opt::MessageCallbackTestParams::integer_variables

True if the tests should be performed with integer variables.

Definition at line 51 of file callback_tests.h.

◆ solve_parameters

SolveParameters operations_research::math_opt::MessageCallbackTestParams::solve_parameters

Additional parameters to control the solve.

Definition at line 57 of file callback_tests.h.

◆ solver_type

SolverType operations_research::math_opt::MessageCallbackTestParams::solver_type

The tested solver.

Definition at line 41 of file callback_tests.h.

◆ support_interrupter

bool operations_research::math_opt::MessageCallbackTestParams::support_interrupter

True if the solver supports SolveInterrupter.

Definition at line 48 of file callback_tests.h.

◆ support_message_callback

bool operations_research::math_opt::MessageCallbackTestParams::support_message_callback

True if the solver is expected to support message callbacks. False if not, in which case the solver is expected to ignore the callback.

Definition at line 45 of file callback_tests.h.


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