The GA Procedure

UpdateSolutions Call

updates current solution population

call UpdateSolutions( sol, n, seg );

The inputs to the UpdateSolutions subroutine are as follows:

sol        is an array containing the replacement solution elements.
nis the number of solutions to update.
segis the segment of the solution to replace.

The UpdateSolutions subroutine is used to replace the values of the selected solution segment with new values computed in an update routine. The update routine can be designated in a SetUpdateRoutine call. The UpdateSolutions call is often used to implement advanced strategies such as marking Pareto-optimal sets or employing local optimizations. The sol parameter should have 2 dimensions. The first dimension represents the solution number, and should have a value of n or greater. The second dimension represents the element within the solution seg, and should be equal to the segment size.

Previous Page | Next Page | Top of Page