OR-Tools  8.2
ScalingPreprocessor

Detailed Description

Definition at line 980 of file preprocessor.h.

Public Member Functions

 ScalingPreprocessor (const GlopParameters *parameters)
 
 ScalingPreprocessor (const ScalingPreprocessor &)=delete
 
ScalingPreprocessoroperator= (const ScalingPreprocessor &)=delete
 
 ~ScalingPreprocessor () final
 
bool Run (LinearProgram *lp) final
 
void RecoverSolution (ProblemSolution *solution) const final
 
void UseInMipContext () final
 
ProblemStatus status () const
 
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

◆ ScalingPreprocessor() [1/2]

ScalingPreprocessor ( const GlopParameters *  parameters)
inlineexplicit

Definition at line 982 of file preprocessor.h.

◆ ScalingPreprocessor() [2/2]

◆ ~ScalingPreprocessor()

~ScalingPreprocessor ( )
inlinefinal

Definition at line 986 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=()

ScalingPreprocessor& operator= ( const ScalingPreprocessor )
delete

◆ RecoverSolution()

void RecoverSolution ( ProblemSolution solution) const
finalvirtual

Implements Preprocessor.

Definition at line 3610 of file preprocessor.cc.

◆ Run()

bool Run ( LinearProgram lp)
finalvirtual

Implements Preprocessor.

Definition at line 3587 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()

void UseInMipContext ( )
inlinefinalvirtual

Reimplemented from Preprocessor.

Definition at line 989 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: