13#ifndef MINOTAURCUTMAN1_H
14#define MINOTAURCUTMAN1_H
53 void addCuts(CutVectorIter cbeg, CutVectorIter cend);
75 void write(std::ostream &out)
const;
103 size_t maxInactCutAge_;
106 const static std::string me_;
119 void addToRel_(
CutPtr cons,
bool new_cut);
121 void addToPool_(
CutPtr cons);
Manages addition and deletion of cuts to problem.
Declare important 'types' used in Minotaur.
The Constraint class is used to manage a constraint.
Definition: Constraint.h:61
Derived class for managing cuts. Add and remove cuts based on priority and violation.
Definition: CutMan1.h:27
void addCut(CutPtr c)
Add a cut to be managed by the cut manager.
Definition: CutMan1.cpp:168
void addCuts(CutVectorIter cbeg, CutVectorIter cend)
Add a cut to be managed by the cut manager. The cut is not added to the problem by this function (See...
Definition: CutMan1.cpp:174
size_t getNumCuts() const
Get the total number of cuts available to the manager.
Definition: CutMan1.cpp:65
void write(std::ostream &out) const
Write cuts to output.
Definition: CutMan1.cpp:196
size_t getNumDisabledCuts() const
Get the total number of cuts currently not enabled.
Definition: CutMan1.cpp:77
CutMan1()
Empty constructor.
Definition: CutMan1.cpp:36
void separate(ProblemPtr p, ConstSolutionPtr sol, bool *separated, size_t *n_added)
Separate a given point using the cuts in the storage.
Definition: CutMan1.cpp:136
void postSolveUpdate(ConstSolutionPtr sol, EngineStatus eng_status)
Definition: CutMan1.cpp:90
size_t getNumNewCuts() const
Get the total number of cuts added to manager (but not to problem) before the last call to separate()...
Definition: CutMan1.cpp:83
void writeStats(std::ostream &out) const
Write statistics to output.
Definition: CutMan1.cpp:202
size_t getNumEnabledCuts() const
Get the total number of cuts currently enabled, i.e., added to the relaxation.
Definition: CutMan1.cpp:71
~CutMan1()
Destroy.
Definition: CutMan1.cpp:58
ConstraintPtr addCut(ProblemPtr, FunctionPtr, double, double, bool, bool)
Add a cut.
Definition: CutMan1.h:47
Abstract base class to manage cuts in the relaxation.
Definition: CutManager.h:42
Store function, bounds and other information about a cut.
Definition: Cut.h:52
Definition: Environment.h:28
Definition: Function.h:37
Definition: Solution.h:30
Definition: ActiveNodeStore.h:20
EngineStatus
Different status that an external engine may report.
Definition: Types.h:176