14#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_PARAMETER_TESTS_H_
15#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_PARAMETER_TESTS_H_
17#include "gtest/gtest.h"
bool SupportsSimplex() const
bool SupportsRandomSeed() const
bool SupportsFirstOrder() const
SolverType TestedSolver() const
bool SupportsBarrier() const
bool SupportsPresolve() const
SolverType
The solvers supported by MathOpt.
In SWIG mode, we don't want anything besides these top-level includes.
Parameters for the LpParameterTest suite below.
bool supports_best_bound_limit
Indicates if the solver supports setting a limit on the best bound.
bool supports_presolve
Indicates if the solver supports setting the presolve emphasis.
LpParameterTestParams(const SolverType solver_type, const bool supports_simplex, const bool supports_barrier, const bool supports_first_order, const bool supports_random_seed, const bool supports_presolve, const bool supports_cutoff, const bool supports_objective_limit, const bool supports_best_bound_limit, const bool reports_limits)
bool supports_cutoff
Indicates if the solver supports a cutoff value.
bool reports_limits
Indicates if the SolveResult returned will say which limit was reached.
SolverType solver_type
The tested solver.
bool supports_barrier
Indicates if the solver supports barrier as an algorithm.
bool supports_random_seed
Indicates if the solver supports setting the random seed.
bool supports_simplex
Indicates if the solver supports simplex as an algorithm (primal and dual).
bool supports_first_order
Indicates if the solver supports first-order methods.
bool supports_objective_limit
Indicates if the solver supports setting a limit on the primal objective.