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

Parameters for the LpIncompleteSolveTest suite below. More...

#include <lp_incomplete_solve_tests.h>

Public Member Functions

 LpIncompleteSolveTestParams (SolverType solver_type, std::optional< LPAlgorithm > lp_algorithm, bool supports_iteration_limit, bool supports_initial_basis, bool supports_incremental_solve, bool supports_basis, bool supports_presolve, bool check_primal_objective, bool primal_solution_status_always_set, bool dual_solution_status_always_set)
 

Public Attributes

SolverType solver_type
 The tested solver.
 
std::optional< LPAlgorithmlp_algorithm
 The tested algorithm.
 
bool supports_iteration_limit
 Indicates if the solver supports iteration limit.
 
bool supports_initial_basis
 Indicates if the solver supports initial basis.
 
bool supports_incremental_solve
 Indicates if the solver supports incremental solves.
 
bool supports_basis
 Indicates if the solver supports returning a basis.
 
bool supports_presolve
 Indicates if the solver supports setting the presolve emphasis.
 
bool check_primal_objective
 Indicates if we should check primal objective values.
 
bool primal_solution_status_always_set
 
bool dual_solution_status_always_set
 

Detailed Description

Parameters for the LpIncompleteSolveTest suite below.

Todo
(b/195295177): Consider splitting LpIncompleteSolveTest into simplex and non-simplex tests to avoid repetition and need to input irrelevant bools from LpIncompleteSolveTestParams when instantiating tests.

Definition at line 30 of file lp_incomplete_solve_tests.h.

Constructor & Destructor Documentation

◆ LpIncompleteSolveTestParams()

operations_research::math_opt::LpIncompleteSolveTestParams::LpIncompleteSolveTestParams ( SolverType solver_type,
std::optional< LPAlgorithm > lp_algorithm,
bool supports_iteration_limit,
bool supports_initial_basis,
bool supports_incremental_solve,
bool supports_basis,
bool supports_presolve,
bool check_primal_objective,
bool primal_solution_status_always_set,
bool dual_solution_status_always_set )

Definition at line 38 of file lp_incomplete_solve_tests.cc.

Member Data Documentation

◆ check_primal_objective

bool operations_research::math_opt::LpIncompleteSolveTestParams::check_primal_objective

Indicates if we should check primal objective values.

Definition at line 63 of file lp_incomplete_solve_tests.h.

◆ dual_solution_status_always_set

bool operations_research::math_opt::LpIncompleteSolveTestParams::dual_solution_status_always_set

Indicates if solver always sets a precise dual feasibility status (i.e. never returns an unspecified status).

Definition at line 71 of file lp_incomplete_solve_tests.h.

◆ lp_algorithm

std::optional<LPAlgorithm> operations_research::math_opt::LpIncompleteSolveTestParams::lp_algorithm

The tested algorithm.

Definition at line 45 of file lp_incomplete_solve_tests.h.

◆ primal_solution_status_always_set

bool operations_research::math_opt::LpIncompleteSolveTestParams::primal_solution_status_always_set

Indicates if solver always sets a precise primal feasibility status (i.e. never returns an unspecified status).

Definition at line 67 of file lp_incomplete_solve_tests.h.

◆ solver_type

SolverType operations_research::math_opt::LpIncompleteSolveTestParams::solver_type

The tested solver.

Definition at line 42 of file lp_incomplete_solve_tests.h.

◆ supports_basis

bool operations_research::math_opt::LpIncompleteSolveTestParams::supports_basis

Indicates if the solver supports returning a basis.

Definition at line 57 of file lp_incomplete_solve_tests.h.

◆ supports_incremental_solve

bool operations_research::math_opt::LpIncompleteSolveTestParams::supports_incremental_solve

Indicates if the solver supports incremental solves.

Definition at line 54 of file lp_incomplete_solve_tests.h.

◆ supports_initial_basis

bool operations_research::math_opt::LpIncompleteSolveTestParams::supports_initial_basis

Indicates if the solver supports initial basis.

Definition at line 51 of file lp_incomplete_solve_tests.h.

◆ supports_iteration_limit

bool operations_research::math_opt::LpIncompleteSolveTestParams::supports_iteration_limit

Indicates if the solver supports iteration limit.

Definition at line 48 of file lp_incomplete_solve_tests.h.

◆ supports_presolve

bool operations_research::math_opt::LpIncompleteSolveTestParams::supports_presolve

Indicates if the solver supports setting the presolve emphasis.

Definition at line 60 of file lp_incomplete_solve_tests.h.


The documentation for this struct was generated from the following files: