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

#include <status_tests.h>

Public Member Functions

 StatusTestParameters (const SolverType solver_type, SolveParameters parameters, const bool disallow_primal_or_dual_infeasible, const bool supports_iteration_limit, const bool use_integer_variables, const bool supports_node_limit, const bool support_interrupter, const bool supports_one_thread)
 

Public Attributes

SolverType solver_type
 The tested solver.
 
SolveParameters parameters
 
bool disallow_primal_or_dual_infeasible
 
bool supports_iteration_limit
 
bool use_integer_variables
 True if the tests should be performed with integer variables.
 
bool supports_node_limit
 
bool support_interrupter
 True if the solver support SolveInterrupter.
 
bool supports_one_thread
 

Friends

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

Detailed Description

Definition at line 27 of file status_tests.h.

Constructor & Destructor Documentation

◆ StatusTestParameters()

operations_research::math_opt::StatusTestParameters::StatusTestParameters ( const SolverType solver_type,
SolveParameters parameters,
const bool disallow_primal_or_dual_infeasible,
const bool supports_iteration_limit,
const bool use_integer_variables,
const bool supports_node_limit,
const bool support_interrupter,
const bool supports_one_thread )
inline

Definition at line 48 of file status_tests.h.

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 43 of file status_tests.cc.

Member Data Documentation

◆ disallow_primal_or_dual_infeasible

bool operations_research::math_opt::StatusTestParameters::disallow_primal_or_dual_infeasible

If true, then a problem status with primal_or_dual_infeasible = true is never returned.

Definition at line 34 of file status_tests.h.

◆ parameters

SolveParameters operations_research::math_opt::StatusTestParameters::parameters

Definition at line 30 of file status_tests.h.

◆ solver_type

SolverType operations_research::math_opt::StatusTestParameters::solver_type

The tested solver.

Definition at line 29 of file status_tests.h.

◆ support_interrupter

bool operations_research::math_opt::StatusTestParameters::support_interrupter

True if the solver support SolveInterrupter.

Definition at line 44 of file status_tests.h.

◆ supports_iteration_limit

bool operations_research::math_opt::StatusTestParameters::supports_iteration_limit

Definition at line 36 of file status_tests.h.

◆ supports_node_limit

bool operations_research::math_opt::StatusTestParameters::supports_node_limit

Definition at line 41 of file status_tests.h.

◆ supports_one_thread

bool operations_research::math_opt::StatusTestParameters::supports_one_thread

Definition at line 46 of file status_tests.h.

◆ use_integer_variables

bool operations_research::math_opt::StatusTestParameters::use_integer_variables

True if the tests should be performed with integer variables.

Definition at line 39 of file status_tests.h.


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