Skip to content

Add new node to exist assignment with the least change #2425

Discussion options

You must be logged in to vote
routing.VechicleVar(index_N).SetValue(vehicle_X)
  • You can take a look at ApplyLock() method
    /// Applies a lock chain to the next search. 'locks' represents an ordered
    /// vector of nodes representing a partial route which will be fixed during
    /// the next search; it will constrain next variables such that:
    /// next…

Replies: 1 comment

Comment options

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

This discussion was converted from issue #2424 on March 05, 2021 07:50.