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

#include <qc_tests.h>

Inheritance diagram for operations_research::math_opt::SimpleQcTest:

Protected Member Functions

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

Detailed Description

A suite of unit tests for (convex) quadratic constraints.

To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P( <Solver>SimpleQcTest, SimpleQcTest, testing::Values(QcTestParameters(SolverType::k<Solver>, parameters, supports_qc, supports_incremental_add_and_deletes, supports_incremental_variable_deletions, use_integer_variables)));

Definition at line 64 of file qc_tests.h.

Member Function Documentation

◆ SimpleSolve()

absl::StatusOr< SolveResult > operations_research::math_opt::SimpleQcTest::SimpleSolve ( const Model & model)
inlineprotected

Definition at line 66 of file qc_tests.h.


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