SDMP User Manual (ENG)
  • Introduction
    • Introduction to SDMP
  • Getting Started
    • Creating SDMP Project
  • Data Handling
    • Loading Input Data
      • Defining Input Data Schema
      • Creating Input Data
      • Loading Input Data
    • Retriving Data
    • Writing Output Data
      • Defining Output Data Schema
      • Adding Data Row
      • Writing to File
  • General Module
    • Overview
    • User Controls
      • StateControl
      • ActionControl
      • StateTransitionControl
      • BoundControl
      • ApproximationControl
      • SolverControl
      • EventControl
      • DataControl
      • LogControl
    • Data Model
      • State
      • StateActionMap
    • Example Problems
      • Car Resequencing Problem
      • Lot Sizing Problem
  • Routing Module
    • Overview
    • User Controls
      • CustomerControl
      • VehicleControl
    • Data Model
    • Example Problems
      • Vehicle Routing Problem
  • Scheduling Module
    • Overview
    • User Controls
    • Data Model
    • Example Problems
Powered by GitBook
On this page
  1. Routing Module
  2. User Controls

CustomerControl

Controls for functions related to customer

PreviousUser ControlsNextVehicleControl

Last updated 1 year ago

GetVisitableCustomers

public override Dictionary<int, VehicleStateInfo> GetVisitableCustomers(Dictionary<int, VehicleStateInfo> availableCustomers)

Definition

Set which customers can be visited from the unvisited customers.

Parameters

Type
Description

Dictionary<Int, VehicleStateInfo>

An object that holds information about each vehicle.

Return

Type
Description
Default

Dictionary<Int, VehicleStateInfo>

An object that holds information about each vehicle (including information about which customers can visit).

Example (Default Logic)

public override Dictionary<int, VehicleStateInfo> GetVisitableCustomers(Dictionary<int, VehicleStateInfo> vehicleInfos) 
{
    return vehicleInfos;
}
Default Logic