//
//Anneal command
//
//This command is used to solve no alogoritham problem by Anneal method.
//
//Syntax
anneal x y z;
//Example this anneal method Sallesman circular problem with random 3d points.
clear;
for(i=0;i<=30;i++) {
x1=random;
x2=random;
x3=random;
outrec;
}
//use anneal method for 2d random points
anneal x1 x2;
anaput ana1;
//view result of 2d circular path.
get ana1;
plot scat x1 x2/
line=yes
;
//use anneal method for 3d random points
anneal x1 x2 x3;
anaput ana1;
//view result of circular path.
get ana1;
plot scat x1 x2 x3/
line=yes
;