CN101051361A - Class genetic method for logistic optmum - Google Patents

Class genetic method for logistic optmum Download PDF

Info

Publication number
CN101051361A
CN101051361A CNA2007100556525A CN200710055652A CN101051361A CN 101051361 A CN101051361 A CN 101051361A CN A2007100556525 A CNA2007100556525 A CN A2007100556525A CN 200710055652 A CN200710055652 A CN 200710055652A CN 101051361 A CN101051361 A CN 101051361A
Authority
CN
China
Prior art keywords
class
chromosomoid
centerdot
loop
gtsp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007100556525A
Other languages
Chinese (zh)
Inventor
梁艳春
吴春国
杨金辉
吴春连
孙亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jilin University
Original Assignee
Jilin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jilin University filed Critical Jilin University
Priority to CNA2007100556525A priority Critical patent/CN101051361A/en
Publication of CN101051361A publication Critical patent/CN101051361A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention discloses a quasi-genetic method for material flow optimization. Said method provides a chromosome model formed from two portions of head portion and truncus portion-chromosomoid, in which the gene of said head portion can be used for defining accessed top point of every group in current loop, and the gene of truncus portion can be used for defining a GTSP loop, so that can effective GTSP loop can be obtained, and has no need of making additional modification. At the same time of effectively raising calculation efficiency it can retain diversity of gene segments in the population. On the basis of chromosomoid and quasi-genetic operation said invention can adopt traditional genetic algorithm process to resolve the problem of material flow optimization.

Description

A kind of class genetic method that is used for logistic optmum
Technical field
The present invention relates to a kind of class genetic method, be particularly related to a kind of class genetic method that is used for logistic optmum, chromosome wherein is made of head and trunk two parts, define genetic manipulation and fitness such as its corresponding class intersection, class variation, class reverse according to this chromosome, thus can be enough it find the solution the broad sense traveling salesman problem, and can realize finding the solution simultaneously to conventional traveling salesman problem.
Background technology
General travelling salesman (traveling salesman problem, TSP) and broad sense travelling salesman (generalizedtraveling salesman problem, GTSP) problem is two class ranges of application combinatorial optimization problems very widely, and wherein GTSP is a class problem more more complicated than TSP.Broad sense travelling salesman is by Henry-Labordere the earliest, a kind of combinatorial optimization problem that people such as Saksena and Srivastava propose under the access order background of computer recording balance and welfare institution.GTSP can be described as: supposition exist complete weighted graph G=(V, E, W), V=(v wherein 1, v 2..., v n) be the vertex set of v 〉=3; V is divided into and has the m group that partially overlaps, i.e. V 1, V 2..., V m, wherein | V j| 〉=1, j=(1,2 ..., m) and V = ∪ j = 1 m V j ; E={e Ij| v i, v j∈ V} is the limit collection; W={w Ij| w Ij〉=0, w Ij=0,  i, j ∈ N (n) } be the cost collection, the problem of seeking the Hamiltonian loop of all groups of process and cost minimum is called as GTSP.For the convenience of narrating, we claim also that sometimes W is the cost matrix, and W=(w is arranged this moment Ij) N * nThe GTSP:(1 that two versions are arranged at present) every group only has a summit accessed in the loop, as shown in Figure 1, also claims E-GTSP, and (2) every group have at least a summit as shown in Figure 2 accessed in the loop.
The computational intelligence method that comprises neural network and genetic algorithm is a kind of effective tool of finding the solution combinatorial optimization problem, and has been widely used in finding the solution TSP.But up to the present, the theory and application research of relevant calculation intelligent method on GTSP finds the solution is still very rare.The GA of common integer coding has when finding the solution TSP intuitively, and is easy to operate, carries out the efficient advantages of higher, therefore makes it all obtain intensive research in the theory and the application of finding the solution on the TSP.But since among the GTSP general every group number of vertex all greater than 1, according to original thinking, can determine the visit order of each group based on the GA of normal dyeing body, but can't determine every group of accessed summit, therefore make existing GA algorithm lose original advantage when finding the solution GTSP, GA temporarily has been absorbed in predicament finding the solution on the GTSP.
Summary of the invention
The purpose of this invention is to provide a kind of class genetic method that is used for logistic optmum, this method is utilized chromosomal structure in the general genetic algorithm, and having proposed the class genetic algorithm based on this new chromosome is method, this method does not need the conversion of GTSP to TSP, do not need the cost matrix to satisfy triangle inequality, therefore greatly simplified solution procedure, improved and found the solution efficient.And it can find the solution TSP, GTSP and TSP-GTSP mixed problem with unified pattern.The proposition of this method makes based on the method for solving of GA some problem in the processing machine processing effectively, and the problem of logistic optmum, has greatly promoted the application of GA in GTSP finds the solution.
This method has at first designed a kind of chromosomoid at the broad sense traveling salesman problem, and it is made up of head and trunk two parts, and wherein the gene of head is in order to determine that super vertex is on accessed summit in front loop; The gene of torso portion is used for determining a GTSP loop of generalized vertex.Like this when chromosomoid being decoded into actual loop, just can obtain legal GTSP loop easily, and not need the correction that adds, when having improved counting yield effectively, can keep the diversity of genetic fragment in the colony again, help the generation of defect individual.The singularity of the chromosomoid structure of the present invention's design makes conventional genetic manipulation no longer suitable, so this paper has proposed new genetic manipulation scheme---based on the genetic algorithm (class genetic method) of chromosomoid.Simulated experiment is the result show, it is the logistic optmum problem that the class genetic method that the present invention proposes can be found the solution the broad sense traveling salesman problem effectively, compare with existing method, class genetic method has the fast advantage of travelling speed, and can obtain optimum solution to the partial test problem, the result of most of test problem and the error of optimum solution are in 8%.
Description of drawings
Fig. 1 is for only there being a summit accessed GTSP synoptic diagram in the loop in every group.
Fig. 2 has a summit accessed GTSP synoptic diagram in the loop at least for every group.
Fig. 3 is a chromosomoid mode chart of the present invention.
Fig. 4 is the synoptic diagram of TSP of the present invention with GTSP mixing example.
Fig. 5 is chromosomoid example 1 synoptic diagram of the present invention.
Fig. 6 is chromosomoid example 2 synoptic diagram of the present invention.
Fig. 7 is the GTSP loop synoptic diagram of chromosomoid example 1 correspondence of the present invention.
Fig. 8 is the GTSP loop synoptic diagram of chromosomoid example 2 correspondences of the present invention.
Fig. 9 is a colony of the present invention initializer process flow diagram.
Figure 10 is a class crossover operator process flow diagram of the present invention.
Figure 11 is a class mutation operator process flow diagram of the present invention.
Figure 12 reverses the gene position synoptic diagram for the present invention.
Figure 13 reverses the operator process flow diagram for class of the present invention.
Embodiment
1, related definition
Definition 1: with v 1, v 2..., v n(W) summit in is referred to as original vertices to the figure G=that mode is represented for V, E.
Definition 2: if | V j|>1 (j ∈ N (m)), then title group V jBe super vertex.
Definition 3: if v i∈ V jAnd | V j|=1 (j ∈ 1,2 ..., m}), then claim vertex v i(i ∈ 1,2 ..., n}) be the point that looses.
Definition 4:, claim that then it is an element of this super vertex if original vertices belongs to a certain super vertex.
Definition 5: the super vertex and the point that looses are referred to as generalized vertex.
Definition 6: the Hamilton loop that comprises all generalized vertex is called the GTSP loop.
Definition 7:, then be referred to as legal GTSP loop if the GTSP loop is satisfied each original vertices and visited at the most once.
Definition 8: if comprise the Hamilton loop of all generalized vertex is not legal GTSP loop, then is referred to as illegal GTSP loop.
2, chromosomoid
According to the summit number to the group V after cutting apart 1, V 2..., V mCarry out detailed differentiation,, can count m to original group and resolve into two parts, promptly by top definition 2,3
m = m ^ + m ~ , - - - ( 1 )
Wherein
Figure A20071005565200062
Be the number of super vertex,
Figure A20071005565200063
Be the number of diffusing point, we claim m ^ ≠ 0 And m ~ ≠ 0 And the GTSP problem be TSP-GTSP mixed problem, remember that all super vertexs are respectively:
u 1 , u 2 , · · · , u m ^ , - - - ( N 1 )
Wherein
u i={u i1,u i2,…,u ik}, (N2)
k i ( i ∈ N ( m ^ ) ) The number of representing i super vertex institute containing element, u Il[l ∈ N (k i)] represent l element in i the super vertex, claim that also l is u IlAt super vertex u iInterior sequence number, and remember that all points that loose are respectively:
u ~ 1 , u ~ 2 , · · · , u ~ m ~ , - - - ( N 3 )
These super vertexs and loose point according to
u 1 , u 2 , · · · u m ^ , u ~ 1 , u ~ 2 , · · · u ~ m ~ - - - ( N 4 )
Series arrangement, simultaneously remember that according to the order of (N4) all generalized vertex are:
w 1 , w 2 , · · · , w m ^ + m ~ . - - - ( N 5 )
The pass of generalized vertex and super vertex and the point that looses is:
w k = u k 1 ≤ k ≤ m ^ u ~ k - m ^ m ^ + 1 ≤ k ≤ m ^ + m ~ , k ∈ N ( m ^ + m ~ ) . - - - ( 2 )
Therefore, also claim super vertex u i ( i = 1,2 , · · · , m ^ ) Be i generalized vertex, claim the point that looses u ~ i ( i = 1,2 , · · · , m ~ ) Be
Figure A200710055652000614
Individual generalized vertex is easily known, the number of generalized vertex is
Figure A200710055652000615
Promptly the number m of original group notices that same original vertices may belong to a plurality of super vertexs, and therefore inequality is arranged:
n ≤ m ~ + Σ i = 1 m ^ k i - - - ( 3 )
Set up.
The pattern of the chromosomoid of the present invention design as shown in Figure 3, this chromosome is divided into two parts: first is contained
Figure A20071005565200072
Individual allele is called head; Second portion contains
Figure A20071005565200073
Individual allele is called trunk; When 0 < i &le; m ^ The time, i gene is positioned at the head of chromosomoid.That this gene is deposited is the sequence number l[l ∈ N (k of accessed summit in super vertex in i the super vertex i)] (seeing mark (N2)), when m ^ < i &le; m ^ + ( m ^ + m ~ ) The time, i gene is positioned at the trunk of chromosomoid, and what this gene was deposited is the sequence number of generalized vertex k [ k &Element; N ( m ^ + m ~ ) ] , At this moment, as can be known: if k satisfies by (2) formula k - m ^ &le; m ^ , Then the representative of this gene is the
Figure A20071005565200078
Individual super vertex, promptly
Figure A20071005565200079
If k satisfies k - m ^ > m ^ , Then the representative of this gene is the
Figure A200710055652000711
Individual diffusing point, promptly
Figure A200710055652000712
When carrying out the chromosomoid decoding, the gene of torso portion has been determined a GTSP loop of generalized vertex; The gene of head is in order to determine that super vertex is on accessed summit in front loop; If note
H = { h | h = [ h ( 1 ) , h ( 2 ) , &CenterDot; &CenterDot; &CenterDot; h ( m ^ ) ] , h ( i ) &Element; N ( k i ) , i &Element; N ( m ^ ) } , - - - ( 4 )
Wherein h = [ h ( 1 ) , h ( 2 ) , &CenterDot; &CenterDot; &CenterDot; h ( m ^ ) ] Be a finite sequence, the sequence number of the some elements in i super vertex of h (i) expression, then H is the set that all feasible genetic fragments of chromosomoid head constitute; If note
B={b|b=∏(m)} (5)
B=∏ (m)=[b wherein 1, b 2..., b m] be 1,2 ..., the full arrangement of m, then b represents a GTSP loop, so B is the set that all feasible genetic fragments of chromosomoid trunk constitute; If the set of all pairing chromosomoids in GTSP loop of note is D, then
D={x|x=hb,h∈H,b∈B}, (6)
Wherein x=h  b represents by H, the chromosomoid that the genetic fragment among the B combines.
Having the vertex set V={1 of 20 elements, 2 ..., 20} is an example, establishes its part summit and is divided into following three groups
V 1={1,2,3,4,12,13,15,17}, (7)
V 2={3,4,6,7,16,19}, (8)
V 3={8,9,10,11}, (9)
Diffusing point is respectively 5,14,18,20, as shown in Figure 4, at this moment, has
u 1={u 1,1,u 1,2,u 1,3,u 1,4,u 1,5,u 1,6,u 1,7,u 1,8}
u 2={u 2,1,u 2,2,u 2,3,u 2,4,u 2,5,u 2,6}, (10)
u 3={u 3,1,u 3,2,u 3,3,u 3,4}
u ~ 1 = 5 , u ~ 2 = 14 , u ~ 3 = 18 , u ~ 4 = 20
Wherein
u 1,1=1,u 1,2=2,u 1,3=3,u 1,4=4,u 1,5=12,u 1,6=13,u 1,7=15,u 1,8=17
u 2,1=3,u 2,2=4,u 2,3=5,u 2,4=6,u 2,5=16,u 2,6=19,
u 3,1=8,u 3,2=9,u 3,3=10,u 3,4=11
u ~ 1 = 5 , u ~ 2 = 14 , u ~ 3 = 18 , u ~ 4 = 20
Original vertices can be arranged in any order in the super vertex, but recommends to arrange according to the mode of descending; Same arrangement of loosing point is also recommended to carry out according to the mode of descending, at this moment, has m ^ = 3 , m ~ = 4 , The head that is chromosomoid has 3 ( m ^ = 3 ) Individual gene, trunk has 7 ( m ^ + m ~ = 7 ) Individual gene; In order more clearly chromosomoid to be explained, designed the embodiment of two chromosomoids here especially, order
h 1=h 2=[3,1,2], (11)
b 1=[3,5,6,1,4,2,7], (12)
b 2=[3,5,6,4,1,2,7], (13)
Can obtain two chromosomoids thus, be respectively:
x 1=h 1b 1, (14)
x 2=h 2b 2. (15)
Its structure can represent with Fig. 5 and Fig. 6 visually that corresponding GTSP loop respectively as shown in Figure 7 and Figure 8.Below with x 1Introduce the decode procedure of chromosomoid for example.The gene of this chromosomoid head is 3,1,2, and they represent super vertex u respectively 1In accessed be u 1,3, u 2In accessed be u 2,1, u 3In accessed be u 3,2The gene of trunk is 3,5,6,1,4,2,7, and they have represented a loop of 7 generalized vertex:
a1:w 3→w 5→w 6→w 1→w 4→w 2→w 7→w 3
a 2 : u 3 &RightArrow; u ~ 2 &RightArrow; u ~ 3 &RightArrow; u 1 &RightArrow; u ~ 1 &RightArrow; u 2 &RightArrow; u ~ 4 &RightArrow; u 3 ,
When genic value is not more than
Figure A20071005565200092
The time, corresponding generalized vertex is a super vertex; When genic value greater than
Figure A20071005565200093
The time, corresponding generalized vertex is the point that looses, therefore according to top decoding rule, the loop that this chromosome is represented should be:
a 3 : u 3,2 &RightArrow; u ~ 2 &RightArrow; u ~ 3 &RightArrow; u 1,3 &RightArrow; u ~ 1 &RightArrow; u 2,3 &RightArrow; u ~ 4 &RightArrow; u 3,2 ,
Be expressed as with original vertices:
a4:v 9→v 14→v 18→v 3→v 5→v 3→v 20→v 9
Be that last GTSP loop is:
a5:9→14→18→3→5→3→20→9.
In like manner, according to top decode procedure, chromosomoid x 2The loop of pairing above-mentioned 5 kinds of forms is respectively:
b1:w 3→w 5→w 6→w 4→w 1→w 2→w 7→w 3
b 2 : u 3 &RightArrow; u ~ 2 &RightArrow; u ~ 3 &RightArrow; u ~ 1 &RightArrow; u 1 &RightArrow; u 2 &RightArrow; u ~ 4 &RightArrow; u 3 ,
b 3 : u 3,2 &RightArrow; u ~ 2 &RightArrow; u ~ 3 &RightArrow; u ~ 1 &RightArrow; u 1,3 &RightArrow; u 2 , 1 &RightArrow; u ~ 4 &RightArrow; u 3,2 ,
b4:v 9→v 14→v 18→v 5→v 3→v 3→v 20→v 9
b5:9→14→18→5→3→3→20→9.
Loop a4, v among the a5 3And v 5Between have the loop of a closure, wherein a part is represented with dotted line in the drawings, loop b4, v among the b5 3The last path that has a visit self, v under the both of these case 3All accessed twice.The limit that Origin And Destination is identical is called as ring in the drawings, and that dot in Fig. 8 is exactly a v 3On ring, the appearance of both of these case all is because super vertex u 1And u 2Between exist due to the lap; The cost that is encircled as can be known by the definition of cost matrix is 0, so x 1Cost inevitable greater than x 2Cost, when chromosomoid being decoded into actual loop, remove the ring that all produce owing to super vertex is overlapping, just can obtain legal GTSP loop.
Genetic algorithm-class genetic method based on chromosomoid
In order to make this method be accepted by the researcher who uses GA easily, in the design of class genetic method, the present invention's continue to follow conventional lines basic framework of genetic algorithm, but in the realization of genetic manipulation, the singularity of chromosome structure makes class genetic method and conventional GA have tangible difference, provides the performing step of this method below:
A. colony's initializer P:
Initializer P is used for producing the initial population of given scale, and it is a binary random operator, and two arguments of effect are respectively H, B, the consequently subclass of chromosomoid set D.If note P is a colony, the initialization of P can be expressed as:
P=P N(H,B), (16)
P wherein NBe that scale is the initializer of the colony of N, its effect flow process as shown in Figure 9.
B. class crossover operator C:
In order to finish interlace operation, produce new chromosome, this paper has defined the class crossover operator
Figure A20071005565200101
It is a binary random operator, and the argument of effect is the element among the chromosomoid set D, if x, and y ∈ D, x then, y can produce dyad under the effect of C:
(x′,y′)=C(x,y), (18)
X ' wherein, y ' be C with (genetic fragment of promptly intersecting is identical) under the direct action respectively with x, y be two words producing of parent for chromosome because C is a random operator, therefore generally speaking, if
(x 1′,y 1′)=C(x,y), (19)
(x 2′,y 2′)=C(x,y), (20)
Can not guarantee
x 1′=x 2′, (21)
y 1'=y 2Set up ' (22).And if only if crossover operator C selects at random two intersect gene position when identical, (21), the establishment of (22) two formulas are just arranged.
Suppose x=h x b x, y=h y b y, the effect flow process of operator C as shown in figure 10, the effect of such crossover operator is similar to typical 2 interlace operations among the common GA, promptly selects two to intersect gene position on chromosome at random, is designated as i 1, i 2(might as well establish i 1<i 2),
i 1 = random ( m ^ + ( m ^ + m ~ ) ) ,
i 2 = random ( m ^ + ( m ^ + m ~ ) ) ,
So, if i 1 > m ^ , Then interlace operation occurs in trunk, because trunk is equivalent to a length is Autosome, therefore the effect of operator C is equivalent at autosome b in this case x, b yOn interlace operation, this moment has been owing to removed the chromosomal head genetic fragment of parent, needs translation to intersect the sequence number of gene position, that is:
i 1 &DoubleLeftArrow; i 1 - m ^ , - - - ( N 6 )
i 2 &DoubleLeftArrow; i 2 - m ^ . - - - ( N 7 )
On the fragment that new intersection gene position is determined, carry out conventional interlace operation, be designated as
b xb y→(b x′,b y′), (N8)
B wherein x', b y' ∈ B.Then with b x', b y' respectively with x, the combination of the head genetic fragment of y promptly obtains representing the child chromosome in corresponding GTSP loop, is designated as:
x′=h xb x′. (23)
y′=h yb y′. (24)
If i 2 &le; m ^ , Then the class interlace operation occurs in head fully, and at this moment the class crossover operator just exchanges the gene on the intersection fragment, is designated as:
h xh y→(h x′,h y′), (N9)
H wherein x', h y' ∈ H.Then h x', h y' respectively with x, the combination of the head genetic fragment of y promptly obtains representing the child chromosome in corresponding GTSP loop, is designated as:
x′=h x′b x. (25)
y′=h y′b y. (26)
If i 1 &le; m ^ And i 2 > m ^ , Then can regard the combination of top two class interlace operations as, one occur in by And i 2On the genetic fragment of determining, another occurs in by i 1And
Figure A20071005565200125
On the genetic fragment of determining; Carry out this two interlace operations respectively according to top mode, then corresponding new head that produces and trunk genetic fragment are made up the child chromosome that just obtains representing the GTSP loop, therefore, two broad sense child chromosome can be designated as respectively:
x′=h x′b x′, (27)
y′=h y′b y′. (28)
C. class mutation operator M:
In order to increase the diversity of chromogene fragment, the present invention with the genetic manipulation mode-definition of inserting variation the class mutation operator
Figure A20071005565200126
It is the monobasic random operator, and the argument of effect is the element among the chromosomoid set D.If x ∈ D, then x can produce a new chromosome under the effect of M:
x′=M(x). (30)
Be similar to class crossover operator C, because M is a random operator, so generally speaking, if the variation individuality that x produces under two secondary actions of class mutation operator M is respectively:
x 1′=M(x), (31)
x 2′=M(x). (32)
Can not guarantee
x 1′=x 2′. (33)
And if only if preparation gene that mutation operator M selects at random and insert gene position when all identical just has the establishment of (33) formula, and this probability for random operator M is very little.
Suppose x=h x b x, and
h x = [ h ( 1 ) , h ( 2 ) , &CenterDot; &CenterDot; &CenterDot; h ( m ^ ) ] , - - - ( 34 )
b x = [ b ( 1 ) , b ( 2 ) , &CenterDot; &CenterDot; &CenterDot; b ( m ^ + m ~ ) ] , - - - ( 35 )
Then the effect flow process of operator M as shown in figure 11, such mutation operator executable operations is similar among the common GA genetic manipulation that inserts variation, promptly at first selects a preparation gene as the gene that is inserted on chromosomoid, supposes that the gene position of this preparation gene is:
i = random ( m ^ + ( m ^ + m ~ ) )
Different with common mutation genetic operation is:
If i > m ^ , Then should prepare the trunk of gene, and can determine it is b at chromosomoid x
Figure A20071005565200135
Individual component is b xThe gene of middle preparation gene back moves forward a gene position successively, generates interim genetic fragment
b x &prime; &prime; = [ b ( 1 ) , b ( 2 ) , &CenterDot; &CenterDot; &CenterDot; b ( i - m ^ - 1 ) , b ( i - m ^ + 1 ) , &CenterDot; &CenterDot; &CenterDot; , b ( m ^ + m ~ ) ] . - - - ( 36 )
Next in length be
Figure A20071005565200137
Interim genetic fragment b x" on select one to insert gene position at random
s = random ( m ^ + m ~ - 1 ) , - - - ( 37 )
This is similar with conventional insertion mutation operation, the selectional restriction of just inserting gene position is on the interim genetic fragment that is generated by trunk, obtain preparing gene and insert after the gene position, mutation operator moves a gene position to the gene that inserts gene position b (s) back after successively earlier, and
Figure A20071005565200141
Be inserted on the follow-up gene position of b (s), the new chromosomoid that note mutation operator M effect back produces is:
x′=h xb x′, (38)
Wherein
b x &prime; = [ b ( 1 ) , b ( 2 ) , &CenterDot; &CenterDot; &CenterDot; , b ( i - m ^ - 1 ) ,
b ( i - m ^ + 1 ) , &CenterDot; &CenterDot; &CenterDot; , b ( s ) , b ( i - m ^ ) , b ( s + 1 ) , &CenterDot; &CenterDot; &CenterDot; , b ( m ^ + m ~ ) ] - - - ( 39 )
If i &le; m ^ , Then should prepare the head of gene, and can determine it is h at chromosomoid xI component h (i).At this moment, need not to continue to select to insert gene position, be used in 1,2 ..., k iIn the integer selected at random replace the preparation gene and get final product, the new chromosomoid that produces after the mutation operator effect is:
x′=h x′b x, (40)
Wherein
h x = [ h ( 1 ) , h ( 2 ) , &CenterDot; &CenterDot; &CenterDot; , h ( i - 1 ) , random ( k i ) , h ( i + 1 ) , &CenterDot; &CenterDot; &CenterDot; h ( m ^ ) ] . - - - ( 41 )
D. class mutation operator R:
In order to improve the speed of convergence of class genetic method, this paper has designed class and has reversed operator
Figure A20071005565200146
It is the monobasic random operator, and the argument of effect also is the element among the chromosomoid set D.If x ∈ D, then x produces a new chromosome under the effect of R:
x′=R(x). (43)
Be similar to class mutation operator M equally, generally speaking, be respectively x if x reverses the variation individuality that produces under two secondary actions of operator R in class 1'=R (x), x 2'=R (x) can not guarantee
x 1′=x 2′. (44)
When two reverse gene position that class that and if only if reverse operator R selects at random are identical, just there is (44) formula to set up.Different with class mutation operator M is that R only implements the torso portion of chromosomoid and reverses operation.Suppose that two reverse gene position selecting at random are respectively i 1, i 2(might as well establish i 1<i 2), as shown in figure 12, then the effect flow process of operator R is as shown in figure 13.
Be similar to the conventional operation that reverses, operator R is at first at b xTwo of last selections reverse gene position i 1, i 2
i 1 = random ( m ^ + m ~ ) , - - - ( 45 )
i 2 = random ( m ^ + m ~ ) - - - ( 46 )
If b is (i 1), b (i 2) in have super vertex, relate to b (i in the pricing below then 1), b (i 2) the place, all be in accessed original vertices in the front loop for this super vertex.Note
g 1=d(b(i 1),b(i 2))+d(b(i 1+1),b(i 2+1)), (47)
g 2=d(b(i 1),b(i 2+1))+d(b(i 1+1),b(i 2)), (48)
If g 2<g 1, then b (i 1+ 1) to b (i 2) order of gene reverses on the fragment, obtain
b x &prime; = [ b ( 1 ) , &CenterDot; &CenterDot; &CenterDot; , b ( i 1 ) b ( i 2 ) , b ( i 2 - 1 ) ,
&CenterDot; &CenterDot; &CenterDot; , b ( i 1 + 2 ) , b ( i 1 + 1 ) , b ( i 2 + 1 ) , &CenterDot; &CenterDot; &CenterDot; , b ( m ^ + m ~ ) ] , - - - ( 49 )
Produce new chromosomoid then
x′=h xb x′. (50)
Otherwise, do not do any operation.
E. fitness:
Fitness function adopts the form that is similar to common GA used fitness function when finding the solution the TSP problem among the present invention, still line taking calibration, and its form is:
f ( x ) = &alpha; m ^ + m ~ A / T ( x ) , - - - ( 51 )
X ∈ D wherein, α is predefined constant,
Figure A20071005565200156
With
Figure A20071005565200157
Be respectively the number of the super vertex and the point that looses, A is the length of side that comprises the minimum regular polygon of vertex set V, when V is point set under the two-dimentional euclidean geometry meaning, A is exactly the length of side that comprises the smallest square on all summits, T (x) is an objective function, the access cost in promptly actual GTSP loop, and its form is;
T ( x ) T ( h x &CirclePlus; b x ) = d ( b ( 1 ) , b ( m ^ + m ~ ) ) + &Sigma; i = 2 m ^ + m ~ d ( b ( i ) , b ( i - 1 ) ) . - - - ( 52 )
Here it should be noted that not every original vertices all is comprised in the current loop in GTSP, the calculating of super vertex cost refers to that it is at original vertices accessed in front loop and the access cost between other summit.

Claims (6)

1, a kind of class genetic method that is used for logistic optmum is characterized in that: comprise the steps: at least
Step (1): the structure chromosomoid, chromosomoid is to grouping information and accessed vertex information coding;
Step (2): the intersection task of chromosomoid is finished in definition class crossover operator/operation;
Step (3): the variation task of chromosomoid is finished in definition class mutation operator/operation;
Step (4): class reverses the reverse task that chromosomoid is finished in operator/operation;
Step (5): the class fitness function is finished the evaluation task of chromosomoid.
2, a kind of class genetic method that is used for logistic optmum according to claim 1 is characterized in that: by chromosomoid grouping information in the broad sense traveling salesman problem and accessed vertex information are encoded simultaneously.
3, a kind of class genetic method that is used for logistic optmum according to claim 2, it is characterized in that: described chromosomoid is made up of two parts coded strings, wherein:
Part coded strings has and the relevant figure place of grouping book;
Another part coded strings has the coding figure place relevant with two accessed class summits.
4, a kind of class genetic method that is used for logistic optmum according to claim 1, it is characterized in that: the process of described class interlace operation comprises at least:
Transposition section is carried out a class interleaved scheme when head;
Transposition section is carried out a class interleaved scheme when trunk;
When transposition section comprises head and trunk bits of coded, carry out a class interleaved scheme.
5, a kind of class genetic method that is used for logistic optmum according to claim 1, it is characterized in that: the process of described class mutation operation comprises at least:
Class variation scheme is carried out in the variation position when head;
Class variation scheme is carried out in the variation position when trunk.
6, a kind of class genetic method that is used for logistic optmum according to claim 1 is characterized in that: the process that described class reverses operation comprises at least:
Reverse the interval when trunk, carry out a class and reverse scheme;
Reverse the interval when head, carry out a class and reverse scheme.
CNA2007100556525A 2007-05-18 2007-05-18 Class genetic method for logistic optmum Pending CN101051361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100556525A CN101051361A (en) 2007-05-18 2007-05-18 Class genetic method for logistic optmum

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100556525A CN101051361A (en) 2007-05-18 2007-05-18 Class genetic method for logistic optmum

Publications (1)

Publication Number Publication Date
CN101051361A true CN101051361A (en) 2007-10-10

Family

ID=38782768

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100556525A Pending CN101051361A (en) 2007-05-18 2007-05-18 Class genetic method for logistic optmum

Country Status (1)

Country Link
CN (1) CN101051361A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8250007B2 (en) 2009-10-07 2012-08-21 King Fahd University Of Petroleum & Minerals Method of generating precedence-preserving crossover and mutation operations in genetic algorithms
CN103942419A (en) * 2014-04-04 2014-07-23 南京邮电大学 Hybrid intelligent optimization method
CN108898237A (en) * 2018-05-02 2018-11-27 镇江国中亿家科技有限公司 A kind of logistics of retail enterprise allocator based on genetic algorithm

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8250007B2 (en) 2009-10-07 2012-08-21 King Fahd University Of Petroleum & Minerals Method of generating precedence-preserving crossover and mutation operations in genetic algorithms
CN103942419A (en) * 2014-04-04 2014-07-23 南京邮电大学 Hybrid intelligent optimization method
CN103942419B (en) * 2014-04-04 2017-05-03 南京邮电大学 Hybrid intelligent optimization method
CN108898237A (en) * 2018-05-02 2018-11-27 镇江国中亿家科技有限公司 A kind of logistics of retail enterprise allocator based on genetic algorithm

Similar Documents

Publication Publication Date Title
CN1684492A (en) Image dictionary creating apparatus, coding apparatus, image dictionary creating method
CN1940913A (en) Variable table data type setting method
CN1945602A (en) Characteristic selecting method based on artificial nerve network
CN1722130A (en) Reconfigurable operation apparatus
CN1120268A (en) Device for quantization vector
CN1940981A (en) Producer, production, applied system and method for electronic label
CN1871563A (en) Machining information creating device, program, and machining information creating method
CN101047733A (en) Short message processing method and device
CN1845213A (en) Method for realizing encryption/decryption processing in SMS4 cipher algorithm
CN1147155C (en) DCT arithmetic device
CN101051361A (en) Class genetic method for logistic optmum
CN2706801Y (en) Font processor and terminal apparatus
CN101048776A (en) Content data searcher
CN1649274A (en) Variable length decoding device and variable length decoding method and reproducing system
CN101075244A (en) Method for forming symbol with point, side and line integration
CN101030366A (en) Information processing apparatus, information processing method and program
CN1815507A (en) Method, apparatus, and medium for transforming graphic data of an object
CN1187902C (en) Decoding device
CN1777831A (en) Method of designing optical system
CN1582555A (en) Segmental deinterlacing
CN1928814A (en) Organization entity capacity based software process mode construction method and system
CN100336065C (en) Right angle wiring tree method for wire length optimized obstacle passing
CN1921366A (en) Method and device for realizing coded identification log-likelihood ratio
CN1722778A (en) Image processing system, information processing apparatus and method, image processing apparatus and method, recording medium, and program
CN1698062A (en) Information coding device, information decoding device, and method thereof, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication