27 #ifndef SRC_METHODS_F1_HPP_ 28 #define SRC_METHODS_F1_HPP_ 41 template<
class UserNodeLabel,
class UserEdgeLabel>
52 std::map<std::pair<GEDGraph::NodeID, GEDGraph::NodeID>, GRBVar> x_;
54 std::map<std::pair<GEDGraph::EdgeID, GEDGraph::EdgeID>, GRBVar> y_;
56 std::vector<GRBVar> u_;
58 std::vector<GRBVar> v_;
60 std::map<GEDGraph::EdgeID, GRBVar> e_;
62 std::map<GEDGraph::EdgeID, GRBVar> f_;
74 char variable_type_()
const;
Contains the standardized input data along with basic functionality.
Mixed integer linear programming formulation of the graph edit distance.
virtual void mip_populate_model_(const GEDGraph &g, const GEDGraph &h, GRBModel &model) final
Runs the local search from an initial node map.
virtual void mip_model_to_node_map_(const GEDGraph &g, const GEDGraph &h, GRBModel &model, NodeMap &node_map) final
Given a, possibly sub-optimally, solved unrelaxed model, this method constructs a node map and sets i...
The normalized input graphs used by GEDLIB. All labels are integers.
Global namespace for GEDLIB.
virtual bool mip_model_to_lsape_projection_problem_(const GEDGraph &g, const GEDGraph &h, GRBModel &model, DMatrix &lsape_instance) final
Given a, possibly sub-optimally, solved model, this method constructs an LSAPE instance for projectin...
Abstract class for methods that use mixed integer linear programming for exactly or approximatively c...