|
Heur2opt.cpp File Reference Detailed Description2-Optimum - combinatorial improvement heuristic for TSP Definition in file Heur2opt.cpp. #include <cassert>#include <iostream>#include "objscip/objscip.h"#include "GomoryHuTree.h"#include "Heur2opt.h"#include "ProbDataTSP.h"
Include dependency graph for Heur2opt.cpp:
![]() Go to the source code of this file.
Function Documentationmethod finding the edge going from the node with id index1 to the node with id index2
Definition at line 37 of file Heur2opt.cpp. References GraphEdge::adjac, GraphNode::first_edge, and GraphEdge::next. Referenced by SCIP_DECL_HEUREXEC().
clone method which will be used to copy a objective plugin Definition at line 233 of file Heur2opt.cpp.
execution method of primal heuristic 2-Opt Definition at line 112 of file Heur2opt.cpp. References GraphEdge::adjac, GraphEdge::back, findEdge(), GraphNode::first_edge, GraphEdge::length, GraphEdge::next, and GraphEdge::var.
deinitialization method of primal heuristic (called before transformed problem is freed) Definition at line 71 of file Heur2opt.cpp.
solving process deinitialization method of primal heuristic (called before branch and bound process data is freed) This method is called before the branch and bound process is freed. The primal heuristic should use this call to clean up its branch and bound data. Definition at line 102 of file Heur2opt.cpp. References release_graph().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 57 of file Heur2opt.cpp.
initialization method of primal heuristic (called after problem was transformed) Definition at line 64 of file Heur2opt.cpp.
solving process initialization method of primal heuristic (called when branch and bound process is about to begin) This method is called when the presolving was finished and the branch and bound process is about to begin. The primal heuristic may use this call to initialize its branch and bound specific data. Definition at line 83 of file Heur2opt.cpp. References capture_graph(), and tsp::ProbDataTSP::getGraph(). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||