I am trying to simulate combinations based on 5 coordinates (datset below): data coord; input x 1. y 1.; datalines; 11 32 55 91 14 run; Every combination must begin with (1,1) and end with (1,1) i.e. (1,1) -> (3,2)-> (5,5)-> (9,1)-> (1,4)-> (1,1) and all combinations must be unique and finally that there can't be the above route and (1,1) ->(1,4)-> (9,1)-> (5,5)-> (3,2)-> (1,1) as both routes are the same but in opposite directions. Is there a way to do this in sas?
... View more