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

#include <second_order_cone_tests.h>

Inheritance diagram for operations_research::math_opt::SimpleSecondOrderConeTest:

Protected Member Functions

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

Detailed Description

A suite of unit tests for second-order cone constraints.

To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P( <Solver>SimpleSecondOrderConeTest, SimpleSecondOrderConeTest, testing::Values(SecondOrderConeTestParameters( SolverType::k<Solver>, parameters, /*supports_soc_constraints=*‍/false, /*supports_incremental_add_and_deletes=*‍/false)));

Definition at line 55 of file second_order_cone_tests.h.

Member Function Documentation

◆ SimpleSolve()

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

Definition at line 58 of file second_order_cone_tests.h.


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