Professional Documents
Culture Documents
Crossover Operator
NOTE : Inheritance can be from non-continuous genes. For example, we can choose genes 2
and 4, instead of genes 3 and 4, chosen as above.
Mutation/Local Search
1-5-3-4-2
3 2 5 1 5 3 2 4 6 9 10 7 8
4 3 3 5 2 10 3 1 8 7 9 6 4
3 3 3 5 2 10 3 1 8 7 9 6 4
4 1 5 1 5 3 2 4 6 9 10 7 8
OR
4 2 4 5 2 10 3 1 8 7 9 6 4
4 2 4
1 2 3
100
100 200 300
4 5 6
150
700 800 900
7 8 9
250
400 500 600
75 275 150
∑ 𝑋𝑖𝑗 = 𝐷𝑗 ; ∑ 𝑋𝑖𝑗 = 𝑆𝑖
𝑖 𝑗
𝑋𝑖𝑗 ≤ 𝑀𝑖𝑗 ∗ 𝛿𝑖𝑗 ; 𝑤ℎ𝑒𝑟𝑒 𝑀𝑖𝑗 = 𝑚𝑖𝑛 {𝑆𝑖 , 𝐷𝑗 }
Note:
2. When such a related problem is solved, the transport plan {𝑋𝑖𝑗 } is always feasible
except for a lower bound on Z.
75 25 100
150 150
Matrix 1
75 275 150
100 100
100 50 150
75 275 150
Matrix 2
Ensuring feasibility (𝛿𝑖𝑗 within 1) of basic cells while performing the crossover and mutation
operators is a challenge.
We cannot perform crossover either by row or by column as 𝑆𝑖 and 𝐷𝑖 with respect to ∑𝑋𝑖𝑗
will not be satisfied.
Matrix 1
{1-2-5-8-9 - 3-4-6-7}
When converted from permutation representation to shipment plan, we have the same matrix.
Matrix 2
{3-5-6-7-8 - 1-2-4-9}
Non-
Shipment
shipment
Cells
cells
100
150
75 125 50
When converted back into transportation plan, we have the following matrix, which portrays
a different transportation plan!
The aim is to find a suitable way to transform the given transportation plan into the
permutation representation such that when we derive the transportation plan from the
permutation representation, we must get the original transport plan.
Note that our reference is the transportation plan and not the permutation representation.
Step 1: When a transport plan is given, identify the cells for which
E.g. In the above matrix 2 : we have 3 and 7. The partial permutation sequence is { 3-7} or {
7-3}
Step 2: Now, update the leftover supply and left over demand by removing the shipments
carried to 3 and 7.
Step 3: The new sets of qualifying cells {6,8} and hence we have the sequence {3,7,6,8} and
finally {3,7,6,8,5}. This sequence will lead to Matrix 2 when converted into the transport
plan.
{9-7-8-6-5-4-3-2-1}
100
150
75 25 100
And this result is {9-7-5-2-8-1-3-4-6}
You may have alternate permissible sequences for the same transportation plan.