1 Introduction
The establishment of boundaries for judgment, such as “good” versus “bad,” “correct” and “incorrect,” and “acceptable” and “not acceptable,” remains a fundamental challenge in transportation engineering and planning.1
These dichotomies become particularly problematic when confronting the complex uncertainties inherent in modern transportation systems. These uncertainties stem from ambiguous data definitions, evolving societal values, incomplete system knowledge, and variable information quality.2 While traditional approaches in the physical sciences treat uncertainty as a deficiency to be minimized through additional data collection or theoretical conjecture, transportation systems require a paradigm shift that recognizes uncertainty as an irreducible component of system behavior, particularly when accounting for human perception, behavioral variability, and future state unpredictability.3
The development of fuzzy set theory by Zadeh4 marked a watershed moment in uncertainty quantification, providing mathematical tools to represent gradations between absolute truth and falsehood. This foundational work enabled significant advances across engineering and management domains, yet revealed limitations in handling the simultaneous presence of hesitation and doubt in real-world decision-making.5 Atanassov’s intuitionistic fuzzy sets (IFS)6 addressed part of this gap through the introduction of non-membership degrees, while Smarandache’s neutrosophic sets (NS)7 and their single-valued variants created even more expressive frameworks through explicit indeterminacy measures.8 Despite these theoretical advances, practical applications in transportation problems (TPs) continued to face challenges in assessing the reliability of uncertain parameters and adapting to dynamic conditions.9,10
Recent breakthroughs in computational intelligence have created new opportunities to enhance uncertaintyaware transportation modeling. The introduction of Z-numbers by Zadeh11 provided the critical insight of pairing fuzzy constraints with reliability metrics, while subsequent work on NZNs integrated this concept with the three-dimensional (truth-indeterminacy-falsity) structure of neutrosophic logic.12 This paper builds upon these foundations by incorporating machine learning techniques13 to create an adaptive, intelligent transportation framework14,15 that achieves three key innovations: (1) deep neural networks that automatically learn optimal scoring functions for NZNs comparisons, (2) Long Short-Term Memory (LSTM) networks that forecast demand fluctuations under uncertainty, and (3) reinforcement learning algorithms that dynamically optimize routing decisions. Our hybrid approach demonstrates significant improvements over conventional fuzzy transportation methods,16,17 including a 23% reduction in transportation costs and 35% better uncertainty handling in computational experiments, as shown in Figure 1. The framework maintains mathematical rigor through formal convergence proofs for the machine learning components while providing practical implementation through MATLAB toolkits. Case studies in both balanced and unbalanced transportation scenarios showcase the system’s ability to handle real-world complexities where traditional methods falter, particularly in situations involving information reliability concerns and rapidly changing conditions.18
1.1 Theoretical Integration of Neutrosophic Z-Numbers with Machine Learning
The integration of Neutrosophic Z-numbers (NZNs) with machine learning represents a significant advancement over traditional fuzzy methods by addressing two fundamental limitations: (1) the simultaneous handling of value ambiguity and information reliability, and (2) the dynamic adaptation to evolving uncertainty patterns in transportation networks. While conventional fuzzy sets extensions capture gradations of truth, they lack inherent mechanisms to quantify the confidence or reliability of these values that is a critical aspect in realworld transportation planning where data quality varies significantly.19 NZNs bridge this gap by pairing each fuzzy valuation (AX) with a reliability measure (BX) within a three-dimensional (truth-indeterminacy-falsity) structure. This dual layered uncertainty representation enables machine learning models to operate on both the magnitude and confidence of parameters, leading to several key advantages:
1. Traditional fuzzy ML models use scalar membership values as inputs, discarding reliability information. NZNs provide a six-dimensional feature vector (TAX, TBX, IAX, IBX, FAX, FBX) for each parameter, allowing neural networks to learn complex relationships between value uncertainty and data reliability.
2. The indeterminacy component (IX) explicitly models hesitation degrees, enabling ML models to distinguish between cases of high ambiguity (e.g., conflicting sensor readings) and low ambiguity (e.g., precise measurements with known error margins). This directly enhances anomaly detection and outlier resilience.
3. Our neural scoring function FNN(WX i ) automatically learns to weight the reliability component BX based on historical patterns. This adaptive weighting surpasses static aggregation operators used in conventional fuzzy systems, allowing the model to prioritize more reliable information during optimization.
4. LSTM networks processing NZN sequences can simultaneously forecast value changes (∆AX) and reliability evolution (∆BX), capturing how uncertainty propagates through supply chains over time that is a capability absent in traditional fuzzy time series models.
The reinforcement learning component further leverages this enriched uncertainty representation. The Qlearning reward function incorporates both cost minimization and reliability maximization terms:
where λ balances economic efficiency with information quality. This dual objective drives the system toward solutions that are not only cost-effective but also based on highly reliable information, reducing the risk of decisions based on questionable data.20 This theoretical synergy explains our empirical results: the 35% improvement in uncertainty handling stems from the ML models’ ability to dynamically adjust to both value and reliability changes, while the 23% cost reduction demonstrates that considering information quality leads to more robust and consequently more economical solutions.
1.2 Key Contributions
In this study, we present an advanced framework combining Machine Learning with NZNs to revolutionize transportation problem solving. Our hybrid approach addresses critical challenges like demand volatility, route uncertainty, and dynamic supply chain disruptions through computational intelligence and advanced uncertainty quantification.
1. A novel integration of NZNs with machine learning models (LSTMs, Reinforcement Learning) for enhanced uncertainty handling in transportation systems, achieving 35% better anomaly tolerance than conventional methods.
2. Development of a deep learning-based scoring function for NZN comparisons using multilayer perceptrons (MLPs), improving decision accuracy by 23% in our experiments.
3. Dynamic Optimization System:
- LSTM networks for predictive supply-demand modeling
- Q-learning based route optimization
- Digital twin integration for real-time monitoring
4. Formulation of a three-phase intelligent solution:
(a) Machine Learning preprocessing (data cleaning, feature engineering)
(b) NZNs based uncertainty quantification
(c) Reinforcement Learning for adaptive decision-making
5. MATLAB scripts for traditional NZN operations to interactive dashboard for visualization.
6. Formal convergence proofs for neural scoring models, Stability analysis of RL optimization and Sensitivity frameworks for hybrid systems.
7. Comprehensive evaluation against:
- Traditional OR methods
- Pure ML approaches
- Hybrid fuzzy systems
The proposed framework is implemented through both MATLAB (for mathematical components and ML modules), providing researchers and practitioners with a complete toolset for intelligent transportation management.
1.3 Manuscript Distribution
Section 2 covers the fundamental ideas behind Z numbers, neutrosophic numbers, and some fundamental operational rules. Transportation Issues in a Crisp Context, hybrid approach using machine learning combining NZNs is explained in Section 3. In Section 4, algorithm of the suggested models for transport in crisp context and ML based are presented. In Section 5, we demonstrate the ramifications of the proposed transportation model with numerical examples. Section 6 present the optemility tgest and sensitivity evaluation of the model. In Section 7, we wrap up and offer some potential directions.
2 Preliminary
This work primarily focusses on neutrosophic Z numbers, which are a combination of Z values and neutrosophic values. Before delving into further detail, let us briefly recapitulate the basics of Z values and neutrosophic numbers so that you have a better understanding of the subject matter and the sources of our methods and statistics.
Definition 2.1. Let we have a discourse of universe “X”. An order pair “ PX”, containing both of it’s elements as fuzzified numeric values is referred as a Z number11 if it has the following structure.
where the collection of several Z numbers namely “ ZX” is represented as
Where “ BX” represents the reliability assessment referred to as “ AX” and “ AX” corresponds to the fuzzy values. At this point “ xi” demonstrates its arbitrary nature and ability to function for any element within the set X. For instance both numbers AX ∈[0, 1] and BX ∈[0, 1].
Definition 2.2. Suppose we have a discourse of universe “X”. Then “ MX” is the neutrosophic number,8 this, from the set “X”, is fuzzified collection of an ordered triple consisting of three values of the kind shown below as
Also we denote the set of many neutrosophic numbers by “ N” which have the mathematical notation as follows;
Whereas the numeric values TX ∈[0, 1], IX ∈[0, 1] and FX ∈[0, 1]. And mainly the membership degree of truth is represented by “ TX”, membership degree of indeterminacy is represented by “ IX” while the membership degree of falsity is denoted by “ FX”. Also the compulsory condition for the occurrence of neutrosophic number for every xi belongs in X is
Now we can easily understand and explain the neutrosophic numbers and Z numbers mathematically. Therefore we can move to our main approach we are going to deal with, that is Neutrosophic Z numbers. Lets have an eye on the concept of NZNs and the conditions for it’s existence.
Definition 2.3. Suppose we are taking a universal set “ X”. The neutrosophic z number21 “ WX” is a ordered tripled with every element as an ordered pair of fuzzified numbers, it has been mathematically demonstrated as follows;
Meanwhile the collection of profuse neutrosophic Z values22 “ Y” introduced as
In addition, the numeric values TAX ∈[0, 1], TBX ∈[0, 1], IAX ∈[0, 1], IBX ∈[0, 1], FAX ∈[0, 1] and FBX ∈[0, 1]. While the pair “TX(AX, BX)” is used to represent the membership of truth , the pair “IX(AX, BX)” demonstrates the membership of indeterminacy and the pair “FX(AX, BX)” is used to express the value membership of falsity in the universal set “X”. Moreover, “AX” is fuzzified value which is chosen from “X”, the collection of universal set and the measure of reliability “BX”, of that fuzzified value “AX” chosen from “X”. Additionally for every “ xi” that is present in universal set X, Here are some limitations for any numbers to be NZN, which are given below;
2.1 Intuitive Interpretation of Neutrosophic Z-Numbers
To make the concept of Neutrosophic Z-numbers more accessible, we provide a simplified interpretation with practical examples relevant to transportation problems.
Simplified Notation
For clarity, we can represent a Neutrosophic Z-number (NZN) in a more intuitive format:
where:
- µT , µI, µF ∈[0, 1] represent the membership degrees for truth, indeterminacy, and falsity respectively and ρT , ρI, ρF ∈[0, 1] represent the reliability measures for each membership degree
Reliable Information
A well-calibrated sensor measuring transportation capacity:
Wreliable = [(0.9, 0.95), (0.1, 0.9), (0.05, 0.9)]
- High truth value (0.9) with high reliability (0.95); Low indeterminacy (0.1) and falsity (0.05) with high reliability (0.9) and Indicates confident, precise information.
Uncertain Information
A weather forecast affecting route availability:
Wuncertain = [(0.6, 0.7), (0.5, 0.8), (0.4, 0.6)]
- Moderate truth value (0.6) with moderate reliability (0.7); High indeterminacy (0.5) with high reliability (0.8); Significant possibility of falsity (0.4) with moderate reliability (0.6) and Represents a highly uncertain situation where the system acknowledges its own limitations
Contradictory Information
Conflicting reports about port congestion:
Wconflict = [(0.7, 0.8), (0.6, 0.7), (0.7, 0.8)]
- Equal truth and falsity values (0.7) with equal reliability (0.8); High indeterminacy (0.6) with reliability 0.7 and Represents contradictory information from different sources
The three-dimensional structure of NZNs allows our machine learning models to:
1. Weight information by reliability: More reliable data has greater influence on decisions
2. Detect and handle contradictions: High indeterminacy flags situations requiring human intervention 3. Adapt to data quality: The system automatically adjusts its confidence based on source reliability
4. Provide explainable results: The components show why a particular decision was made
This enriched representation explains why our NZN-based approach achieves 35% better uncertainty handling compared to traditional fuzzy methods with it explicitly models and utilizes information about information quality rather than treating all data as equally reliable.
Definition 2.4. Suppose WX
![1 = [TX 1 (AX, BX), IX 1 (AX, BX), FX 1 (AXBX)] = [(TAX1, TBX1), (IAX1, IBX1), (FAX1, FBX1)] and WX](https://americaspg.com/storage/fulltext/4167/b211edb71e6728e7/eq-11.png)
2 = [TX 2 (AX, BX), IX 2 (AX, BX), FX 2 (AXBX)] = [(TAX2, TBX2), (IAX2, IBX2), (FAX2, FBX2)] are two NZNs and α > 0. Next, we mathematically define the following relations with NZNs::
2. WX 1 = WX 2 iff WX
1 ⊆WX 2 and WX 1 ⊇WX 2
5. (WX 1 )C = [(FAX1, FBX1), (1 −IAX1, 1 −IBX1), (TAX1, TBX1)] (Complement of WX 1 ))
![7. WX 1 ⊗WX 2 = [(TAX1TAX2, TBX1TBX2), (IAX1+IAX2−IAX1IAX2, FBX1+IBX2−IBX1IBX2), (FAX1+ FAX2 −FAX1FAX2, FBX1 + FBX2 −FBX1FBX2)] α)]](https://americaspg.com/storage/fulltext/4167/b211edb71e6728e7/eq-16.png)
8. αWX 1 = [(1 −(1 −TAX1)α, 1 −(1 −TBX1)α), (IAX1 α, IBX1
9. WX 1 α = [(TAX1
Definition 2.5. For the comparison of two or more NZNs WX i (AX, BX)(xi)] = [(TAXi, TBXi)(xi), (IAXi, IBXi)(xi), (FAXi, FBXi)(xi)] we are going to develop a score function for the special case of neutrosophic Z numbers, here as:
for F(WX i ) ∈[0, 1]. Hence it can be said that if F(WX
1 ) ≤F(WX 2 ), then it can be ranked as WX 1 ≤WX 2 .
3 Theoretical Foundations and Methodology
This section presents the integrated theoretical framework and methodological approach, combining Neutrosophic Z-number theory with machine learning techniques for transportation optimization.
Operational Framework
Basic operations for two NZNs N1 and N2:
3.1 Integrated Methodology
Our approach combines NZN theory with machine learning in a three-phase framework, as illustrated in Figure 2.
3.1.1 Phase I: Data Preprocessing and NZN Conversion
1. Input Processing: Raw transportation data (supply, demand, costs) are collected from multiple sources
2. Uncertainty Quantification: Each parameter is converted to NZN format using:
µT = base value, ρT = data quality score
3. Reliability Assessment: Source reliability metrics are incorporated into ρ components
4. Neural Scoring: A pre-trained MLP network converts NZNs to scalar scores:
3.1.2 Phase II: Machine Learning Optimization
LSTM-based Demand Forecasting We employ Long Short-Term Memory networks for temporal prediction:
where Dt−k:t represents historical NZN demand sequences.
Reinforcement Learning Routing A Q-learning agent optimizes transportation assignments:

The reward function balances economic efficiency with information reliability.
3.1.3 Phase III: Solution Validation and refinement
- Optimality Testing: Modified stepping-stone method for NZN constraints
- Sensitivity Analysis: Monte Carlo simulation for parameter variations
- Performance Validation: Comparison against multiple baseline methods
3.2 Transportation Problem Formulation
The general NZN transportation problem is formulated as:

min Z =
Subject to NZN constraints:

where Cij are NZN costs, Si are NZN supplies, and Dj are NZN demands.
3.3 Algorithm Implementation
The complete optimization procedure is implemented in Algorithm 1.
Algorithm 1 Integrated NZN-ML Transportation Optimization
Require: Transportation parameters: costs, supplies, demands Ensure: Optimal allocation matrix and total cost
1: Phase I: Preprocessing 2: Convert all parameters to NZN format 3: Apply neural scoring: S(N) = MLP(µT ρT , µIρI, µF ρF ) 4: Forecast demands: ˆD = LSTM(historical data)
5: Phase II: Optimization 6: Initialize Q-table with NZN states 7: for episode = 1 to MAX EPISODES do 8: Observe current state st (NZN supplies, demands) 9: Select action at (transport assignments) 10: Execute action, observe reward rt 11: Update Q-values using Bellman equation 12: end for 13: Phase III: Validation 14: Perform optimality test on solution 15: Conduct sensitivity analysis 16: Compare with baseline methods
17: return Optimal allocation matrix and total cost
This integrated structure provides a coherent framework that seamlessly connects theoretical foundations with practical implementation, ensuring better flow and readability.
4 Transportation Problems
Assume that we have ‘G’ sources and ‘W’ destinations for our various kinds of transportation problems. We have to find the minimum cost of transportation in these transportation problems while satisfying the needs of profuse destinations from various origins, in order to provide financial benefit to the companies providing the products for transportation. Keep in mind that we have limited amount of product for supply (maximum amount of product that an origin can generate) while there is demand from each destination that we have to fulfill. However, the key is the fact that there are certain assumptions regarding the product’s availability and demand, and that every constraint should be clear. Here G — How many sources are available to us? W — How many places are available to us? x — The resource indicator for the every G. y — The final destination indicator for the every W. qxy — The quantity of goods we will transport from the origin to the destination. TN xy — We shall carry a unit amount cost, represented by a neutrosophic Z number, from the xth origination to the yth destination. Txy — The unit quantity cost when supplied as precise numerical values. mxy — The mass that we can deliver from each origination in a traditional established environment based on our stock. mN xy — The mass that we can supply comes from every origin in the NZN environment because we have it in stock. nxy — The mass, in a traditional established setting, at each location has a demand. nN xy — The mass, for which there is demand in the NZN environment at each destination. Next, the following is a representation of the transportation problem found in the classical (crisp) set environment:

Subject to

4.1 Proposed Algorithm
Step 1: In the type 2 transportation problem in NZN environment, we are going to use fuzzy numbers and non-negative integers to define the values of transportation cost, on the other hand neutrosophic Z numbers to show supply and demand. The score values of Neutrosophic Z values which are presented as either supply or as demand can be calculated by applying the score function giving an easy environment for us to solve transportation problems. Step 2: In this step, the transportation problem being considered is checked, whether it is balanced or unbalanced to solve it accordingly. That is P ai = P bj i.e, demand = supply. Let we end up with the case when the given transportation problem is not balanced then a dummy row or column is added depending on the situation either the supply is greater than demand or demand is greater than supply to balance that unbalanced transportation problem. Step 3: The following process can be used to find the first workable solution to the transportation issue we are dealing with.
4.2 Procedure
This procedure is simply the technique to determine the first workable answer to various transportation-related issues (Balanced and Unbalanced) such that the supply and demand have the constraints of Neutrosophic Z numbers and transportation cost can be fuzzified numbers or non-negative integers.
4.3 Machine Learning Enhanced Procedure
This section based on ML based technique which consist on three steps. Step I-ML: Initialize neural scoring model Step II-ML: Predict demand/supply using LSTM Step III-ML: Optimize routes using Q-learning
Algorithm 2 RL Transportation Optimizer
1: Initialize Q-network Q(s, a; θ) 2: for each episode do 3: Observe state st (inventory, demand) 4: Select action at (transport assignments) 5: Execute, observe reward rt, next state st+1 6: Update Q-network via experience replay
7: end for
5 Implication of Proposed Transportation Model
In this part, we’re going to explore a variety of transportation problems. We’ll employ Neutrosophic Z numbers to represent supply and demand in various types of transportation problems listed below. The transportation cost will be represented by fuzzified numbers. The above-mentioned algorithms will be implemented to determine the optimal method of action for the specified transportation challenge.
5.1 NZN Model for Balanced Transportation Problem
Balanced transportation problem are those in which supply of different sources (such as farms, factories, etc.) and demand of different destinations (such as markets, shopping malls, shops etc.) are completely equal. We have used neutrosophic Z values for supply and demand, so to equalize the supply and demand we will find their score functions and then see, is the transport issue balanced?. Here transportation cost is in the form of fuzzy numbers. An illustrative example is given below for the better understanding of utilization of NZNs as supplies and demands in the specific balanced type transportation problem.
Example 5.1. SONAR is an electricity company that has three power plants and provides electricity to three cities. Each Powerplant can supply the product in the following range (quantity) which are expressed as neutrosophic Z numbers, and have the form
Remember that the “ AX” are the specified set’s neutrosophic value and “ BX” are the elements of dependability metrics for “ AX”. Where the membership value of truth is expressed by “ TX i (AX, BX)”, the membership value of indeterminacy is expressed by “ IX i (AX, BX)” and the membership value of falsity is expressed by “ FX
PowerPlant1 ≈[(0.8, 0.9), (0.5, 0.6), (0.8, 0.4)] PowerPlant2 ≈[(0.4, 0.8), (0.8, 0.8), (0.2, 0.9)] and PowerPlant3 ≈[(0.7, 0.9), (0.2, 0.7), (0.3, 0.3)]. NZN form of the demands is given as City1 ≈[(0.6, 0.8), (0.1, 0.7), (0.2, 0.8)] City2 ≈[(0.7, 0.7), (0.3, 0.8), (0.6, 0.7)] and City3 ≈[(0.5, 0.9), (0.4, 0.8), (0.3, 0.7)]. Figure 3 depicts this balanced transportation problem graphically.
The input data for example 1 is given in Table 1 and Figure 3 supply and demand are NZNs in this scenario, while transportation expenses are fuzzy data.
S W1 W2 W3 Supply G1 0.533 0.64 0.553 (0.8,0.9),(0.5,0.6),(0.8,0.4) G2 0.5 0.4466 0.666 (0.4,0.8),(0.8,0.8),(0.2,0.9) G3 0.706 0.856 0.6958 (0.7,0.9),(0.2,0.7),(0.3,0.3) Demand (0.6,0.8),(0.1,0.7),(0.2,0.8) (0.7,0.7),(0.3,0.8),(0.6,0.7) (0.5,0.9),(0.4,0.8),(0.3,0.7)
Step 1: The score function defined above has been applied on NZNs and the score values of supplies and demands are shown in Table 2 for the better and easy way to solve our transportation problems.
S W1 W2 W3 Supply G1 0.533 0.64 0.553 0.7 G2 0.5 0.4466 0.666 0.5 G3 0.706 0.856 0.6958 0.8 Demand 0.75 0.61 0.64 2
Since the total sum of supplies and demands is equal, so we conclude that our transportation problem is balanced. Step 3: In this step, we are going to operate the procedure defined above to find the initial feasible solution of the transportation problem presented in Example 1. The calculated penalties and the first allocation given in Example 1 are shown in Table 3. The following allotments and penalties, which are computed progressively, are shown in Tables 4, 5, and 6. Finally, Table 7 provides us with our answer for the information provided in Table 1, along with the complete allocations.
S W1 W2 W3 Supply penalty G1 0.533 0.64 0.553 0.7 0.02 G2 0.5 0.4466(0.5) 0.666 0.5/0 0.0534 G3 0.706 0.856 0.6958 0.8 0.0102 Demand 0.75 0.61/0.11 0.64 2 penalty 0.033 0.1934 0.113
S W1 W2 W3 Supply penalty
G1 0.533(0.59) 0.64(0.11) 0.553 0.7/0.59/0 0.02 G2 0.5 0.4466(0.5) 0.666 0.5/0 -G3 0.706 0.856 0.6958 0.8 0.0102 Demand 0.75/0.16 0.61/0.11/0 0.64 2 penalty 0.173 -0.1428
Step 4: The Vogel’s approximation technique is utilized to locate feasible answers, and we have employed the previously defined procedure. We obtain a feasible solution resulting from the complete allocations in Table 7 and alaso shown in Figure 4. As a result, the procedure that The first workable solution for the information in Example 1 is as follows: (G1, W1) = x11 = 0.59, (G1, W2) = x12 = 0.11 , (G2, W2) = x22 = 0.5, (G3, W1) = x31 = 0.16, (G3, W3) = x33 = 0.64 Step 5: This final phase, which is mathematically shown below, can be used to find the least result of the issue of transportation in Example 1: Min = 0.533 × 0.59 + 0.64 × 0.11 + 0.4466 × 0.5 + 0.706 × 0.16 + 0.6958 × 0.64 Min = 0.31447 + 0.0704 + 0.2233 + 0.11296 + 0.445312 Min = 1.166442 Hence we can say that our initial feasible solution of NZN model for balanced transportation problem stated in Example 1 is 1.166442.
5.2 Machine Learning Enhanced Solution for Power Distribution Example 1
- Step I ML: Neural NZN Scoring Initialization We first process the neutrosophic Z-number parameters through our pre-trained deep neural scoring model (10-5 architecture with Bayesian regularization). The network converts each NZN supply/demand into scalar scores while preserving uncertainty relationships:
Neural Score(WiX) = MLP
