7 #ifndef CMR_ACTIVE_TOUR_H 8 #define CMR_ACTIVE_TOUR_H 40 std::vector<double> lp_edges,
Basis base,
52 void set_basis(
Basis new_base) { tour_base = std::move(new_base); }
65 double length()
const {
return tour_len; }
67 bool tourless()
const {
return tourless_mode; }
69 const std::vector<int> &nodes()
const {
return tour_nodes; }
70 const std::vector<int> &tour_perm()
const {
return perm; }
72 const std::vector<double> &edges()
const {
return tour_edges; }
74 const Basis &base()
const {
return tour_base; }
79 std::vector<int> tour_nodes;
80 std::vector<int> perm;
82 std::vector<double> tour_edges;
86 bool tourless_mode =
false;
Miscellaneous functions, structs/enums, and constants for LPs.
Information about the current best tour.
Definition: datagroups.hpp:154
void enter_tourless(Data::BestGroup &best_data)
Go into tourless mode of operation with best tour.
Definition: active_tour.cpp:308
void best_update(Data::BestGroup &best_data) const
Update best_data with the this tour.
Definition: active_tour.cpp:279
Graph structures for the edges currently in a CoreLP::Relaxation.
Definition: datagroups.hpp:100
Interface to the LP solver.
Row and column basic statuses corresponding to some LP solution.
Definition: lp_util.hpp:76
void instate(Relaxation &relax)
Instate this tour in relax.
Definition: active_tour.cpp:253
Information about the active tour in a CoreLP.
Definition: active_tour.hpp:30
Class for storing an lp relaxation via interface to an lp solver.
Definition: lp_interface.hpp:33
The namespace for this project.
Definition: abc_nodesel.hpp:20
void reset_instate(Relaxation &relax)
Get a new basis for this tour from relax, instating it.
Definition: active_tour.cpp:221