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

#include <generic_tests.h>

Public Member Functions

 TimeLimitTestParameters (const SolverType solver_type, const bool integer_variables, const std::optional< CallbackEvent > supported_event=std::nullopt)
 

Public Attributes

SolverType solver_type
 The tested solver.
 
bool integer_variables
 The test problem will be a 0-1 IP if true, otherwise will be an LP.
 
std::optional< CallbackEventevent
 A supported callback event, or nullopt if no event is supported.
 

Friends

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

Detailed Description

Definition at line 73 of file generic_tests.h.

Constructor & Destructor Documentation

◆ TimeLimitTestParameters()

operations_research::math_opt::TimeLimitTestParameters::TimeLimitTestParameters ( const SolverType solver_type,
const bool integer_variables,
const std::optional< CallbackEvent > supported_event = std::nullopt )
inline

Definition at line 74 of file generic_tests.h.

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 47 of file generic_tests.cc.

Member Data Documentation

◆ event

std::optional<CallbackEvent> operations_research::math_opt::TimeLimitTestParameters::event

A supported callback event, or nullopt if no event is supported.

Definition at line 88 of file generic_tests.h.

◆ integer_variables

bool operations_research::math_opt::TimeLimitTestParameters::integer_variables

The test problem will be a 0-1 IP if true, otherwise will be an LP.

Definition at line 85 of file generic_tests.h.

◆ solver_type

SolverType operations_research::math_opt::TimeLimitTestParameters::solver_type

The tested solver.

Definition at line 82 of file generic_tests.h.


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