Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <qp_tests.h>
Protected Member Functions | |
SolverType | TestedSolver () const |
absl::StatusOr< SolveResult > | SimpleSolve (const Model &model) |
A suite of unit tests for quadratic objectives. Note that 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>SimpleQpTest, SimpleQpTest, testing::Values(QpTestParameters(SolverType::k<Solver>, parameters, qp_support, supports_incrementalism_not_modifying_qp, supports_qp_incrementalism, use_integer_variables)));
Definition at line 67 of file qp_tests.h.
|
inlineprotected |
Definition at line 70 of file qp_tests.h.
|
inlineprotected |
Definition at line 69 of file qp_tests.h.