Skip to content

Network Optimization: Scope and Learning Path ​

Meet supply and demand on a directed network, respect transport/processing capacities and minimize cost. Add network construction, resource paths, structure and explicit failure scenarios later. Network is not just vehicle routing.

Minimum Vocabulary ​

ConceptAPIRoleKey Fields
TopologyNode / ArcInputStable identities, endpoints and parallel services
Commodity and balanceCommodity / BalanceInputPer-commodity node balances and units
Capacity and costCapacity / CostInputArc/shared-resource bounds and tariffs
Flow problemFlowProblemInputTopology, commodities, costs and resources
Registration/extractionFlowContextEntry / validationConservation, capacity, cost expressions and flow results
Flow resultFlowSolutionOutputCommodity-arc flows, resource usage, spills, shortages and cost

An integer step is a measurement increment, not an unsplittable order. Sharing resources across commodities needs physical conversions; tonnes and pieces cannot be added directly.

Allowed-Arc Nullability

A missing allowed-arc set permits all service arcs; an empty set permits none. Retain units on balances and shared capacity; integer steps define measurement granularity.

Entry Points ​

Kotlin and Rust Entry Points

Standalone flow entries are Kotlin NetworkFlowApplicationService and Rust FlowApplicationService. Embed a FlowContext in another model instead of starting an independent optimization with unrelated variables.

Learn flow and capacity before construction and resilience. VRPTW route columns, ESPPRC and branch-and-price are advanced paths.

Use the standalone flow service for flows and shared capacity, and a shared model for coupled decisions. There is no NetworkColumnGeneration switch here. Route-column generation is a separate advanced workflow; flow backend budgets are not column counts. See the call example.

Boundaries ​

  • Parallel arcs need distinct identities, not just endpoint-based deduplication.
  • Connectivity does not prove transport capacity; constructed total capacity is not incremental capacity.
  • Explicit resilience covers supplied scenarios, not arbitrary unknown failures.
  • Repair timing, staffing and calendars belong to Gantt, not automatic Network decisions.

Learning Path ​

  1. Complete environment setup.
  2. Follow your first network flow, checking conservation, costs and capacities.
  3. Add shared resources, capacity levels, budgets and one failure scenario, changing one condition at a time.
  4. Continue to the VRPTW integrated example when routes are needed.

For LP, MILP, pricing and other algorithm terms, see the terminology guide.

Reference ​

Back to scenario selection

Continue Practicing ​

Next: Your First Network Flow. Then explore Shared Resources, Shortage and Embedding. Before adapting the scenario to your application, complete the business integration checks.