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

#include <lp_tests.h>

Public Member Functions

 SimpleLpTestParameters (const SolverType solver_type, SolveParameters parameters, const bool supports_duals, const bool supports_basis, const bool ensures_primal_ray, const bool ensures_dual_ray, const bool disallows_infeasible_or_unbounded)
 

Public Attributes

SolverType solver_type
 The tested solver.
 
SolveParameters parameters
 
bool supports_duals
 True if a dual solution is returned.
 
bool supports_basis
 True if the solver produces a basis.
 
bool ensures_primal_ray
 
bool ensures_dual_ray
 
bool disallows_infeasible_or_unbounded
 

Friends

std::ostream & operator<< (std::ostream &out, const SimpleLpTestParameters &params)
 

Detailed Description

Definition at line 29 of file lp_tests.h.

Constructor & Destructor Documentation

◆ SimpleLpTestParameters()

operations_research::math_opt::SimpleLpTestParameters::SimpleLpTestParameters ( const SolverType solver_type,
SolveParameters parameters,
const bool supports_duals,
const bool supports_basis,
const bool ensures_primal_ray,
const bool ensures_dual_ray,
const bool disallows_infeasible_or_unbounded )
inline

Definition at line 48 of file lp_tests.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const SimpleLpTestParameters & params )
friend

Definition at line 51 of file lp_tests.cc.

Member Data Documentation

◆ disallows_infeasible_or_unbounded

bool operations_research::math_opt::SimpleLpTestParameters::disallows_infeasible_or_unbounded

If true, then TERMINATION_REASON_INFEASIBLE_OR_UNBOUNDED is never returned, it is always disambiguated to either TERMINATION_REASON_INFEASIBLE or TERMINATION_REASON_UNBOUNDED.

Definition at line 46 of file lp_tests.h.

◆ ensures_dual_ray

bool operations_research::math_opt::SimpleLpTestParameters::ensures_dual_ray

Definition at line 41 of file lp_tests.h.

◆ ensures_primal_ray

bool operations_research::math_opt::SimpleLpTestParameters::ensures_primal_ray

Definition at line 40 of file lp_tests.h.

◆ parameters

SolveParameters operations_research::math_opt::SimpleLpTestParameters::parameters

Definition at line 32 of file lp_tests.h.

◆ solver_type

SolverType operations_research::math_opt::SimpleLpTestParameters::solver_type

The tested solver.

Definition at line 31 of file lp_tests.h.

◆ supports_basis

bool operations_research::math_opt::SimpleLpTestParameters::supports_basis

True if the solver produces a basis.

Definition at line 38 of file lp_tests.h.

◆ supports_duals

bool operations_research::math_opt::SimpleLpTestParameters::supports_duals

True if a dual solution is returned.

Definition at line 35 of file lp_tests.h.


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