Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Removes the fixed variables from the problem. More...
#include <preprocessor.h>
Public Member Functions | |
FixedVariablePreprocessor (const GlopParameters *parameters) | |
FixedVariablePreprocessor (const FixedVariablePreprocessor &)=delete | |
FixedVariablePreprocessor & | operator= (const FixedVariablePreprocessor &)=delete |
~FixedVariablePreprocessor () 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_ |
Removes the fixed variables from the problem.
Definition at line 543 of file preprocessor.h.
|
inlineexplicit |
Definition at line 545 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 1128 of file preprocessor.cc.
|
finalvirtual |
We need to change the constraint bounds.
Implements operations_research::glop::Preprocessor.
Definition at line 1106 of file preprocessor.cc.