Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Configures SolveResult matcher IsConsistentWith() below. More...
#include <matchers.h>
Public Attributes | |
double | tolerance = 1e-5 |
bool | first_solution_only = true |
bool | check_dual = true |
bool | check_rays = true |
bool | check_solutions_if_inf_or_unbounded = false |
bool | check_basis = false |
Configures SolveResult matcher IsConsistentWith() below.
Definition at line 385 of file matchers.h.
bool operations_research::math_opt::SolveResultMatcherOptions::check_basis = false |
Definition at line 401 of file matchers.h.
bool operations_research::math_opt::SolveResultMatcherOptions::check_dual = true |
Definition at line 388 of file matchers.h.
bool operations_research::math_opt::SolveResultMatcherOptions::check_rays = true |
Definition at line 389 of file matchers.h.
bool operations_research::math_opt::SolveResultMatcherOptions::check_solutions_if_inf_or_unbounded = false |
If the expected result has termination reason kInfeasible, kUnbounded, or kDualInfeasasible, the primal solution, dual solution, and basis are ignored unless check_solutions_if_inf_or_unbounded is true.
Definition at line 400 of file matchers.h.
bool operations_research::math_opt::SolveResultMatcherOptions::first_solution_only = true |
Definition at line 387 of file matchers.h.
double operations_research::math_opt::SolveResultMatcherOptions::tolerance = 1e-5 |
Definition at line 386 of file matchers.h.