Function vrp_core::construction::features::create_minimize_distance_feature
source · pub fn create_minimize_distance_feature(
name: &str,
transport: Arc<dyn TransportCost + Send + Sync>,
activity: Arc<dyn ActivityCost + Send + Sync>,
feature_keys: ScheduleKeys,
time_window_code: ViolationCode
) -> Result<Feature, GenericError>
Expand description
Creates a travel costs feature which considers distance for minimization as global objective. NOTE: duration costs is still considered on local level.