Learn R Programming

warehouseTools (version 0.1.2)

optimize_aisles: Optimize Aisles for Warehouse Layout

Description

This internal function optimizes the aisles in a warehouse layout by finding the best cut points to reduce travel distances between arcs (edges).

Usage

optimize_aisles(arcs)

Value

A list containing the following elements: - `changed`: A logical vector indicating which aisles were changed. - `gain`: The gain in optimization for each aisle. - `loss`: The loss for isolated aisles. - `arcs_changed`: The updated arcs without the `id` column. - `arcs_isolated`: The isolated arcs without the `id` column. - `empty_aisles`: A vector of aisles that were found to be empty.

Arguments

arcs

A data frame or matrix containing arc data, where each row represents an edge with columns such as `x_from`, `x_to`, `y_from`, `y_to`, and `distance`.