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

#include <generic_tests.h>

Public Member Functions

 GenericTestParameters (SolverType solver_type, bool support_interrupter, bool integer_variables, std::string expected_log, SolveParameters solve_parameters={})
 

Public Attributes

SolverType solver_type
 The tested solver.
 
bool support_interrupter
 True if the solver support SolveInterrupter.
 
bool integer_variables
 True if the tests should be performed with integer variables.
 
std::string expected_log
 A message included in the solver logs when an optimal solution is found.
 
SolveParameters solve_parameters
 Additional parameters to control the solve.
 

Friends

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

Detailed Description

Definition at line 30 of file generic_tests.h.

Constructor & Destructor Documentation

◆ GenericTestParameters()

operations_research::math_opt::GenericTestParameters::GenericTestParameters ( SolverType solver_type,
bool support_interrupter,
bool integer_variables,
std::string expected_log,
SolveParameters solve_parameters = {} )

Definition at line 55 of file generic_tests.cc.

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 66 of file generic_tests.cc.

Member Data Documentation

◆ expected_log

std::string operations_research::math_opt::GenericTestParameters::expected_log

A message included in the solver logs when an optimal solution is found.

Definition at line 45 of file generic_tests.h.

◆ integer_variables

bool operations_research::math_opt::GenericTestParameters::integer_variables

True if the tests should be performed with integer variables.

Definition at line 42 of file generic_tests.h.

◆ solve_parameters

SolveParameters operations_research::math_opt::GenericTestParameters::solve_parameters

Additional parameters to control the solve.

Definition at line 48 of file generic_tests.h.

◆ solver_type

SolverType operations_research::math_opt::GenericTestParameters::solver_type

The tested solver.

Definition at line 36 of file generic_tests.h.

◆ support_interrupter

bool operations_research::math_opt::GenericTestParameters::support_interrupter

True if the solver support SolveInterrupter.

Definition at line 39 of file generic_tests.h.


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