Skip to content
Discussion options

You must be logged in to vote

Well, turn out my FirstSolutionStrategy was GlobalCheapestArc. Changed it to PathMostConstrainedArc and everything work fine. By the way, can someone explain me how different between FirstSolutionStrategy options and LocalSearchMetaheuristic options, kinda use it random.

private static RoutingSearchParameters InitSearchParameters()
        {
            RoutingSearchParameters searchParameters = operations_research_constraint_solver.DefaultRoutingSearchParameters();

            searchParameters.FirstSolutionStrategy = FirstSolutionStrategy.Types.Value.GlobalCheapestArc;
            searchParameters.LocalSearchMetaheuristic = LocalSearchMetaheuristic.Types.Value.GuidedLocalSearch;

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by its-rav
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants