mutVRP: Mutation operator.

Description Usage Arguments Value

Description

Performs two consecutive mutation steps: 1) Mutate the binary string ind$b. I.e., dynamic, available, but not yet fixed customers may be added or removed from customer list. 2) Swap mutation on ind$b, i.e., reorder the customer permutation.

Usage

1
mutVRP(ind, p.swap = 1)

Arguments

ind

[VRPIndividual]
Individual.

p.swap

[numeric(1)]
Swap probability. Defaults to 1.

Value

[VRPIndividual]


jakobbossek/dynvrp documentation built on Jan. 19, 2020, 9:53 p.m.