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.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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? -
- Initial Assessment
- Hub Location Problem Framework
- Hub-and-Spoke Network Concept
- Problem Classification
- 1. p-Hub Median Problem (pHMP)
- 2. Hub Covering Problem
- 3. p-Hub Center Problem
- 4. Hub Arc Location Problem
- 5. Hierarchical Hub Location
- Mathematical Formulations
- Single Allocation p-Hub Median Problem (SA-pHMP)
- Multiple Allocation p-Hub Median Problem (MA-pHMP)
- Exact Solution Methods
- 1. Single Allocation p-Hub Median (PuLP)
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.
