ECOWAS (Economic Community Of West Africa States) is a sub-group comprising fifteen (15) states (Figure 1) which are divided into two groups: coastal and landlocked countries
The region has twelve (12) Coastal States, each costal state has at least one port. However, the major ports serve a common hinterland, including three landlocked countries, Niger, Mali and Burkina Faso, and have to operate in a highly competitive environment.
Figure 1. West Africa ECOWAS region members countries. Source: Google map.
These ports have quasi monopolies on their home country markets but compete for transit cargo to the three landlocked countries (LLC), and transshipment traffic to other ports.
Importations and exportations from or to those landlocked countries are majority through Cotonou, Abidjan, Tema, Senegal and Lome ports with are not only the gateways for landlocked countries but also the mains transit ports in the region.
The steady growth in cargo throughput through ports in developing countries and in West Africa in particular coupled with infrastructural and regulatory constraints has strained the entire regional logistics networks. This has resulted into congestion, high dwell time and higher logistics cost which in turn, limit competitive ability of region in global economy. Even through, the negative economic impact of inefficient costly logistics system is well recognized and documented. The region still endures limited ties between freight flow planning and economic development. From that reason, we recognize the need to fully integrate freight flow strategies into the broader economics and development models. Such integration strategies require quick and reliable tools for performing freight flow analysis.
As such, this research work undertook to make the system-wide freight flow analysis to investigate measure for improving the regional logistic network by focusing on intermodal transport optimization in West Africa ECOWAS region, which can be defined as the problem of determining the freight flow quantity, the transportation mode in each transit corridor while satisfying the freight demand at each West Africa transit country. The objective was to minimize inland transportation costs. In order to solve optimally and represent the problem, this research employed a linear programming model. The model was solved using Lingo Mathematic Language.
The idea of this work was motivated by the need to address the problem of high logistics costs facing West Africa Economic and Monetary Union (ECOWAS) countries and others developing countries. In recognition of the fact economic advantage could be attained by embracing optimized freight flow.
Embracing the concept of inter-modality in West Africa offers an opportunity to mitigate high transport and logistics costs through improved hinterland flows of cargoes in an efficient and environmentally friendly manner.
2. Literature Review
2.1. Freight Flow Optimization and Ports Competition
According to  ports compete not only on the sea-side (e.g. through terminal investments, increase in terminal efficiency, maritime service connectivity) but also on the land-side (e.g. through logistics chain, advanced IT services, door-to-door connectivity).
On this issue, several studies   recently pointed out the increasing importance of the connectivity at both quality and quantity level between the port and its own hinterland in order to be competitive in the modern maritime service structure.
The competitiveness of a seaport depends on the extent the cargo handled in the port can reach its hinterland destination  . The importance of hinterland connections has been recognized as one of the most critical issues in port competitiveness and development in most ports around the world.
Moreover  and  try to elaborate optimal model to connect ports with their respective hinterlands,  re-define ports as part of supply chains in which the hinterland connectivity appear as key competitive factor.
2.2. Intermodal Transport Optimization
Logistics network optimization is recognized as the most comprehension strategic decision tool for long term supply chain efficiency    . In an abstract terms, networks are represented by nodes that are connected by link or arcs. In this context nodes refer to e.g. port, terminals, inland terminal and cross sections on the other hand links or arc stand for roads, railway tracks or waterways   . Additionally, a route consists of a sequence of nodes and links with a starting and ending port. In this regard network optimization models seek to apply mathematical formulation and algorithms to solve a given network flow.
The network flow problem could be such as solving shortest path problem, maximum flow problem, minimum cost flow problem or the assignment problem  . The optimization objective may include minimizing cost or time of the flow or maximizing the quantity of the flow through the network  and  . As indicated by  , application of operations research methods in intermodal freight transportation is still limited. Application of operations research techniques like optimization in overall container supply chain is discouraged by the inherent complexity with the global container supply chains  .
In solving optimization problem different approaches are employed.  developed a linear optimization model for containerized imports into the United States but focused solely on rail transport for access to respective hinterlands in USA.  ,  and  concentrated on road trucking for inland transport from port using non-linear models.  proposed Network Simplex method for solving the Minimum Cost Network Flow.  developed a methodology to make linear some nonlinear constraints thus reducing the complexity of optimization problem. Benders decomposition, Mixed Integer Programming (MIP) and Network Simplex Algorithm have been used to solve network problems including capacitated facility location network design problems based on CPLEX MIP solver    Intermodal network study received new thrust from  who employed Geographic Information System (GIS) for validation of mode sequences and route selection which results in optimal routing of freight.
Very few of the above approaches model freight flows in intermodal networks involving road, railways. Likewise, the potential of freight transportation flow optimization in West Africa remains largely unexplored. Noted deficient regarding freight transport studies make freight flow optimization in intermodal network an interesting area of research. The above identified gap regarding minimization of logistics cost through flow optimization was great motivation for this study and the gap was filled by introducing the Hinterland Intermodal Freight Transportation Model based on LINGO Mathematical Modeling Language.
3. Research Methods
This task includes finding details quantities freight (Tons) to be shipped from seaport, the transportation mode choice along each link (rail, rail or rail and road) and the detailed routing of freight from port to final destination.
The study focused on container import flows through the majors West transit gateways of Cotonou (Benin), Lome (Togo), Tema (Ghana), Abidjan (Cote d’Ivoire) and Dakar port (Senegal).
These countries use the port of Cotonou, Lome, Tema, Abidjan and Dakar as their main maritime gateways. Importations and Exports from and/ to the landlocked countries (Mali, Burkina Faso and Niger) are majority through those port.
The model evaluates the flow along 15 regional transit corridors. A graphical depiction of the above freight network made up of seaports, roads and rail corridors for inland transportation; transshipment nodes; cargo centers to final transit points is shown in Figure 2.
The primary source of this data has being port annual reports, the port annual review and also statistics collected from Port Management Association of West & Central Africa (PMAWCA) based on 2015 statistics. Figure 3 described the transit import volume (tons) through the West Africa main gateways to West Africa landlocked countries (WALLC).
Figure 2. West Africa intermodal transport network description. Source: Author.
Figure 3. Transit throughout repartition by gateway to WALLC based on 2015 statistic. Source: Author.
3.1. Mathematical Formulation
The model represents an intermodal logistics network, representing the physical infrastructure of the system covering port, road and railway. Available operational function executed by the model involves:
1) An itinerary for freight flow from port along the service path in a network used to move part of the total demand to the designated final transit destination.
2) Mode, which represent a specific or combination of transport mode (e.g. rail and truck)
Therefore, an intermodal logistics network optimization model for West Africa ECOWAS region freight imports flow was formulated as a minimum cost flow problem.
3.1.1. Model Parameters
I: set of port of served West Africa landlocked countries.
J: set of landlocked countries served by ports
N: Number of transit as cargo centers serves by West Africa ECOWAS ports
: Total freight demand (Tons) at West Africa Landlocked transit country I,
: Road link transport cost from Cotonou port to transit country
: Road link transport cost from Lome port to transit country
: Road link transport cost from Tema port to transit country
: Road link transport cost from Abidjan port to transit country
: Road link transport cost from Dakar port to transit country
: Rail link transport cost from Cotonou port to transit country
: Rail link transport cost from Cotonou port to transit country
: Rail link transport cost from Abidjan port to transit country
: Rail link transport cost from Dakar port to transit country
: Quantity (tons) of freight in transit at Cotonou port
: Quantity (tons) of freight in transit at Lome port
: Quantity (tons) of freight in transit at Tema port
: Quantity (tons) of freight in transit at Abidjan port
: Quantity (tons) of freight in transit at Dakar port
3.1.2. Decision Variables
: Quantity of freight (Tons) transported from Dakar port by both railway and highway to transit country (j)
: Quantity of freight (Tons) transported from Abidjan port by both railway and highway to transit country (j)
: Quantity of freight (Tons) transported from Tema port by highway to transit country (j)
: Quantity of freight (Tons) transported from Lome port by railway or/and by highway to transit country (j)
: Quantity of freight (Tons) transported from Cotonou port by railway or/and by highway to transit country (j)
3.1.3. Objective Function and Constraints
Minimize total logistic cost:
The objective function is to minimize the total transport cost of freight conveyance from ports to respective transit destination along two modes of transport namely highway and railway.
The first term evaluates the cost component incurred in trucking container (road) and logistics cost incurred in haulage of containers by railways from Cotonou port to final transit country destination.
The second term also evaluates the cost component incurred in trucking container (road) and logistics cost incurred in haulage of containers by railways from Lome port to final transit destination.
The third term evaluates the cost component incurred in trucking container (road) from Tema port to final transit destination.
The fourth term evaluates the cost component incurred in trucking container (road) and/or logistics cost incurred in haulage of containers by railways from Abidjan port to final transit destination.
The fifth term evaluates the cost component incurred in trucking container (road) and/or logistics cost incurred in haulage of containers by railways from Dakar port to final transit destination.
Logistics cost in this model is allocated for each flow arc and includes intermodal terminal handling costs were applicable, as well as freight costs.
Constraint (2) ensures that the total transit freight quantity (Tons) from main gateways to final transit countries under consideration in this study by trucks and/or railway mode cannot exceed the combined transit imported throughput of respective ports. The left term of equation
Represents the quantity of freight hauled by railway or/and highway from Cotonou, Lome, Tema, Abidjan and Dakar ports to final transit countries under consideration in the study (Mali, Burkina Faso and Mali).
Constraint (3) ensures that the total demand quantity of freight (Tons) at transit country under consideration in this study do not exceed the combined quantity of transit freight imported from west Africa main gateways of ports Cotonou, Lome, Tema, Abidjan and Dakar ports.
Constraint (4) is non-negativity constraint for the decision variables which defines the quantity of freight (Tons) conveyed from each port by rail or/and road modes of transport to final transit country
3.2. Logistic Cost
Logistic cost were used in this study as one of the parameters in the model computations. Such an approach aimed at evaluation the total costs borne by landlocked countries importers and the public at large for moving freight from main gateways to the final transit destination. In this respect, the logistics cost used in this study include port truck charges and railway charges based on extensive interviews with the main actors and operators in each corridor.
Logistic cost vary depending of infrastructure conditions, the Appendix 1 indicates the unit cost in ton per kilogram (T/Km) of freight transportation base West Africa borderless.
West Africa landlocked countries (WALLCs) are connected to sea port through several corridors. Each WALLC is linked with five main corridors to the main gateway of Cotonou, Lome, Tema, Abidjan and Dakar ports. Tables 1-3 show all corridors linking WALLC to sea and alternative mode of transport and corresponding total transport cost.
Table 1. Logistic cost of corridors linking Niger (Niamey) to sea ports.
Table 2. Logistic corridors linking Burkina Faso (Ouagadougou) to sea ports.
Table 3. Logistic cost of corridors linking Mali (Bamako) to sea port.
3.3. Model Implementation in Lingo
We suppose that West Africa ECOWAS region has five main gateways of Dakar port, Abidjan port, Tema Port, Lome port and Cotonou port supplying tree transit landlocked countries namely Mali, Burkina Faso and Niger in West Africa and each LLCs has freight demand that must be satisfied.
We want to determine how many freight quantity to ship from each port to transit country so as to minimize the total shipping cost by optimizing an intermodal transport.
In solving model developed Lingo mathematical modeling language was used (Appendix 2).
4. Results and Interpretations
Under unimodal freight transportation the optimal route for transit to Mali, Burkina Faso and Niger are via respectively via Dakar port, Abidjan port and Cotonou port. Indeed Dakar port is Mali most important gateway (about 65% of Mali transit traffic) is via Dakar; only 26% is via Abidjan port and the remain 9% to others main gateways of Cotonou port (5.2%) Lome port (2.3%) and Tema port (1.5%).
Abidjan port is the most important gateway of Burkina Faso (40%) followed by Lome port (31.32%); Tema port (16.64%) and Cotonou port (12.37%).
By adopting rail-road intermodal transport, model results (Appendix 3) show that; the optimal route for freight transit to Burkina Faso changed Lome Port.
Cotonou port become the optimal and only one transit port for freight transportation to Niger.
Figure 4. Unimodal freight quantity repartition by ports based on 2015 statistic.
Figure 5. Intermodal optimization freight by port to transit countries, 2015.
Table 4. Unimodal freight quantity repartition by ports based on 2015 statistic.
Table 5. Intermodal optimization freight repartition by port to transit countries.
The objective in this study was the intermodal routing problem of regional freight transportation in West Africa, which can be defined as the problem of determining the freight flow quantity, the transportation mode in each transit corridor while satisfying the freight demand at each West Africa transit country by adopting intermodal freight optimization.
Under the current unimodal freight transportation the optimal route for transit to Mali is via Dakar port (65%), followed by Abidjan port (26%).The optimal port to Burkina Faso is Abidjan port (40%), followed by Lome port (31%), Tema port (17%) and Cotonou port (12%). The optimal port to Niger is Cotonou (89%), followed by Lome port (8.1%).
By adopting rail-road intermodal transport, the optimization results show that: the optimal route for freight transit to Burkina Faso changed to Lome Port (40.58%). Cotonou port becomes the optimal and only one transit port for freight transit to Niger (100%). And the quantity of freight in transit from Abidjan port to Mali has also increased from 26% to 35%.
This clearly shows that port oriented freight logistics in west Africa ECOWAS region do not flow along optimal path and such incur longer time and higher logistics cost than is geographically necessary. Evident, the region misses out on the potentialities of intermodality.
Appendix 1: Freight Transport Cost Use for Model Computation (Ton/Kilometer)
Appendix 2: Lingo Optimization Model Implementation
!A 5 Ports 3 Transit Countries Transportation Optimization Problem;
Ports: Freight Quantity;
Transit Countries: Demand;
Links (Ports, Transit Countries): Cost, Quantity;
!Here is the data;
Ports = Dakar (P1) Abidjan (P2) Tema (P3) Lome (P4) Cotonou (P5);
Transit Countries = Bamako (D1) Ouagadougou (D2) Niamey (D3);
Min = @Sum(Links(I, J):
Cost (I, J) * Quantity (I, J));
!The demand constraints;
@For (TransitCountries (J):
@Sum (Ports (I): Quantity (I, J)) = Demand (J));
!The capacity constraints;
@For (Ports (I):
@Sum (TransitCountries (J): Quantity (I, J)) <= Quantity (I));
Appendix 3: West Africa Freight Flow Optimization Results
Global optimal solution found.
Objective value: 0.1837708E+10
Total solver iterations: 8
Variable Value Reduced Cost
Capacity (Dakar) 2,211,143 0.000000
Capacity (Abidjan) 2,305,632 0.000000
Capacity (Tema) 666,770.0 0.000000
Capacity (Lome) 1,454,237 0.000000
Capacity (Cotonou) 3,370,832 0.000000
Demand (Mali) 3,351,811 0.000000
Demand (Burkina) 3,583,421 0.000000
Demand (Niger) 3,073,382 0.000000
Cost (P1, D1) 218.2400 0.000000
Cost (P1, D2) 375.9200 0.000000
Cost (P1, D3) 465.7600 0.000000
Cos (P2, D1) 179.8800 0.000000
Cost (P2, D2) 166.5000 0.000000
Cost (P2, D3) 253.5400 0.000000
Cost (P3, D1) 267.4100 0.000000
Cost (P3, D2) 173.5700 0.000000
Cost (P3, D3) 206.7600 0.000000
Cost (P4, D1) 326.7000 0.000000
Cost (P4, D2) 168.4800 0.000000
Cost (P4, D3) 190.9800 0.000000
Cost (P5, D1) 347.9400 0.000000
Cost (P5, D2) 189.7200 0.000000
Cost (P5, D3) 175.3200 0.000000
Quantity (P1, D1) 2,211,143 0.000000
Quantity (P1, D2) 0.000000 171.0600
Quantity (P1, D3) 0.000000 275.3000
Quantity (P2, D1) 1,140,668 0.000000
Quantity (P2, V2) 1,164,964 0.000000
Quantity (P2, D3) 0.000000 101.4400
Quantity (P3, D1) 0.000000 80.46000
Quantity (P3, D2) 666,770.0 0.000000
Quantity (P3, D3) 0.000000 47.59000
Quantity (P4, D1) 0.000000 144.8400
Quantity (P4, D2) 1,454,237 0.000000
Quantity (P4, D3) 0.000000 36.90000
Quantity (P5, D1) 0.000000 144.8400
Quantity (P5, D2) 297,450.0 0.000000
Quantity (P5, D3) 3,073,382 0.000000
Row Slack or Surplus Dual Price
1 0.1837708E+10 −1.000000
2 0.000000 −218.2400
3 0.000000 −204.8600
4 0.000000 −190.4600
8 0.000000 36.38000
9 0.000000 15.14000
 Acciaro, M., Bardi, A., Cusano, M.I., Ferrari, C. and Tei, A. (2017) Contested Port Hinterlands: An Empirical Survey on Adriatic Seaports. Case Studies on Transport Policy, 5, 342-350.
 Roso, V., Woxenius, J. and Lumsden, K. (2009) The Dry Port Concept: Connecting Container Seaport with the Hinterland. Journal of Transport Economy, 17, 338-345.
 La, M. and Gu, L. (2013) Port Hinterland Intermodal Container Flow Optimization with Green Concerns: A Literature Review And Research Agenda. International Journal of Shipping and Transport Logistics, 5, 257-281.
 Rodrigue, K. and Notteboom, G. (2010) Comparative North American and European Gateway Logistics: The Regionalism of Freight Distribution. Journal of Transport, 18, 497-507.
 Goetschalckx, F., et al. (2005) A Stochastic Programming Approach for Supply Chain Network Design under Uncertainty. European Journal of Operational Research, 167, 96-115.
 Leung, W. and Lai, E. (2002) An Optimization Model for Cross-Border Logistic Problem Case in Hong Kong. Computer and Industrial Engineering, 43, 393-405.
 Goetschalckx, F., et al. (2002) Modeling and Design of Global Logistics Systems: A Review of Integrated Strategic and Tactical Models and Design Algorithms. European Journal of Operational Research, 143, 1-18.