![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Changes the problem from maximization to minimization (if applicable). More...
Changes the problem from maximization to minimization (if applicable).
Definition at line 1059 of file preprocessor.h.
#include <preprocessor.h>
Public Member Functions | |
ToMinimizationPreprocessor (const GlopParameters *parameters) | |
ToMinimizationPreprocessor (const ToMinimizationPreprocessor &)=delete | |
ToMinimizationPreprocessor & | operator= (const ToMinimizationPreprocessor &)=delete |
~ToMinimizationPreprocessor () 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 1061 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 3888 of file preprocessor.cc.
|
finalvirtual |
Implements operations_research::glop::Preprocessor.
Definition at line 3871 of file preprocessor.cc.