A class to select a variable for branching using maximum-frequency branching.
More...
#include <MaxFreqBrancher.h>
A class to select a variable for branching using maximum-frequency branching.
◆ findBranches()
Find a branching candidate.
- Returns
- NULL if x does not have any fractional values for integer constrained variables or if no branching candidates are found (e.g. when we realize that problem is infeasible).
- Parameters
-
| [in] | rel | Relaxation at the current node. |
| [in] | node | The current node. |
| [in] | sol | The solution at the current node. |
| [in] | s_pool | Solution pool containing known feasible solutions. |
| [out] | br_status | Status returned by this brancher. |
| [out] | mods | Modification returned by this brancher. NULL if none found. |
Implements Minotaur::Brancher.
◆ getName()
| std::string MaxFreqBrancher::getName |
( |
| ) |
const |
|
virtual |
◆ initialize()
Initialize data structures.
- Parameters
-
| [in] | rel | Relaxation for which this brancher is used. |
◆ updateAfterSolve()
Update pseudo-costs after LP is solved.
- Parameters
-
| [in] | node | The node for which relaxation is solved. The pseudo cost of branching candidate used in node->parent is updated. |
| [in] | sol | The solution of the relaxation at this node (not the parent). |
Reimplemented from Minotaur::Brancher.
◆ writeStats()
| void MaxFreqBrancher::writeStats |
( |
std::ostream & |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: