13#ifndef MINOTAURSIMPLECUTMAN_H
14#define MINOTAURSIMPLECUTMAN_H
52 bool directToRel,
bool neverDelete);
55 void addCuts(CutVectorIter cbeg, CutVectorIter cend);
77 void write(std::ostream &out)
const;
93 const static std::string me_;
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
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
Derived class for managing cuts. Adds all violated cuts from the storage to the relaxation and never ...
Definition: SimpleCutMan.h:30
size_t getNumNewCuts() const
Get the total number of cuts added to manager (but not to problem) before the last call to separate()...
Definition: SimpleCutMan.cpp:103
void writeStats(std::ostream &out) const
Write statistics to output.
Definition: SimpleCutMan.cpp:173
size_t getNumDisabledCuts() const
Get the total number of cuts currently not enabled.
Definition: SimpleCutMan.cpp:97
SimpleCutMan()
Empty constructor.
Definition: SimpleCutMan.cpp:36
size_t getNumCuts() const
Get the total number of cuts available to the manager.
Definition: SimpleCutMan.cpp:85
size_t getNumEnabledCuts() const
Get the total number of cuts currently enabled, i.e., added to the relaxation.
Definition: SimpleCutMan.cpp:91
void write(std::ostream &out) const
Write cuts to output.
Definition: SimpleCutMan.cpp:167
void postSolveUpdate(ConstSolutionPtr sol, EngineStatus eng_status)
Definition: SimpleCutMan.cpp:117
void separate(ProblemPtr p, ConstSolutionPtr sol, bool *separated, size_t *added)
Separate a given point using the cuts in the storage.
Definition: SimpleCutMan.cpp:122
~SimpleCutMan()
Destroy.
Definition: SimpleCutMan.cpp:56
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: SimpleCutMan.cpp:77
void addCut(CutPtr c)
Add a cut to be managed by the cut manager.
Definition: SimpleCutMan.cpp:62
Definition: Solution.h:30
Definition: ActiveNodeStore.h:20
EngineStatus
Different status that an external engine may report.
Definition: Types.h:176