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

#include <ip_model_solve_parameters_tests.h>

Inheritance diagram for operations_research::math_opt::MipSolutionHintTest:

Protected Member Functions

SolverType TestedSolver () const
 
const std::optional< SolveParameters > & SingleHintParams () const
 
const std::optional< SolveParameters > & TwoHintParams () const
 
const std::string & HintAcceptedMessageRegex () const
 

Detailed Description

A suite of unit tests to show that an MIP solver handles solution hints correctly.

To use these tests, in file <solver>_test.cc write: INSTANTIATE_TEST_SUITE_P(<Solver>MipSolutionHintTest, MipSolutionHintTest, testing::Values(solution_hint_test_params));

Definition at line 80 of file ip_model_solve_parameters_tests.h.

Member Function Documentation

◆ HintAcceptedMessageRegex()

const std::string & operations_research::math_opt::MipSolutionHintTest::HintAcceptedMessageRegex ( ) const
inlineprotected

Definition at line 90 of file ip_model_solve_parameters_tests.h.

◆ SingleHintParams()

const std::optional< SolveParameters > & operations_research::math_opt::MipSolutionHintTest::SingleHintParams ( ) const
inlineprotected

Definition at line 84 of file ip_model_solve_parameters_tests.h.

◆ TestedSolver()

SolverType operations_research::math_opt::MipSolutionHintTest::TestedSolver ( ) const
inlineprotected

Definition at line 83 of file ip_model_solve_parameters_tests.h.

◆ TwoHintParams()

const std::optional< SolveParameters > & operations_research::math_opt::MipSolutionHintTest::TwoHintParams ( ) const
inlineprotected

Definition at line 87 of file ip_model_solve_parameters_tests.h.


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