14#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_QP_TESTS_H_
15#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_QP_TESTS_H_
20#include "absl/status/statusor.h"
21#include "gtest/gtest.h"
67class SimpleQpTest :
public testing::TestWithParam<QpTestParameters> {
102class QpDualsTest :
public testing::TestWithParam<QpTestParameters> {
SolverType TestedSolver() const
SolverType TestedSolver() const
absl::StatusOr< SolveResult > SimpleSolve(const Model &model)
absl::StatusOr< SolveResult > SimpleSolve(const Model &model)
SolverType TestedSolver() const
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)
bool use_integer_variables
True if the solver supports integer variables.
SolveParameters parameters
bool supports_qp_incrementalism
bool supports_incrementalism_not_modifying_qp
QpTestParameters(SolverType solver_type, SolveParameters parameters, QpSupportType qp_support, bool supports_incrementalism_not_modifying_qp, bool supports_qp_incrementalism, bool use_integer_variables)
SolverType solver_type
The tested solver.