Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and fix VLNS propose function #87

Open
nicolaefilat opened this issue May 3, 2024 · 0 comments
Open

Refactor and fix VLNS propose function #87

nicolaefilat opened this issue May 3, 2024 · 0 comments

Comments

@nicolaefilat
Copy link
Contributor

The current implementation of the enumerate function looks like this.

function enumerate_neighbours_propose(enumeration_depth::Int64)
    return (solver::Solver, path::Vector{Int}, dict::Union{Nothing,Dict{String,Any}}) -> begin
        return BFSIterator(solver)
    end
end

This, however, has some mistakes:

  1. The path is not taken into account at all by this function. That means that instead of enumerating with BFS at a specific location this just enumerates bfs from the root.
  2. The dictionary contains that subset of rules that should be used. This is currently not implemented
  3. Maybe refactor the code to now returns functions but use something else if possible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant