C++ Reference: class RelocateExpensiveChain

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)> start_empty_path_class, int num_arcs_to_consider, std::function<int64(int64, int64, int64)> arc_cost_for_path_start

~RelocateExpensiveChain