I would like to assign each vertex a random number with the minimum bound equal to the smallest vertex and the maximum equal to the value of the largest without repeats. ie in a 20x20 grid, the vertices would be labeled from 1-400 without repeats but each randomly
Here's one way to get random integers
This gets the first 16 integers in random order and formats them in a 4 by 4 block.
You can change the "16" to 400 and the "4" to 20 and get a larger matrix of such values.