14#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_MODEL_SOLVE_PARAMETERS_TESTS_H_
15#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_MODEL_SOLVE_PARAMETERS_TESTS_H_
22#include "gtest/gtest.h"
70 friend std::ostream&
operator<<(std::ostream& out,
81 :
public ::testing::TestWithParam<SolutionHintTestParams> {
85 return GetParam().single_hint_params;
88 return GetParam().two_hint_params;
91 return GetParam().hint_accepted_message_regex;
109 friend std::ostream&
operator<<(std::ostream& out,
121 :
public ::testing::TestWithParam<BranchPrioritiesTestParams> {
141 friend std::ostream&
operator<<(std::ostream& out,
153 :
public ::testing::TestWithParam<LazyConstraintsTestParams> {
157 return GetParam().nerfed_solve_params;
const SolveParameters & SolveParams() const
SolverType TestedSolver() const
SolverType TestedSolver() const
const SolveParameters & NerfedSolveParams() const
const std::optional< SolveParameters > & TwoHintParams() const
SolverType TestedSolver() const
const std::optional< SolveParameters > & SingleHintParams() const
const std::string & HintAcceptedMessageRegex() const
SolverType
The solvers supported by MathOpt.
In SWIG mode, we don't want anything besides these top-level includes.
Parameters for the BranchPrioritiesTest suite below.
SolveParameters solve_params
BranchPrioritiesTestParams(SolverType solver_type, SolveParameters solve_params)
SolverType solver_type
The tested solver.
friend std::ostream & operator<<(std::ostream &out, const BranchPrioritiesTestParams ¶ms)
Parameters for the LazyConstraintsTest suite below.
SolveParameters nerfed_solve_params
SolverType solver_type
The tested solver.
friend std::ostream & operator<<(std::ostream &out, const LazyConstraintsTestParams ¶ms)
LazyConstraintsTestParams(SolverType solver_type, SolveParameters solve_params)
Parameters for the MipSolutionHintTest suite below.
SolverType solver_type
The tested solver.
std::optional< SolveParameters > single_hint_params
SolutionHintTestParams(SolverType solver_type, std::optional< SolveParameters > single_hint_params, std::optional< SolveParameters > two_hint_params, std::string hint_accepted_message_regex)
std::optional< SolveParameters > two_hint_params
std::string hint_accepted_message_regex
friend std::ostream & operator<<(std::ostream &out, const SolutionHintTestParams ¶ms)