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

#include <generic_tests.h>

Inheritance diagram for operations_research::math_opt::GenericTest:

Static Protected Member Functions

static absl::StatusOr< SolveResult > SimpleSolve (const Model &model)
 

Detailed Description

A suite of unit tests to validate that mandatory behavior for all (MIP and LP) solvers.

To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P( <Solver>GenericTest, GenericTest, testing::Values(GenericTestParameters( SolverType::k<Solver>, /*support_interrupter=*‍/true, /*integer_variables=*‍/true )));

Definition at line 65 of file generic_tests.h.

Member Function Documentation

◆ SimpleSolve()

static absl::StatusOr< SolveResult > operations_research::math_opt::GenericTest::SimpleSolve ( const Model & model)
inlinestaticprotected

Definition at line 67 of file generic_tests.h.


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