optNetwork biconnectedComponents

Standard Case: Supply Chain Critical Hub Analysis

Scénario de test & Cas d'usage

Business Context

A global logistics company wants to identify critical distribution hubs (articulation points) and resilient sub-networks (biconnected components) in its European supply chain. The goal is to assess the impact of a single hub's disruption on the entire network.
About the Set : optNetwork

Network analysis and graph algorithms.

Discover all actions of optNetwork
Data Preparation

Creation of a dataset representing the main logistics routes between major European cities (hubs).

Copied!
1DATA mycas.SupplyChainLinks;
2 INPUT from $1-15 to $16-30;
3 DATALINES;
4Lisbon Madrid
5Madrid Paris
6Paris Brussels
7Brussels Amsterdam
8Paris Frankfurt
9Frankfurt Berlin
10Frankfurt Prague
11Prague Vienna
12Vienna Berlin
13Frankfurt Zurich
14Zurich Milan
15Milan Rome
16;
17RUN;

Étapes de réalisation

1
Load the action set and run the biconnected components analysis with standard parameters, generating node and link output tables.
Copied!
1PROC CAS;
2 ACTION optNetwork.biconnectedComponents /
3 links={name='SupplyChainLinks'}
4 outNodes={name='mycas.HubsAnalysis', replace=true}
5 outLinks={name='mycas.RoutesAnalysis', replace=true};
6RUN;
7QUIT;
2
Verify the results by fetching the output tables. Check which hubs are identified as articulation points.
Copied!
1PROC CAS;
2 TABLE.fetch / TABLE={name='HubsAnalysis'} where='artpoint > 0';
3 TABLE.fetch / TABLE={name='RoutesAnalysis'};
4RUN;
5QUIT;

Expected Result


The analysis should correctly identify 'Frankfurt' and 'Paris' as critical articulation points. The output tables will show that their removal would fragment the network. The 'RoutesAnalysis' table will group links into their respective biconnected components, highlighting, for example, the Italian and Iberian sub-networks.