costs with a representation of a block layout. The existing layout or new facility or any initial arbitrary layout is
considered as a block layout. Now, the algorithm computes the department allocations and estimate the cost incurred
on the layout which is observed as initial travelling cost of the layout. The impact on a cost measure for two-way or
three-way swapping in the location of the facilities would be computed by the governing algorithm.
The basic goal of the algorithm is to minimize total cost (TC) function, which is specified mathematically as: