C++ Reference: class RelocateExpensiveChain

Note: This documentation is automatically generated.

RelocateExpensiveChain

Operator which relocates the most expensive subchains (given a cost callback) in a path to a different position.

The most expensive chain on a path is the one resulting from cutting the 2 most expensive arcs on this path.
Method
DebugString

Return type: std::string

MakeNeighbor

Return type: bool

MakeOneNeighbor

Return type: bool

RelocateExpensiveChain

Arguments: const std::vector<IntVar*>& vars, const std::vector<IntVar*>& secondary_vars, std::function<int(int64_t)> start_empty_path_class, int num_arcs_to_consider, std::function<int64_t(int64_t, int64_t, int64_t)> arc_cost_for_path_start

~RelocateExpensiveChain