capacitated-vrp

Solve Capacitated Vehicle Routing Problems with capacity-constrained route optimization.

56|16|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/kishorkukreja/awesome-supply-chain --skill capacitated-vrp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: capacitated-vrp
Source: https://github.com/kishorkukreja/awesome-supply-chain/tree/main/skills/capacitated-vrp
Command: npx skills add https://github.com/kishorkukreja/awesome-supply-chain --skill capacitated-vrp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pulp, numpy, ortools, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the Capacitated Vehicle Routing Problem (CVRP), optimizing delivery routes for vehicles with strict capacity constraints (weight, volume, or pallets).

Core Features & Use Cases

  • Capacity-Constrained Routing: Balances efficient routing with vehicle load restrictions.
  • Optimization Algorithms: Implements exact methods (Branch-and-Cut) and heuristics (Clarke-Wright Savings, Sweep Algorithm).
  • Use Case: A logistics company needs to plan daily delivery routes for its fleet of trucks, each with a maximum weight capacity. This Skill can determine the most efficient routes to serve all customers while ensuring no truck exceeds its weight limit.

Quick Start

Use the capacitated-vrp skill to solve a CVRP instance with the provided distance matrix, demands, and vehicle capacity.

Frequently Asked Questions about capacitated-vrp

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

FAQPage Schema
How do I optimize delivery routes with vehicle capacity constraints?

To optimize delivery routes with vehicle capacity constraints, use this Skill to solve the Capacitated Vehicle Routing Problem (CVRP) by providing a distance matrix, customer demands, and vehicle capacity limits to calculate the most efficient routes.

What is the best way to solve CVRP using Python and OR-Tools?

The best way to solve CVRP using Python and OR-Tools is by applying this Skill's integrated optimization routines, which leverage OR-Tools alongside PuLP and NumPy to compute efficient, capacity-constrained delivery routes.

How do Clarke-Wright Savings and Sweep algorithms work for vehicle routing?

Clarke-Wright Savings and Sweep algorithms work for vehicle routing by using heuristics to merge routes and assign customers to vehicles based on spatial proximity, providing feasible solutions for capacity-constrained routing problems.

Can I use exact methods like Branch-and-Cut for logistics route planning?

Yes, you can use exact methods like Branch-and-Cut for logistics route planning. This Skill implements Branch-and-Cut to find mathematically optimal routes for vehicles operating under strict weight or volume limits.

Do I need NumPy and PuLP to plan capacity-constrained logistics routes?

Yes, you need NumPy and PuLP to plan capacity-constrained logistics routes with this Skill, as these dependencies provide the necessary mathematical modeling and array processing capabilities for the optimization algorithms.

When should I use heuristics instead of exact methods for vehicle routing?

You should use heuristics like Clarke-Wright Savings instead of exact methods for vehicle routing when dealing with large-scale logistics networks, as heuristics provide faster, feasible capacity-constrained routes compared to computationally intensive exact optimization.