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

#include <qp_tests.h>

Inheritance diagram for operations_research::math_opt::IncrementalQpTest:

Protected Member Functions

SolverType TestedSolver () const
 

Detailed Description

A suite of unit tests focused on incrementalism with quadratic objectives.

Note
a solver that does not support quadratic objectives should still use this fixture to ensure that it is not silently ignoring one.

To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P( <Solver>IncrementalQpTest, IncrementalQpTest, testing::Values(QpTestParameters(SolverType::k<Solver>, parameters, qp_support, supports_incrementalism_not_modifying_qp, supports_qp_incrementalism, use_integer_variables)));

Definition at line 87 of file qp_tests.h.

Member Function Documentation

◆ TestedSolver()

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

Definition at line 89 of file qp_tests.h.


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