This is my first question here. I'm starting with Julia, so sorry if this 
is too simple.

I am used to programming mostly in Matlab, so the following behavior has 
surprised me.

I use the variable jjmin inside a for loop (not a function). After the loop 
finishes, its value is "forgotten"! Is this normal?

Please find the file attached (you can run it or see its output commented 
at the end).

Thank you in advance!

F

Attachment: traveling_salesman_brute_force.jl
Description: Binary data

Reply via email to