[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLightPairRelocateOperator\u003c/code\u003e class in C++ facilitates the relocation of nodes in a routing problem using predefined index pairs.\u003c/p\u003e\n"],["\u003cp\u003eThis operator utilizes primary and secondary decision variables, along with a function to handle empty path starts and a set of routing index pairs.\u003c/p\u003e\n"],["\u003cp\u003eUsers can generate a textual representation of the operator's internal state via the \u003ccode\u003eDebugString\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeNeighbor\u003c/code\u003e method attempts to create a new solution by applying the relocation operation, indicating success with a boolean return value.\u003c/p\u003e\n"]]],["The `LightPairRelocateOperator` class in C++ is documented, showcasing its methods: `DebugString`, `LightPairRelocateOperator` (constructor), destructor (`~LightPairRelocateOperator`), and `MakeNeighbor`. The constructor takes `vars`, `secondary_vars`, `start_empty_path_class` (a function), and `index_pairs` as arguments. `DebugString` returns a string, and `MakeNeighbor` returns a boolean, indicating the success of an operation. These methods are defined within the context of constraint solving and routing.\n"],null,["# LightPairRelocateOperator\n\nC++ Reference: class LightPairRelocateOperator\n==============================================\n\n\nNote: This documentation is automatically generated.\n\n| Method ||\n|-------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`DebugString`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_neighborhoods.h#L207) | Return type: `std::string ` \u003cbr /\u003e |\n| [`LightPairRelocateOperator`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_neighborhoods.h#L200) | \u003cbr /\u003e Arguments: `const std::vector\u003cIntVar*\u003e& vars, const std::vector\u003cIntVar*\u003e& secondary_vars, std::function\u003cint(int64_t)\u003e start_empty_path_class, const RoutingIndexPairs& index_pairs` \u003cbr /\u003e |\n| [`~LightPairRelocateOperator`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_neighborhoods.h#L204) | \u003cbr /\u003e |\n| [`MakeNeighbor`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_neighborhoods.h#L206) | Return type: `bool ` \u003cbr /\u003e |"]]