Home · Research Areas · Research Topics · Voyage-Specific Weather Routing Algorithm Design

Voyage-Specific Weather Routing Algorithm Design

按航次定制的气象航线规划算法

In joint route–speed optimization, exact algorithms guarantee global optimality but the cost of a global search is prohibitive; heuristics put computational efficiency first, yet depend on hand-designed search rules, and their effectiveness usually stops at the particular voyage they were built for [OE 2025-318, OE 2025-331]. The No Free Lunch theorem states that no algorithm independent of the voyage can dominate on all voyages. To dominate consistently across voyages, voyage information must enter the algorithm itself, so that the algorithm adapts to the voyage rather than being adjusted by hand each time.

01

Heuristic Algorithms that Learn Beneficial Evolutionary Directions

This line of work began with an observation about the search process. When an evolutionary algorithm is applied to joint route–speed optimization, the direction in which the population evolves is closely tied to the met-ocean conditions of the voyage. Take the Kashima–Long Beach trans-Pacific voyage of February 2022: severe weather appeared near the great-circle route shortly after departure, and the superior individuals retained during iteration showed a consistent trend, all shifting towards higher latitudes to avoid wind and waves. The research idea that followed: rather than letting crossover and mutation act at random, learn this beneficial evolutionary direction from the iteration data and use it to guide the search that follows.

L-MOEA was proposed on this basis. It embeds an evolutionary learning network in a multi-objective evolutionary framework: during iteration it collects “successful evolution” samples, that is, parent–offspring pairs in which the offspring dominates the parent; a lightweight neural network is trained with parents as input and offspring as output, and the beneficial evolutionary direction is extracted from it. The trained network is then plugged into subsequent iterations, so that individuals generate new solutions along the learned direction; samples are replenished as the population updates and the network is retrained repeatedly, tracking changes in that direction. Three strategies accompany the mechanism: the initial population adds the single-objective solutions of minimum voyage time and minimum fuel consumption to randomly generated routes; the external archive is sorted by clustering-based crowding distance to maintain diversity; and the mutation magnitude of main-engine speed selects acceleration, deceleration or random adjustment adaptively according to the distribution of solutions, keeping the set evenly spread.

The L-MOEA framework

Fig. 1 The L-MOEA framework: random operators and the learning network drive the search in parallel [TRE 2024, Fig. 2]

On the monthly trans-Pacific voyages of 2022, compared with five representative algorithms — NSGA-Ⅱ, SPEA2, KnEA, MGA and MOEA-LS — L-MOEA produced Pareto fronts with better convergence and spread in all twelve months, saving about 2.5% fuel and shortening voyage time by about 2.0% per voyage on average.

Monthly Pareto fronts of six algorithms

Fig. 2 Pareto fronts of six algorithms on the monthly voyages of 2022 [TRE 2024, Fig. 5]

Even with the population enlarged to 5000 individuals and iterations increased to 1000 generations, a larger computational budget still cannot offset the inherent inefficiency of random exploration; in the ablation experiment without the learning network, performance dropped markedly.

Iteration time and performance records of each algorithm

Fig. 3 Iteration time and performance records of each algorithm on the January voyage: front advancement stalls early in conventional algorithms, while the learning network keeps contributing new dominating solutions [TRE 2024, Fig. 6]

Large population and final fronts

Fig. 4 Initial populations and final Pareto fronts of NSGA-II+ (5000 individuals × 1000 generations), NSGA-II and L-MOEA [TRE 2024, Fig. 9]

On the February voyage, the optimized route skirts the edge of the high-wave-height region towards higher latitudes and adjusts speed in segments; against the original plan it saves about 2% fuel, arrives about 5 hours earlier, and avoids seas with significant wave height above 6 m.

February voyage optimization

Fig. 5 Optimization on the February voyage: the route skirts the edge of the high-wave-height region and adjusts speed [TRE 2024, Fig. 8]

The framework was later extended to two constraints closer to commercial operation. On punctual arrival, the charter party fixes the earliest and latest arrival time for each voyage; MCL-EA uses a dual-channel parallel network to learn, separately, the beneficial evolutionary directions inside the time window and the transition strategy from the infeasible region into the feasible one, and brings ensemble forecast members and the uncertain time constraint into the performance model, cutting energy consumption by about 9% on average while meeting punctuality strictly [TRE 2026-205]. On emission control areas, low-sulphur fuel must be used inside an ECA; the conventional strategy of shortening the distance and slowing down outside the area reduces fuel cost by only about 0.15% while raising greenhouse gas emissions by about 18%; a predict-then-optimize framework embeds the emission cap as a hard constraint in the search and cuts emissions by about 10% without sacrificing operational efficiency [TRE 2026-214].

02

LLM-Driven Algorithm Design for Weather Routing

In the work above, the learning network is embedded in the NSGA-Ⅱ framework, the object learned is the evolutionary direction of the population, and the crossover and mutation operators are still designed by hand. LLM-AAD hands this step to a large language model: the model writes the code of the crossover and mutation operators directly under the conditions of the voyage, and no longer reuses the operator strategies of existing algorithms.

The implementation is a two-level alternating optimization framework. The outer level has the LLM generate operator code; the inner level drives a genetic algorithm with those operators on a multi-objective problem, generates Pareto fronts on real voyages and returns the evaluation results; the outer level judges the operators from them and corrects the next round of generation. Four operators are designed — route crossover, speed crossover, route mutation and speed mutation — corresponding to the two classes of decision variables, route and speed. They do not evolve in parallel: the other three are held fixed while one evolves, alternating until the evaluation metric of each operator stops fluctuating over several consecutive generations, or the preset maximum number of rounds (8) is reached.

So that the generated operators differ from existing designs and still run as code, the framework separates two prompt types, “seek” and “mend”: the former encourages differentiated operator designs to widen the search, the latter locates defects and repairs them when evaluation is poor. Generation follows two steps, describing before coding: the design intent and procedure of the operator are stated first, then implemented as code.

The LLM-AAD framework

Fig. 6 The LLM-AAD framework: crossover and mutation operators are written by the LLM, the remaining components follow a genetic algorithm [TRE 2026, Fig. 5]

On trans-Pacific voyages in January, April, July and October 2022, compared with NSGA-Ⅱ, SPEA2, KnEA, MGA, MOEA-LS and L-MOEA, the operators generated by LLM-AAD yielded Pareto fronts of better quality and diversity in every month, with HV up 6.24% and GD improved by 7.41% on average; in terms of voyage time and fuel, time was shortened by 2.3% and fuel consumption reduced by 2.2% on average.

Pareto fronts obtained by LLM-AAD on four monthly voyages, with generated crossover operators

Fig. 7 Pareto fronts obtained by LLM-AAD on four monthly voyages, with examples of the crossover operators it generated [TRE 2026, Fig. 7]

GD and HV comparison

Fig. 8 GD and HV of six algorithms; error bars are 95% confidence intervals [TRE 2026, Fig. 8]

In solution efficiency, we introduced the convergence time efficiency (CTE) metric, which accounts for both solving speed and front advancement; the solution time on the test cases fell from 312.07 s to 192.12 s, and CTE was higher than the compared algorithms in every month.

The voyage dependence of the operators was verified as well: operators generated on the January voyage used directly on April, and those generated on April used on January, degrade to the level of conventional algorithms when used across months, and are clearly superior only in their own month. The framework therefore outputs not one particular algorithm but a mechanism that generates algorithms voyage by voyage.

Why operators must be tailored to the voyage: cross-month use degrades to the level of conventional algorithms

Fig. 9 Why operators must be tailored to the voyage: LLM-AAD-Jan is the operator trained on January voyage data, and on the April voyage its front essentially overlaps those of NSGA-Ⅱ and MOEA-LS; the same holds for cross-month use in general, and only operators tailored to the month in question are clearly superior [TRE 2026, Fig. 11]

03

Robust Decision-Making under Uncertain Met-Ocean Forecasts

Marine meteorological forecasts are uncertain in themselves, and the uncertainty grows with lead time. On such input no routing algorithm, however accurate, can avoid risks such as late arrival — the source of the risk lies not in the algorithm but in the input. Ensemble forecasting represents this uncertainty explicitly: the initial field is perturbed, each perturbation is integrated separately, and several possible states at the same instant are obtained, one per member, so that a complete set of members forms a more robust picture of future sea states.

Existing studies that use ensemble forecasts to handle met-ocean uncertainty follow roughly two routes. One compresses the members into a single statistic (the mean or the median) as environmental input and then optimizes as usual; the other treats each member as an independent sea state, optimizes separately, and averages the results over members. Both routes leave uncertainty to the aftermath: results are presented as an expectation or a confidence interval, and member differences never enter the search, hence never enter the decision of which route to take at equal fuel consumption.

On top of L-MOEA, we use member differences for selection inside the non-dominated solution set rather than merely as an error description of the result. Once the algorithm has converged, the objective values of every solution in the optimal set are recomputed member by member, and the standard deviation across members is taken as the uncertainty measure of that solution; after Min-Max normalization the measure replaces crowding distance and becomes the criterion for recommending solutions within a given time window or cost interval [TRE 2024].

Workflow of the uncertainty-driven module

Fig. 10 The uncertainty-driven module: the solution set is recomputed with ensemble members and robust solutions are selected [TRE 2024, Fig. 3]

Statistics over 132 solutions from 12 voyages in 2022 show that L-MOEA-U, with this module, reduces the variance of fuel consumption and voyage time by 16% and 10% respectively; on the same cases the variance of solutions from other algorithms is generally 20% higher or more, up to nearly four times. On the January BL-Opt route, for example, L-MOEA yields a fuel range of 900.2–907.2 t with a variance of 4.21, which L-MOEA-U reduces further by about 30%; the non-dominated sets of the two do not dominate each other, showing that the gain in stability is not paid for with convergence [TRE 2024].

Objective distributions and Pareto fronts on the January voyage

Fig. 11 Normalized objective distributions and Pareto fronts of the January BL-Opt route under 20 forecast members: L-MOEA-U is more concentrated, and the two solution sets largely overlap (Shared) [TRE 2024, Fig. 10]

In the punctual-arrival problem, uncertainty shifts from preferring a solution inside the set to a feasibility test. MCL-EA checks the arrival time under each member one by one and discards a solution as soon as one member falls outside the contract window; reliability is measured separately with the Mahalanobis distance: energy consumption and voyage time under each member are treated as points in two dimensions, and their average distance to the mean is computed with the data covariance as weight, a smaller distance indicating a more robust solution. Safety constraints are checked member by member as well: a solution is discarded if any member exceeds the wave tolerance threshold of the ship.

Original plan against optimized solutions under the contract window

Fig. 12 Original plan against optimized solutions under the 190–200 h contract window: left, energy consumption falls by 9.1% on average; right, the grey band is the voyage-time range computed over 20 members, and the optimized solution stays inside the latest arrival time throughout [TRE 2026, Fig. 8]

Sailing as originally planned, the voyages of April, July, August and September cannot reach port before the latest arrival time fixed by contract; with the uncertainty constraint in place the solutions meet punctuality, the uncertainty in voyage time falls by about 48% on average, and low-sulphur fuel consumption per voyage drops by more than 9% [TRE 2026-205].