routing-formulation

Formulate TSP, VRP, or PDP routing problems with required inputs.

Updated May 23, 2026
One-click install
npx skills add https://github.com/yo-steven/skills-exploration-20260522 --skill routing-formulation-yo-steven
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: routing-formulation
Source: https://github.com/yo-steven/skills-exploration-20260522/tree/main/skills/cuopt/routing-formulation
Command: npx skills add https://github.com/yo-steven/skills-exploration-20260522 --skill routing-formulation-yo-steven

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you define vehicle routing optimization problems by clarifying the required problem type and the exact data you must provide before choosing a cuOpt implementation approach.

Core Features & Use Cases

  • Problem Type Selection (TSP/VRP/PDP): Decide whether your scenario is a Traveling Salesman Problem, a Vehicle Routing Problem, or a Pickup-and-Delivery Problem.
  • Data Requirements Checklist: Identify what you need for locations, travel costs/distances, orders/tasks, fleet details, and constraints such as time windows and precedence.
  • Formulation Guidance: Translate real operational needs (e.g., visiting stops, serving demands, or enforcing pickup-before-delivery rules) into a well-specified optimization formulation.

Quick Start

Ask the AI to help you determine whether your problem is TSP, VRP, or PDP and to list the minimum required inputs (locations, fleet, orders, and constraints) for your case.

Frequently Asked Questions about routing-formulation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the difference between TSP, VRP, and PDP routing problems?

Vehicle routing formulation requires mapping locations, fleet capacities, start and end points, and constraints like time windows, service times, and precedence into a structured optimization problem. You must identify operational entities such as vehicles, orders, and pickup/delivery pairs to translate real needs into a well-specified formulation.

What data is required to formulate a vehicle routing problem?

Yes, routing formulation supports precedence constraints for pickup-and-delivery problems, enforcing that pickups occur before corresponding deliveries. This ensures operational rules like service times and task ordering are captured accurately within the optimization formulation.

Can I specify time windows and service times in my routing formulation?

To start formulating a routing problem, determine whether your scenario is a Traveling Salesman Problem, a Vehicle Routing Problem, or a Pickup-and-Delivery Problem. Then, list the minimum required inputs including locations, fleet details, orders, and constraints to build a complete optimization formulation.

Do I need a distance matrix to set up a vehicle routing optimization problem?

Routing formulation is limited to defining the problem type and specifying required inputs for TSP, VRP, or PDP scenarios. It does not execute the optimization itself; you must provide a clear mapping of vehicles, orders, and constraints before choosing a downstream implementation approach.