OR-Tools  8.2
Preprocessorabstract

Detailed Description

Definition at line 43 of file preprocessor.h.

Public Member Functions

 Preprocessor (const GlopParameters *parameters)
 
 Preprocessor (const Preprocessor &)=delete
 
Preprocessoroperator= (const Preprocessor &)=delete
 
virtual ~Preprocessor ()
 
virtual bool Run (LinearProgram *lp)=0
 
virtual void RecoverSolution (ProblemSolution *solution) const =0
 
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

◆ Preprocessor() [1/2]

Preprocessor ( const GlopParameters *  parameters)
explicit

Definition at line 46 of file preprocessor.cc.

◆ Preprocessor() [2/2]

Preprocessor ( const Preprocessor )
delete

◆ ~Preprocessor()

~Preprocessor ( )
virtual

Definition at line 52 of file preprocessor.cc.

Member Function Documentation

◆ IsSmallerWithinFeasibilityTolerance()

bool IsSmallerWithinFeasibilityTolerance ( Fractional  a,
Fractional  b 
) const
inlineprotected

Definition at line 80 of file preprocessor.h.

◆ IsSmallerWithinPreprocessorZeroTolerance()

bool IsSmallerWithinPreprocessorZeroTolerance ( Fractional  a,
Fractional  b 
) const
inlineprotected

Definition at line 84 of file preprocessor.h.

◆ operator=()

Preprocessor & operator= ( const Preprocessor )
delete

◆ RecoverSolution()

◆ Run()

◆ SetTimeLimit()

void SetTimeLimit ( TimeLimit time_limit)
inline

Definition at line 75 of file preprocessor.h.

◆ status()

ProblemStatus status ( ) const
inline

Definition at line 65 of file preprocessor.h.

◆ UseInMipContext()

virtual void UseInMipContext ( )
inlinevirtual

Reimplemented in ProportionalColumnPreprocessor, DualizerPreprocessor, and ScalingPreprocessor.

Definition at line 73 of file preprocessor.h.

Member Data Documentation

◆ in_mip_context_

bool in_mip_context_
protected

Definition at line 93 of file preprocessor.h.

◆ infinite_time_limit_

std::unique_ptr<TimeLimit> infinite_time_limit_
protected

Definition at line 94 of file preprocessor.h.

◆ parameters_

const GlopParameters& parameters_
protected

Definition at line 92 of file preprocessor.h.

◆ status_

ProblemStatus status_
protected

Definition at line 91 of file preprocessor.h.

◆ time_limit_

TimeLimit* time_limit_
protected

Definition at line 95 of file preprocessor.h.


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