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

Options for IsNear(Solution). More...

#include <matchers.h>

Public Attributes

double tolerance = kMatcherDefaultTolerance
 
bool check_primal = true
 
bool check_dual = true
 
bool check_basis = true
 
bool allow_undetermined = false
 

Detailed Description

Options for IsNear(Solution).

Matchers for solutions

Definition at line 201 of file matchers.h.

Member Data Documentation

◆ allow_undetermined

bool operations_research::math_opt::SolutionMatcherOptions::allow_undetermined = false

If false, only match on primal/dual solutions that are feasible. If true, match on solutions that are either feasible or undetermined.

Definition at line 208 of file matchers.h.

◆ check_basis

bool operations_research::math_opt::SolutionMatcherOptions::check_basis = true

Definition at line 205 of file matchers.h.

◆ check_dual

bool operations_research::math_opt::SolutionMatcherOptions::check_dual = true

Definition at line 204 of file matchers.h.

◆ check_primal

bool operations_research::math_opt::SolutionMatcherOptions::check_primal = true

Definition at line 203 of file matchers.h.

◆ tolerance

double operations_research::math_opt::SolutionMatcherOptions::tolerance = kMatcherDefaultTolerance

Definition at line 202 of file matchers.h.


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