|
HeurFarthestInsert.cpp File Reference Detailed Descriptionfarthest insert - combinatorial heuristic for TSP Definition in file HeurFarthestInsert.cpp. #include <iostream>#include <cassert>#include "objscip/objscip.h"#include "GomoryHuTree.h"#include "HeurFarthestInsert.h"#include "ProbDataTSP.h"
Include dependency graph for HeurFarthestInsert.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 36 of file HeurFarthestInsert.cpp. References GraphEdge::adjac, GraphNode::first_edge, GraphNode::id, and GraphEdge::next. Referenced by SCIP_DECL_HEUREXEC().
clone method which will be used to copy a objective plugin Definition at line 354 of file HeurFarthestInsert.cpp.
execution method of primal heuristic Searches for feasible primal solutions. The method is called in the node processing loop. possible return values for *result:
Definition at line 131 of file HeurFarthestInsert.cpp. References GraphEdge::adjac, GraphEdge::back, findEdge(), GraphNode::first_edge, GraphNode::id, GraphEdge::length, GraphEdge::next, updateDistances(), and GraphEdge::var.
deinitialization method of primal heuristic (called before transformed problem is freed) Definition at line 92 of file HeurFarthestInsert.cpp. References release_graph().
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 115 of file HeurFarthestInsert.cpp.
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 77 of file HeurFarthestInsert.cpp.
initialization method of primal heuristic (called after problem was transformed) Definition at line 83 of file HeurFarthestInsert.cpp. References capture_graph(), and tsp::ProbDataTSP::getGraph().
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 105 of file HeurFarthestInsert.cpp.
method updating the distances of the nodes to the tour after having inserted one node with id index
Definition at line 56 of file HeurFarthestInsert.cpp. References GraphEdge::adjac, GraphNode::first_edge, GraphNode::id, GraphEdge::length, GraphEdge::next, and GraphEdge::var. Referenced by SCIP_DECL_HEUREXEC(). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||