idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
NodeWithCGInfo.h
1//
2// Created by henri on 17.12.25.
3//
4
5#ifndef IDOL_NODEWITHCGINFO_H
6#define IDOL_NODEWITHCGINFO_H
7
8#include "DefaultNodeInfo.h"
9
10namespace idol {
11 class NodeWithCGInfo;
12}
13
15 std::vector<std::vector<std::pair<double, PrimalPoint>>> m_active_columns;
16public:
17 NodeWithCGInfo() = default;
18
19 void save(const Model& t_original_formulation, const Model& t_model) override;
20
21 NodeWithCGInfo* clone() const override;
22
23 [[nodiscard]] NodeWithCGInfo* create_child() const override;
24
25 using ActiveColumns = std::vector<std::vector<std::pair<double, PrimalPoint>>>;
26
27 static const ActiveColumns& get_active_columns(const Model& t_model);
28
29 static DefaultNodeUpdator<NodeWithCGInfo>* create_updator(const Model& t_src_model, Model& t_relaxation);
30};
31
32#endif //IDOL_NODEWITHCGINFO_H