14#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_SECOND_ORDER_CONE_TESTS_H_
15#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_SECOND_ORDER_CONE_TESTS_H_
19#include "absl/status/statusor.h"
20#include "gtest/gtest.h"
56 :
public testing::TestWithParam<SecondOrderConeTestParameters> {
60 {.parameters = GetParam().parameters});
77 :
public testing::TestWithParam<SecondOrderConeTestParameters> {};
absl::StatusOr< SolveResult > SimpleSolve(const Model &model)
An object oriented wrapper for quadratic constraints in ModelStorage.
SolverType
The solvers supported by MathOpt.
absl::StatusOr< SolveResult > Solve(const Model &model, const SolverType solver_type, const SolveArguments &solve_args, const SolverInitArguments &init_args)
std::ostream & operator<<(std::ostream &ostr, const IndicatorConstraint &constraint)
SolverType solver_type
The tested solver.
bool supports_incremental_add_and_deletes
SecondOrderConeTestParameters(SolverType solver_type, SolveParameters parameters, bool supports_soc_constraints, bool supports_incremental_add_and_deletes)
SolveParameters parameters
bool supports_soc_constraints
True if the solver supports second-order cone constraints.