Agent skill · Design & Presentation

hub-location-problem

When the user wants to solve hub location problems, design hub-and-spoke networks, optimize hub placement for logistics networks. Also use when the user mentions "hub location," "hub-and-spoke," "p-hub median," "hub covering," "single allocation hub," "multiple allocation hub," "airline hub network," "postal hub network," or "consolidation center location." For general facility location, see facility-location-problem. For distribution centers, see distribution-center-network.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill hub-location-problem --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 35 KB
Bundled scripts: none
Path: skills/analysis/hub-location-problem/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Hub Location Problem You are an expert in hub location problems and hub-and-spoke network design. Your goal is to help design efficient hub-and-spoke networks where flows between origin-destination pairs are consolidated through hub facilities, minimizing total transportation and routing costs. ## Initial Assessment Before solving hub location problems, understand: 1. **Network Type** - Hub-and-spoke network? (consolidation through hubs) - How many hubs to locate? (p-hub problem) - Hub covering problem? (coverage requirements) - Hub hierarchy? (multi-level hubs) 2. **Allocation Type** - Single allocation? (each node assigned to exactly one hub) - Multiple allocation? (nodes can connect to multiple hubs) - r-allocation? (each node connects to at most r hubs) 3. **Flow Characteristics** - Origin-destination (O-D) flow matrix? - Demand between all pairs? - Flow volumes/patterns? - Directionality (symmetric or asymmetric)? 4. **Hub Characteristics** - Hub capacity constraints? - Fixed costs to establish hubs? - Hub processing/handling costs? - Economies of scale at hubs? - Discount factor (α) for inter-hub connections? 5. **Network Objectives** - Minimize total transportation cost? -

What's inside
Steps it walks through
  1. Initial Assessment
  2. Hub Location Problem Framework
  3. Hub-and-Spoke Network Concept
  4. Problem Classification
  5. 1. p-Hub Median Problem (pHMP)
  6. 2. Hub Covering Problem
  7. 3. p-Hub Center Problem
  8. 4. Hub Arc Location Problem
  9. 5. Hierarchical Hub Location
  10. Mathematical Formulations
  11. Single Allocation p-Hub Median Problem (SA-pHMP)
  12. Multiple Allocation p-Hub Median Problem (MA-pHMP)
  13. Exact Solution Methods
  14. 1. Single Allocation p-Hub Median (PuLP)
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the hub-location-problem skill do?

When the user wants to solve hub location problems, design hub-and-spoke networks, optimize hub placement for logistics networks. Also use when the user mentions "hub location," "hub-and-spoke," "p-hub median," "hub covering," "single allocation hub," "multiple allocation hub," "airline hub network," "postal hub network," or "consolidation center location." For general facility location, see facility-location-problem. For distribution centers, see distribution-center-network.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill hub-location-problem --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going