![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
SingletonColumnSignPreprocessor Make sure that the only coefficient of all singleton columns (i.e. column with only one entry) is positive. This is because this way the column will be transformed in an identity column by the scaling. This will lead to more efficient solve when this column is involved.
Definition at line 827 of file preprocessor.h.
#include <preprocessor.h>
Public Member Functions | |
SingletonColumnSignPreprocessor (const GlopParameters *parameters) | |
SingletonColumnSignPreprocessor (const SingletonColumnSignPreprocessor &)=delete | |
SingletonColumnSignPreprocessor & | operator= (const SingletonColumnSignPreprocessor &)=delete |
~SingletonColumnSignPreprocessor () final=default | |
bool | Run (LinearProgram *lp) final |
void | RecoverSolution (ProblemSolution *solution) const final |
Public Member Functions inherited from operations_research::glop::Preprocessor | |
Preprocessor (const GlopParameters *parameters) | |
Preprocessor (const Preprocessor &)=delete | |
Preprocessor & | operator= (const Preprocessor &)=delete |
virtual | ~Preprocessor () |
ProblemStatus | status () const |
virtual void | UseInMipContext () |
void | SetTimeLimit (TimeLimit *time_limit) |
Additional Inherited Members | |
Protected Member Functions inherited from operations_research::glop::Preprocessor | |
bool | IsSmallerWithinFeasibilityTolerance (Fractional a, Fractional b) const |
bool | IsSmallerWithinPreprocessorZeroTolerance (Fractional a, Fractional b) const |
Protected Attributes inherited from operations_research::glop::Preprocessor | |
ProblemStatus | status_ |
const GlopParameters & | parameters_ |
bool | in_mip_context_ |
std::unique_ptr< TimeLimit > | infinite_time_limit_ |
TimeLimit * | time_limit_ |
|
inlineexplicit |
Definition at line 829 of file preprocessor.h.
|
delete |
|
finaldefault |
|
delete |
|
finalvirtual |
Stores the optimal solution of the linear program that was passed to Run(). The given solution needs to be set to the optimal solution of the linear program "modified" by Run().
Implements operations_research::glop::Preprocessor.
Definition at line 3029 of file preprocessor.cc.
|
finalvirtual |
SingletonColumnSignPreprocessor
Implements operations_research::glop::Preprocessor.
Definition at line 3001 of file preprocessor.cc.