OR-Tools  8.2
FreeConstraintPreprocessor

Detailed Description

Definition at line 717 of file preprocessor.h.

Public Member Functions

 FreeConstraintPreprocessor (const GlopParameters *parameters)
 
 FreeConstraintPreprocessor (const FreeConstraintPreprocessor &)=delete
 
FreeConstraintPreprocessoroperator= (const FreeConstraintPreprocessor &)=delete
 
 ~FreeConstraintPreprocessor () final
 
bool Run (LinearProgram *lp) final
 
void RecoverSolution (ProblemSolution *solution) const final
 
ProblemStatus status () const
 
virtual void UseInMipContext ()
 
void SetTimeLimit (TimeLimit *time_limit)
 

Protected Member Functions

bool IsSmallerWithinFeasibilityTolerance (Fractional a, Fractional b) const
 
bool IsSmallerWithinPreprocessorZeroTolerance (Fractional a, Fractional b) const
 

Protected Attributes

ProblemStatus status_
 
const GlopParameters & parameters_
 
bool in_mip_context_
 
std::unique_ptr< TimeLimitinfinite_time_limit_
 
TimeLimittime_limit_
 

Constructor & Destructor Documentation

◆ FreeConstraintPreprocessor() [1/2]

FreeConstraintPreprocessor ( const GlopParameters *  parameters)
inlineexplicit

Definition at line 719 of file preprocessor.h.

◆ FreeConstraintPreprocessor() [2/2]

◆ ~FreeConstraintPreprocessor()

~FreeConstraintPreprocessor ( )
inlinefinal

Definition at line 724 of file preprocessor.h.

Member Function Documentation

◆ IsSmallerWithinFeasibilityTolerance()

bool IsSmallerWithinFeasibilityTolerance ( Fractional  a,
Fractional  b 
) const
inlineprotectedinherited

Definition at line 80 of file preprocessor.h.

◆ IsSmallerWithinPreprocessorZeroTolerance()

bool IsSmallerWithinPreprocessorZeroTolerance ( Fractional  a,
Fractional  b 
) const
inlineprotectedinherited

Definition at line 84 of file preprocessor.h.

◆ operator=()

FreeConstraintPreprocessor& operator= ( const FreeConstraintPreprocessor )
delete

◆ RecoverSolution()

void RecoverSolution ( ProblemSolution solution) const
finalvirtual

Implements Preprocessor.

Definition at line 2078 of file preprocessor.cc.

◆ Run()

bool Run ( LinearProgram lp)
finalvirtual

Implements Preprocessor.

Definition at line 2063 of file preprocessor.cc.

◆ SetTimeLimit()

void SetTimeLimit ( TimeLimit time_limit)
inlineinherited

Definition at line 75 of file preprocessor.h.

◆ status()

ProblemStatus status ( ) const
inlineinherited

Definition at line 65 of file preprocessor.h.

◆ UseInMipContext()

virtual void UseInMipContext ( )
inlinevirtualinherited

Reimplemented in ScalingPreprocessor, DualizerPreprocessor, and ProportionalColumnPreprocessor.

Definition at line 73 of file preprocessor.h.

Member Data Documentation

◆ in_mip_context_

bool in_mip_context_
protectedinherited

Definition at line 93 of file preprocessor.h.

◆ infinite_time_limit_

std::unique_ptr<TimeLimit> infinite_time_limit_
protectedinherited

Definition at line 94 of file preprocessor.h.

◆ parameters_

const GlopParameters& parameters_
protectedinherited

Definition at line 92 of file preprocessor.h.

◆ status_

ProblemStatus status_
protectedinherited

Definition at line 91 of file preprocessor.h.

◆ time_limit_

TimeLimit* time_limit_
protectedinherited

Definition at line 95 of file preprocessor.h.


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