Graph Convolutional Branch and Bound v1.0.0
A TSP solver that combines a graph convolutional network with a 1-Tree branch-and-bound.
|
The struct used to represent the overall problem. More...
#include <b_and_b_data.h>
Public Attributes | |
Graph | graph |
The Graph of the problem. | |
Graph | reformulationGraph |
The Graph used to perform the dual reformulation of Edge weights. | |
unsigned short | candidateNodeId |
The id of the candidate node. | |
unsigned short | totTreeLevels |
The total number of levels in the Branch and Bound tree. | |
SubProblem | bestSolution |
The best solution found so far. | |
double | bestValue |
The cost of the best solution found so far. | |
unsigned int | generatedBBNodes |
The number of nodes generated in the Branch and Bound tree. | |
unsigned int | exploredBBNodes |
The number of nodes explored in the Branch and Bound tree. | |
unsigned int | num_fixed_edges |
The number of fixed edges in the Branch and Bound tree. | |
bool | interrupted |
True if the algorithm has been interrupted by timeout. | |
clock_t | start |
The time when the algorithm started. | |
clock_t | end |
The time when the algorithm ended. | |
The struct used to represent the overall problem.
Definition at line 62 of file b_and_b_data.h.
SubProblem Problem::bestSolution |
The best solution found so far.
Definition at line 67 of file b_and_b_data.h.
double Problem::bestValue |
The cost of the best solution found so far.
Definition at line 68 of file b_and_b_data.h.
unsigned short Problem::candidateNodeId |
The id of the candidate node.
Definition at line 65 of file b_and_b_data.h.
clock_t Problem::end |
The time when the algorithm ended.
Definition at line 74 of file b_and_b_data.h.
unsigned int Problem::exploredBBNodes |
The number of nodes explored in the Branch and Bound tree.
Definition at line 70 of file b_and_b_data.h.
unsigned int Problem::generatedBBNodes |
The number of nodes generated in the Branch and Bound tree.
Definition at line 69 of file b_and_b_data.h.
Graph Problem::graph |
The Graph of the problem.
Definition at line 63 of file b_and_b_data.h.
bool Problem::interrupted |
True if the algorithm has been interrupted by timeout.
Definition at line 72 of file b_and_b_data.h.
unsigned int Problem::num_fixed_edges |
The number of fixed edges in the Branch and Bound tree.
Definition at line 71 of file b_and_b_data.h.
Graph Problem::reformulationGraph |
The Graph used to perform the dual reformulation of Edge weights.
Definition at line 64 of file b_and_b_data.h.
clock_t Problem::start |
The time when the algorithm started.
Definition at line 73 of file b_and_b_data.h.
unsigned short Problem::totTreeLevels |
The total number of levels in the Branch and Bound tree.
Definition at line 66 of file b_and_b_data.h.