Skip to content

Commit

Permalink
Update tsp_lazy_constraints.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 9, 2024
1 parent 15c2c1e commit cd36562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/tutorials/algorithms/tsp_lazy_constraints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ import Plots
# The vertices are assumed to be randomly distributed in the Euclidean space;
# thus, the weight (distance) of each edge is defined as follows.

function generate_distance_matrix(n; random_seed = 1)
function generate_distance_matrix(n; random_seed = 1234)
rng = Random.MersenneTwister(random_seed)
X = 100 * rand(rng, n)
Y = 100 * rand(rng, n)
Expand Down

0 comments on commit cd36562

Please sign in to comment.