Next Article in Journal
Safe Design of a Hydrogen-Powered Ship: CFD Simulation on Hydrogen Leakage in the Fuel Cell Room
Next Article in Special Issue
Improved Fatigue Reliability Analysis of Deepwater Risers Based on RSM and DBN
Previous Article in Journal
Non-Hydrostatic Numerical Model of Bragg Resonance on Periodically Submerged Breakwater
Previous Article in Special Issue
On the Fatigue Strength of Welded High-Strength Steel Joints in the As-Welded, Post-Weld-Treated and Repaired Conditions in a Typical Ship Structural Detail
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved Method for Optimizing CNC Laser Cutting Paths for Ship Hull Components with Thicknesses up to 24 mm

1
Institute of Logistics Science and Engineering, Shanghai Maritime University, Shanghai 201306, China
2
Logistics Engineering College, Shanghai Maritime University, Shanghai 201306, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(3), 652; https://doi.org/10.3390/jmse11030652
Submission received: 20 February 2023 / Revised: 12 March 2023 / Accepted: 18 March 2023 / Published: 20 March 2023
(This article belongs to the Special Issue Fatigue and Fracture Mechanics of Marine Structures)

Abstract

:
In this paper, the essence and optimization objectives of the hull parts path optimization problem of CNC laser cutting are described, and the shortcomings of the existing optimization methods are pointed out. Based on the optimization problem of the hull parts CNC laser cutting path, a new part-cutting constraint rule based on partial cutting is proposed, which aims to overcome the drawbacks of the traditional algorithms with serial cutting constraint rules. This paper addresses the problem of optimizing the path for CNC laser cutting of hull parts, including an empty path and the order and directions used for the provided cut contours. Based on the discretization of the part contour segments, a novel toolpath model for hull parts called hull parts cutting path optimization problems based on partial cutting rules (HPCPO) is proposed in this paper. To solve the HPCPO problem, a segmented genetic algorithm based on reinforcement learning (RLSGA) is proposed. In RLSGA, the population is viewed as an intelligent agent, and the agent’s state is the population’s diversity coefficient. Three different segmented crossover operators are considered as the agent’s actions, and the agent’s reward is related to the changes in the population’s fitness and diversity coefficients. Two benchmark problems for HPCPO were constructed to evaluate the performance of RLSGA and compared with four other algorithms. The results showed that RLSGA outperformed the other algorithms and effectively solved the HPCPO problem.

1. Introduction

Shipbuilding is an intricate and specialized industry where the manufacturing process’s efficiency and accuracy significantly impact the final product’s quality and cost-effectiveness [1]. In recent years, with the continuous advancement of manufacturing technology, computer numerical control (CNC) laser cutting has become a commonly used method for metal material processing in modern manufacturing. The CNC laser cutting computer-aided manufacturing system provides significant benefits such as shortened product development cycles, improved production efficiency, enhanced product quality, and reduced energy consumption [2]. According to the “2021 China Laser Industry Development Report,” laser cutting has the most significant proportion in the laser industry’s actual application, followed by laser welding and laser marking, as illustrated in Figure 1. CNC laser cutting technology has become a vital tool in the shipbuilding industry, capable of accurately and efficiently cutting various hull components, including the hull plate, bulkheads, and decks [3]. As a critical technology in laser cutting systems, automatic nesting and cutting path planning have received increasing attention from research units and scholars [4].
For flat laser cutting, the travel path of the laser head consists of the processing trajectory and the auxiliary processing path. The processing trajectory refers to the laser head’s travel path as it cuts the graphic outline. In contrast, the auxiliary processing path, the non-cutting path, represents the laser head’s movement path between different graphic outlines. The auxiliary processing path serves the critical function of quickly and accurately positioning the laser head, determining the cutting order of various outlines, and improving processing efficiency. Figure 2 illustrates the schematic diagram of the laser head non-cutting path.
This paper focuses on optimizing the non-cutting path for laser cutting, which involves finding the optimal path for the laser head movement based on the requirements of the cutting process in a prenested layout [5]. The size of the non-cutting path is related to the cutting order and the starting processing point. Reducing the non-cutting path and avoiding unnecessary movement of the laser head can significantly improve the efficiency of parts with complex trajectories, especially those with batch production requirements.
Laser cutting has higher production requirements and costs than wire, waterjet, and plasma. Therefore, reducing the size of the non-cutting path is essential in decreasing operating costs, conserving resources, and improving production efficiency. For instance, the cost analysis of CO 2 laser and fiber laser cutting processes for cutting a 5 mm stainless steel plate is shown in Table 1, highlighting the high cost of laser cutting. Thus, planning the cutting path is crucial to reduce production costs [6].
The remaining parts of this paper are organized as follows: Section 2 reviews the relevant literature. Section 3 provides a detailed description of the cutting path optimization problem and cutting path optimization model based on partial cutting rules. Section 4 introduces the designed RLSGA algorithm. Section 5 verifies the effectiveness and efficiency of the proposed model and algorithm through experiments. Section 6 provides further conclusions and discussions.

2. Literature Review

Madić et al. [7] proposed a genetic programming (GP) approach to develop a mathematical model that describes the CO2 laser cutting process for the aluminum alloy AlMg3. This study used GP to investigate the relationship between cutting speed, laser power, assist gas pressure, and kerf taper angle. The authors conducted a complete factorial design experiment to obtain the GP model evolution process database. The results showed that the fit between the experimental and GP model prediction values of the kerf taper angle was appropriate. Furthermore, 3D surface plots were generated using the derived GP mathematical model to analyze the effects of input parameters on the change in kerf taper angle values. This study demonstrated the potential of GP in developing empirical mathematical models for laser cutting process optimization. Sherif et al. [8] proposed a two-stage sequential optimization approach in laser cutting for the nesting and cutting sequence. The paper focuses on developing a solution technique for any layout’s optimal cutting sequence. A simulated annealing algorithm (SAA) was considered to evolve the optimal cutting sequence. The proposed SAA was tested with five typical problems and was shown to provide near-optimal solutions. Comparing the two literature problems reveals that the proposed SAA can give improved results compared to GA and ACO algorithms. This study aims to maximize material utilization and minimize the ideal travel distance of the laser cut tool.
In 2016, Dewil et al. [9] classified the problem of laser cutting path planning into six categories: the continuous cutting problem (CCP), the endpoint cutting problem (ECP), the intermittent cutting problem (ICP), the touring polygons problem (TPP), the traveling salesman problem (TSP), and the generalized traveling salesman problem (GTSP). Each problem differs in selecting start and end points for the machining trajectory and in whether the graphic contour must be entirely cut. Various methods have been proposed to address each problem. Figure 3 shows the classification of the problems and their relationships. Currently, most scholars simplify the cutting path planning problem into two categories: the traveling salesman problem model and the generalized traveling salesman problem model. They have proposed a range of optimization algorithms to solve these two categories of problems.
Establishing a mathematical model for the traveling salesman problem (TSP) and utilizing intelligent optimization algorithms to solve the laser cutting path planning problem is a common approach. Shen Lu [10] proposed two heuristic search algorithms, namely the “n”-shaped and “s”-shaped algorithms. These algorithms simplify the shape center of each city point and use a centroid genetic algorithm to solve the traveling salesman problem to obtain the sequence of the laser cutting air path. Based on the nearest principle, the characteristic points of each part are searched to determine the entry point of the laser head. To avoid the laser head passing through the already-cut area, an improved genetic algorithm is proposed to satisfy the laser cutting process requirements and minimize the air travel path. In contrast to the selection of contour control points mentioned earlier, Li Nini et al. [11] extracted a node from each closed contour to represent the entire contour, treating the laser cutting path planning as a traveling salesman problem and using an improved genetic algorithm to solve it. For non-closed contour graphics, Chen Ting et al. [12] combined the background of the laser cutting die industry and used the taboo search greedy heuristic algorithm to plan the path. To improve the global search ability of the greedy algorithm, the algorithm was optimized locally. Hu Shenghong [13] determined the processing order of the image group and the processing start point of each image group based on greedy and taboo search algorithms. Zhou Rui et al. [14] used a genetic algorithm as the framework and introduced local operators to solve the laser cutting collaborative operation path planning problem.
Compared to the traveling salesman problem, the generalized traveling salesman problem is more complex due to multiple control points in each graph. Chentsov [15] highlighted the limitations of using dynamic programming to solve such problems in the early days, as they were unable to handle large-scale data. He proposed a quasi-optimal greedy algorithm to solve this problem and compared the results of exact and approximate algorithms. Laser cutting, as a particular processing method, imposes multiple process requirements on path planning, which introduces new perspectives to researching such problems. Lin Lizong et al. [16] investigated the cutting order problem of nested contours in laser cutting, established a mathematical model of empty movement paths, added a graphic preprocessing stage, computed the minimum bounding rectangle of each contour, and used a two-level programming design genetic optimization algorithm under the laser cutting process conditions of internal cutting before external cutting for complex contour shapes and non-crossing cutting paths in the already-cut area. The contour line corner points and the boundary corner points of the bounding rectangle determine the positional relationship of the nested contour line. Considering practical processing issues such as plate heating during laser cutting, Song Lei et al. [17] formulated a multi-objective function mathematical model for laser cutting path planning. They employed a dual-chromosome genetic algorithm with a dual-chromosome coding method and suitably modified genetic algorithm steps such as crossover and mutation. To account for constraints such as “punching,” “cutting along,” and “no crossing cutting” paths, Wang Na et al. [18] established a constrained GTSP model. They utilized a bidirectional ant colony optimization algorithm to address the problem of optimizing the closed contour path. Wang Zheng et al. [19] constructed a generalized traveling salesman problem model to address the shortcut path optimization problem for multiple contours and employed a quantum evolutionary algorithm to obtain the processing sequence. Dynamic programming has the advantage of achieving the optimal decision; therefore, it is utilized to calculate individual fitness. The quantum replacement method also enhances the global search capability of the algorithm. Yang Jianjun et al. [20] proposed the concept of time distance. They utilized a dual encoding genetic algorithm to determine the contour processing sequence and the starting points of each contour while considering the thermal effect problem in laser cutting. Dewil et al. [21] viewed path planning as the division of a contour line, and the partition minimized the cost of connecting the rooted directed minimum spanning tree. They employed the Edmond–Liu algorithm to solve the tree problem and the improved Liu–Kernighan heuristic algorithm to solve the generalized traveling salesman problem. Hajad et al. [22] proposed a simulated annealing algorithm with an adaptive large neighborhood search to minimize the laser cutting path in a two-dimensional cutting process. The algorithm extracts cut profiles from the input image using image processing algorithms and assigns coordinates to the contours’ pixels. Based on the generalized traveling salesman problem, the optimization algorithm considers all input image pixels as potential piercing locations. A laser beam makes a single visit and then does a complete cut of each profile consecutively. The simulation results showed that the proposed algorithm could successfully solve several datasets from the GTSP-Lib database with good solution quality. Additionally, the cutting path generated by the proposed method was shorter than that recommended by the commercial CAM software and other previous works.
The studies mentioned above examined the problem of optimizing cutting paths from different perspectives. However, the methodologies employed are often quite similar, with most converting the problem into a TSP by applying the constraint rule of sequential cutting of parts and subsequently employing relevant algorithms for optimization and solution. Nevertheless, the constraint rule of sequential cutting significantly impacts the practical effectiveness of cutting path optimization, leading to cases where the best path found is not a truly optimal solution.
This paper’s primary focus is optimizing the numerical control laser cutting path for hull components without holes and with non-adjacent edges. Specifically, the relationship between the cutting constraints of the parts and the path of the laser head is explored, along with relevant optimization algorithms. This study addresses critical issues in optimizing hull components’ numerical control laser cutting path.

3. Problem Description and Formulation

3.1. Problem Description

As shown in Figure 4, this paper considers a scenario where M parts without holes and with no common edges need to be cut from a plate. The cutting process begins at the lower left corner of the plate, denoted as the origin O , and the laser head cuts the contour shape of each part in turn. Finally, the laser head returns to the origin O to complete all parts’ cutting and blanking processes. During the cutting process, the laser head is “laser on cutting” when moving along the part contour line and in the “laser off non cutting” state (i.e., empty travel) when moving between contours. Since the length of the part contour is fixed, minimizing the empty travel distance between contours is crucial in reducing the cutting path length when the laser head’s movement speed is constant. Therefore, cutting path optimization aims to find the optimal path for the laser head, which minimizes the empty travel distance during the cutting process.

3.2. Model Establishment

3.2.1. Part-Cutting Constraint Rules

Many current studies in this field adopt the constraint rule of serial cutting of parts, where the laser head follows the part’s contour for a complete loop before moving on to the next part. Thus, the shape of the part’s contour may need to be considered when analyzing and optimizing the cutting path. A single point is selected from the contour as the starting and ending point of the contour (cutting point), which can replace the part’s contour. Consequently, the contours of the parts to be cut can be simplified as a set of points on the plate plane, and the cutting path optimization problem can be transformed into the well-known traveling salesman problem (TSP) to find the shortest distance between point sets. Most studies initially utilize the nearest neighbor algorithm to determine the cutting points for each contour and then use various related algorithms to optimize and solve the TSP, thereby resolving the cutting path optimization problem. However, based on in-depth research, this method, while simplifying the problem, may have a specific impact on the optimization results. As shown in Figure 5a, two parts are waiting to be cut inside the sheet, with the vertices of part 1 being ( P 1 1 , P 2 1 , P 3 1 , P 4 1 , P 5 1 ) and those of part 2 being ( P 1 2 , P 2 2 , P 3 2 , P 4 2 ). Using the nearest neighbor algorithm to determine the punching points as P 1 1 and P 1 2 , the complete cutting path can be represented as:
O P 1 1 [ P 2 1 P 3 1 P 4 1 P 5 1 P 1 1 ] P 1 2 [ P 2 2 P 3 2 P 4 2 P 1 2 ] O
The empty travel distance is S = O P 1 1 ¯ + P 1 1 P 1 2 ¯ + P 1 2 O ¯ . If the laser head is not subject to the constraint of serial cutting, i.e., allowing it to change position to cut other parts before one part is completely cut, then the cutting path shown in Figure 5b can be obtained:
O P 1 1 [ P 2 1 P 3 1 P 4 1 ] P 1 2 [ P 2 2 P 3 2 P 4 2 P 1 2 ] P 4 1 [ P 5 1 P 1 1 ] O
The empty travel distance, in this case, is
S = O P 1 1 ¯ + P 4 1 P 1 2 ¯ + P 1 2 P 4 1 ¯ + P 1 1 O ¯ = 2 O P 1 1 ¯ + 2 P 4 1 P 1 2 ¯
It is clear that S > S . Hence, under the constraint of serial cutting, conventional algorithms may sometimes fail to find the optimal solution. To tackle this challenge, this paper proposes employing a part-cutting-based cutting constraint rule that permits the laser head to move freely between the contours of each part during the cutting process, without being constrained by the cutting rate of the part contours. Figure 5b provides an illustration of a cutting path that utilizes this part-cutting rule. This rule provides a beneficial means for optimization algorithms to discover superior cutting paths.

3.2.2. Model Establishment

Due to the differences between the partial cutting constraint rule and the serial cutting constraint rule, the approach and processing methods for optimizing the cutting path are entirely distinct. The equivalent TSP method used in traditional algorithms is no longer applicable. Therefore, this paper proposes a method of discretizing the contour segments of the parts. Let there be M parts, where the contour segment group of part 1 is { L 11 , L 12 , L 13 , , L 1 m }, with m being the number of contour segments of part 1, and the contour segment group of part 2 is { L 21 , L 22 , L 23 , , L 2 n }, with n being the number of contour segments of part 2. The contour segment group of part M is { L M 1 , L M 2 , L M 3 , , L M p }, with p being the number of contour segments of part M . According to the cutting requirements of the parts, the laser head only needs to move along all the discretized contour segments on the plate, regardless of the order, to cut all parts. At this point, the cutting path optimization problem becomes a matter of planning the cutting sequence for each contour segment to minimize the laser head’s travel distance without cutting, also known as empty travel distance. It is assumed that the cutting sequence of each part’s contour segments has been determined according to some rule, as shown in Table 2.
The total number of contour line segments is denoted as N , and the coordinates of the origin O are ( 0 , 0 ) . Thus, the cutting path of the laser head can be represented as O [ P 11 P 12 ] [ P 21 P 22 ] · · · [ P N 1 P N 2 ] O .
The empty travel distance is
S E m p t y = O P 11 ¯ + P 12 P 21 ¯ + P 22 P 31 ¯ + · · · + P ( N 1 ) 2 P N 1 ¯ + P N 2 O ¯ = O P 11 ¯ + b = 1 N 1 P b 2 P ( b + 1 ) 1 ¯ + P N 2 O ¯
Therefore, the mathematical model for the optimization-of-cutting-path problem is expressed as follows:
min S E m p t y = x 11 2 + y 11 2 + x N 2 2 + y N 2 2 + b = 1 N 1 ( x ( b + 1 ) 1 x b 2 ) 2 + ( y ( b + 1 ) 1 y b 2 ) 2 s . t . x i j 0 i = 1 , 2 , , N ; j = 1 , 2 y i j 0 i = 1 , 2 , , N ; j = 1 , 2
In the mathematical model, the cutting path optimization problem of M hull parts is feasible; as shown in Formula (3), a feasible solution is divided into M segments, and each segment represents the cutting sequence of the line segment set in the contour of the part.
X = { p a t h 1 : [ x 1 1 , x 2 1 , , x m 1 ] p a t h 2 : [ x 1 2 , x 2 2 , , x n 2 ] p a t h M : [ x 1 M , x 2 M , , x p M ] }

4. Segmented Genetic Algorithm Based on Reinforcement Learning

4.1. Algorithm Overview

Based on the analysis in Section 3.2.2, it is evident that the crux of the cutting path optimization problem lies in selecting the sequence of part contour segments. This is a classic NP (non-deterministic polynomial) combinatorial optimization problem that can be solved through intelligent algorithms such as the genetic algorithm, simulated annealing algorithm, and ant colony algorithm.
In the above mathematical model, the encoding method of feasible solutions is complex, and conventional heuristic algorithms or path-planning algorithms applied to the model have poor optimization performance. In order to optimize the model, this paper proposes a segmented genetic algorithm based on reinforcement learning (RLSGA). In different diversity states, the population tries and accumulates to select the best crossover operator to obtain the shortest path of the tool.
The reasons for choosing a reinforcement-learning-based segmented genetic algorithm over other genetic algorithms are multifaceted. Firstly, it can effectively handle high-dimensional and complex problems, which traditional genetic algorithms often need help with due to their low efficiency and the vastness of the search space. Secondly, it can quickly find optimal global solutions by adapting the search space. Thirdly, it can achieve online learning, which enables continuous learning and optimization in real-time environments, whereas traditional genetic algorithms typically rely on offline learning. Lastly, it can better address nonlinear problems by modeling and solving them, which is impossible with traditional genetic algorithms that are typically only applicable to linear or convex optimization problems.
A genetic algorithm (GA) is a commonly used method for solving combinatorial optimization problems [23]. GAs have been applied to the solution of various combinatorial optimization models [24]. Giannakoglou [25] presents an approach to utilizing stochastic optimization and computational intelligence to optimize aerodynamic shapes to improve aircraft performance. The paper primarily focuses on using population-based search algorithms, particularly genetic algorithms, and explores methods to reduce the computational cost of these methods. The construction and use of surrogate or approximation models were also discussed as substitutes for the costly evaluation tool. The paper provides valuable insights into applying stochastic optimization in aerospace engineering design. Vosniakos et al. [26] proposed a systematic procedure for optimizing manufacturing cells by combining neural network simulation metamodels with genetic algorithms. The method optimizes design and operation parameters, overcoming the limitations of discrete event simulations. A neural network metamodel is used to calculate the fitness function, followed by a genetic algorithm to determine the best combination of parameters. The study discusses the conditions for the successful implementation of the proposed approach. Zhu et al. improved GAs using a multi-level method and achieved optimization of single-tool drilling path optimization (DPO) [27]. Although GAs have a fast convergence speed in solving problems, the diversity of the GA population often needs to be maintained as iterations proceed. In the later stage of evolution, the population search tends to slow down, and it is easy to fall into local optima. In order to improve the performance of GAs and overcome their limitations, GAs based on the theory of reinforcement learning have been widely used in the field of combinatorial optimization [28], such as by Li Runfo et al., who used reinforcement learning to automatically adjust GA parameters to solve the ship scheduling problem.
A GA regards the feasible solutions to a problem as chromosomes and multiple chromosomes form a population. The population continuously iterates and evolves through selection, crossover, and mutation until convergence. The core idea of reinforcement learning theory is “try” and “accumulate”. The agent executes actions in the environment based on its state and accumulated rewards, obtains immediate rewards, and updates the accumulated rewards.
Three segmented crossover operators for GAs were designed, along with a migration operation, to solve the model proposed in this paper. Based on reinforcement learning, the population was treated as intelligent agents, and a state (s), action (a), and immediate reward (R) were designed. Different segmented crossover operators were selected based on the population’s state to enhance the population’s diversity while ensuring convergence.
In GAs, the quality of a chromosome is represented by its fitness value f i t , with a higher fitness value indicating a better chromosome. Optimizing cutting paths minimizes the total length of empty travel ( T L ), which is the sum of the lengths of empty travel between all cutting segments. For a population containing n chromosomes, let L i be the length of empty travel for the i t h chromosome ( i = 1 , 2 , , n ) ; then, the fitness value of the i t h chromosome is given by:
f i t i = 1 T L i

4.2. State

In order to increase the diversity of the GA population, at time t , the state of the population p o p t is determined by its diversity coefficient. The diversity coefficient d i v of the population is calculated by Equation (4). The diversity coefficient d i v [ 0 , 1 ] , and as d i v 1 , the diversity of the population becomes better, and vice versa.
d i v ( p o p t ) ( 1 0.5 t t max ) · e p
In the equation, t max is the maximum number of iterations, and the coefficient p is calculated by Formula (5).
p = ( m e a n [ f i t t ] ) 2 · i = 1 n ( D [ i ] 1 ) n · ( b e s t [ f i t t ] m e a n [ f i t t ] )
The m e a n [ f i t t ] and b e s t [ f i t t ] represent the population’s mean and best fitness values at time t , respectively. D [ i ] denotes the number of chromosomes with the same fitness value as the i t h chromosome, including itself.
Three states of the population at time t are defined as follows: s t 1 : d i v [ 0 , 0.25 ) , s t 2 : d i v [ 0.25 , 0.75 ] , and s t 3 : d i v ( 0.75 , 1 ] .

4.3. Action

The encoding of feasible solutions determines the crossover method for chromosomes. As shown in Equation (2), feasible solutions are encoded using segmented vectors in the mathematical model. Therefore, when a GA is applied to solve this model, three-segmented crossover operators (SX) were designed in this paper, including positive segmented crossover (PSX), reverse segmented crossover (RSX), and intersect segmented crossover (ISX). These three crossover operators are actions that the intelligent agents (populations) can choose at any state.

4.3.1. Positive Segmented Crossover (PSX)

In RLSGA, the crossover is defined as follows: a chromosome randomly selects gene segments of a certain length from different positions on each path ( p a t h M ) and exchanges them with the corresponding gene segments of the other chromosome at the same positions and with the same length. The crossover consists of four steps: multiple segment exchange, repeated blanking, completeness checking and complementation, and blank filling. The positive segmented crossover operation on the chromosome is illustrated in Figure 6.
(a) Multiple segment exchange: Segmented crossover is used in RLSGA, where each chromosome comprises multiple parts of the contour line. The directions and orders of each line segment in different chromosomes are not always the same. A random section of each path is selected and exchanged to perform a forward segmented crossover operation on two chromosomes, as shown in Figure 2a. In order to ensure that the segments are of equal length and position, the start and end points for a segment are randomly selected from the shorter of the two chromosomes.
(b) Repeated blanking: After multiple segment swaps, the coding within the swapped segments remains fixed, and if there are any identical numbers outside the swapped segments, they are set to null and need to be filled. In Figure 2b, the empty positions are marked with Roman numerals on a white background. When Chromosome 1 receives the segment {5, 2} from Chromosome 2, the number 2 occurs twice outside the swapped segment, so the number outside the segment is set to null and marked as ‘I.’ Similarly, marks ‘II,’ ‘III,’ and ‘IV’ are assigned to other null positions outside the swapped segment.
(c) Completeness checking and blank transfer: Let l m be the set of part contour segments on path m , so | l M | is constant for path m . Based on this property, the completeness of the path is defined as follows: under the blank state, if the number of remaining segments on a specific path plus the number of blank spaces is less than | l M | , then it is an incomplete path; if the two are equal, then it is a complete path; and if the former is greater than the latter, it is an over-complete path. Incomplete paths cannot execute the fourth step of “blank completion” because the number of their blank spaces is less than the number of segments that need to be filled. At this time, random over-complete paths are continuously transferred to the non-complete paths until they become complete. Transfer blank spaces from over-complete paths to all incomplete paths until there are no incomplete paths in the chromosome.
(d) Empty slot completion: All the segments not on the chromosome are first filled with appropriate empty slots. Then, the remaining empty slots are filled with the remaining segments in a random order according to the principle of minimal increments.

4.3.2. Reverse Segmented Crossover (RSX)

The difference between a reverse segmented crossover and a positive segmented crossover lies in the fact that, for the former, the extracted segment is reversed before being exchanged. In contrast, the latter does not reverse the extracted segment. All other steps are the same for both types of crossover.

4.3.3. Intersect Segmented Crossover (ISX)

The Intersect Segment Crossover (ISX) is designed to increase the diversity of the population. ISX only requires that the length of the segments is the same, but not their gene order. When performing ISX, after determining the segment start and end points on the shorter path, a segment of the same length is randomly selected from the long path with a satisfying starting point for the segment. Then, the two segments are exchanged. The remaining steps are the same as those for the Order Crossover.

4.4. Immediate Reward

The immediate reward feedback from the environment to the agent can reflect the rationality of its actions at the current moment in a specific state. In RLSGA, the immediate reward R of the agent is divided into three parts: the diversity reward R1, the best fitness value reward R2, and the average fitness value reward R3.

4.4.1. The Diversity Reward

In the later iterations of the GA algorithm, there is a high probability that all chromosomes in the population will converge to the same one, which quickly leads to the GA being trapped in local optima. To suppress the population assimilation rate and maintain the population’s diversity, RLSGA adds a diversity reward. The diversity reward is expressed as the change in the population diversity coefficient d i v . At time t , the diversity reward is calculated by the following formula:
R t 1 = d i v ( p o p t ) d i v ( p o p t 1 )

4.4.2. The Best Fitness Value Reward

RLSGA aims to enhance the population’s best fitness value b e s t [ f i t ] , thereby outputting it as the optimal solution for the current optimization when the iteration concludes. Therefore, positive feedback should be given to the population if the best fitness value is improved; otherwise, negative feedback will be provided. At time t , the reward for the best fitness value is calculated using the following formula:
R t 2 = { + 1.5 i f b e s t [ f i t t ] > b e s t [ f i t t 1 ] 0.5 i f b e s t [ f i t t ] = b e s t [ f i t t 1 ] 1.0 i f b e s t [ f i t t ] < b e s t [ f i t t 1 ]

4.4.3. The Average Fitness Value Reward

The average fitness value m e a n [ f i t ] of a population reflects the evolutionary state and trend of the entire population. At time t , the reward for the average fitness value is calculated using Equation (8). It should be noted that, if the average fitness value of the population at time t is equal to that at time t 1 , it indicates that the population has likely not undergone any changes. Therefore, a substantial penalty will be imposed.
R t 3 = { + 1.0 i f m e a n [ f i t t ] > b e s t [ f i t t 1 ] 2.0 i f m e a n [ f i t t ] = b e s t [ f i t t 1 ] 0.5 i f m e a n [ f i t t ] < b e s t [ f i t t 1 ]
The immediate reward of an agent at time t is the sum of three components:
R t = R t 1 + R t 2 + R t 3

4.5. RLSGA Learning and Iterative Process

In summary, the learning and iteration process of the agent in RLSGA is illustrated in Figure 7.
In Figure 7, Q t is the Q table at time t , which is used to store the accumulated rewards of different actions in each state. The Q t table is updated using the Q l e a r n i n g algorithm, where the action sampled in a single step is independent of the action selected at time t . The Q t table is updated based on Equation (11) in the Q l e a r n i n g algorithm, with α [ 0 , 1 ) representing the learning rate and γ [ 0 , 1 ] representing the discount factor. The Q l e a r n i n g algorithm allows the agent to learn incrementally and update the accumulated rewards during the iteration process. As a result, the agent can more accurately determine what actions to take in the current state to maximize its return as the iteration progresses.
Q t + 1 ( s t , a t ) = ( 1 α ) Q t ( s t , a t ) + α [ R t + γ Q t ( s t + 1 , a t + 1 ) ]
The basic process of the RLSGA algorithm can be summarized as follows:
  • Selection: Use roulette wheel selection to choose n individuals from a population of size Q l e a r n i n g to form a subpopulation.
  • Action selection: The population obtains the state s t based on its diversity coefficient and then selects an action (crossover operator) based on the state and the cumulative reward Q t . The action selection method uses an ε -greedy approach, where an action is randomly selected with probability ε ( ε [ 0 , 1 ] ) , and the action with the maximum cumulative reward is selected with probability 1 ε .
  • Crossover: The individuals in the subpopulation undergo crossover with a probability of p C .
  • Mutation: Each individual in the subpopulation undergoes a mutation with a probability of p M u , which is defined as the exchange of two random encodings on a random path.
  • Migration: Each individual in the subpopulation undergoes migration with a probability of p M i , where migration is defined as transferring a random segment of a random path to a random position on another path.
  • Merge population: The subpopulation and parent population consist of 2 n individuals. After merging the two populations, the top n individuals with high fitness values are selected as the next-generation population.
  • Obtain immediate reward: Obtain the immediate reward R t based on the relationship between the fitness values and diversity coefficient of the current and previous generations.
  • Update Q t to Q t + 1 . P 1 1

5. Experimental Results and Discussions

For the proposed HPCPO model, two test questions are designed in this paper. On the test problem, the effectiveness of RLSGA is checked.
The methods have been implemented using the Python programming language, and the experimental environment has been a computer with Windows 10, an Intel(R) Core(TM) i7-10875H CPU @ 2.30 GHz, and 16.0 GB RAM (Lenovo, located in Shanghai, China).

5.1. Test Question Design

In this paper, a total of two test questions of two scales are designed, including five parts with 20 line segments (5–20) and ten parts with 45 line segments (10–45). The layout of the two test questions is shown in Figure 8.

5.2. Comparing Algorithms and Algorithm Parameters

The particle swarm optimization (PSO) algorithm [29], the optimal foraging algorithm (OFA) [30], and the whale optimization algorithm (WOA) [31] are excellent heuristic algorithms. In this paper, the above three heuristic algorithms are selected as the comparison algorithms for RLSGA. Specifically, to verify the impact of the reinforcement learning framework on genetic algorithms (GA), we included a segmented genetic algorithm (SGA) without a reinforcement learning framework in the comparison algorithms. This algorithm does not have attributes such as a population state or immediate rewards and randomly selects a crossover operator during chromosome crossover.
The algorithm parameters were set as follows. For PSO, we set the inertia weight ω to 0.3 and the acceleration coefficients c 1 and c 2 to 0.5, which are commonly used values in the literature [29]. For OFA, we set the parameter k to 0.9 0.5 t t max . This parameter setting enables OFA to dynamically adjust the exploration–exploitation tradeoff during the optimization process [30]. Regarding WOA, we used the default parameter values mentioned in [31], which were suitable for our problem domain. Specifically, we set A = 2, A min = 0, C = 1, and b = 1, as recommended in [31]. It is worth noting that the parameters of the segmented genetic algorithm (SGA) without a reinforcement learning framework were set the same as those of the reinforced learning segmented genetic algorithm (RLSGA) during the iterative process. Since the parameter-tuning process in the reinforcement learning phase is a time-consuming task, the hyperparameter settings adopted in this study are based on existing research (Alipour et al.) and further tuned [32]. Specifically, we set p C = 0.6, p M u = 0.1, and p M i = 0.1 during the iterative process, and α = 0.9, γ = 0.9, and ε = 0.1 during the learning process.
The five algorithms used the same randomly initialized population as the initial population for optimization. The population size n for the five algorithms on test problems 5–20 and 10–45 were all set to 100 and 200, and the maximum iteration times were set to tmax = 1000. Each algorithm was independently run 30 times on each test problem.

5.3. Experiment and Analysis

Table 3 presents the average and best (indicated in bold) total path lengths obtained by the five algorithms, each independently run 30 times on the test problems. RLSGA achieved the best performance on the average and best values for each test problem. The gap between the average and best values obtained by RLSGA was significantly smaller than that of the other algorithms, indicating that RLSGA had lower randomness and more stable performance. For the more straightforward problem 5–20, all algorithms successfully obtained the optimal solution in every run. As the number of parts or part profiles in the test problem increased, the complexity of the problem also increased. RLSGA significantly outperformed the other algorithms on the 10–45 test problem. Overall, RLSGA had the best performance, followed by SGA and PSO, while OFA and WOA did not perform as well. The results indicate that RLSGA can effectively and reasonably optimize the HPCPO model.
Figure 9 is the tool path corresponding to the optimal solution of RLSGA on the two test problems.
The convergence behavior of the five algorithms on the 5–20 and 10–45 test problems is shown in Figure 10 and Figure 11, respectively. In general, all algorithms demonstrate a gradual convergence to the optimal solution, although there are variations in the convergence rate and the quality of the final solution.
On the 5–20 problem, RLSGA, SGA, and PSO show a relatively fast convergence, while OFA and WOA converge more slowly, as shown in Figure 10. Specifically, RLSGA and SGA converge almost simultaneously after 100 iterations, suggesting that both methods effectively explore the search space and exploit reasonable solutions. By contrast, the convergence curve of OFA exhibits more fluctuations, indicating that the algorithm may have difficulty escaping from local optima. Meanwhile, WOA converges steadily but more slowly than the other methods, indicating that its exploration strategy may need to be more effective in this problem.
On the 10–45 problem, RLSGA outperforms the other methods by a large margin, as shown in Figure 11. RLSGA and PSO converge to the optimal solution after about 1000 iterations, while SGA falls into a local optimum and only finds a better solution at the end of the iteration. This result suggests that the diversity reward in RLSGA effectively prevents premature convergence and maintains population diversity, enabling the algorithm to explore more promising regions of the search space.
To better understand the performance of the five algorithms, we compared their computational cost in terms of time complexity. Precisely, we measured the average running time of each algorithm on the 5–20 and 10–45 test problems. The results are presented in Table 4. As shown in Table 4, RLSGA and SGA have the lowest average running times on both test problems, while PSO, OFA, and WOA have higher running times. Although RLSGA’s running time is slightly higher than SGA’s, the difference is within an acceptable range, considering RLSGA’s better performance in finding optimal solutions. These results indicate that RLSGA and SGA are the most computationally efficient algorithms for solving the HPCPO problem among the five compared algorithms. Specifically, RLSGA outperforms the other algorithms, including SGA, regarding solution quality and convergence speed.
We can draw several conclusions based on the performance of RLSGA, SGA, and other comparison methods on the 5–20 and 10–45 problems. Firstly, RLSGA outperforms all other comparison methods, suggesting that the reinforcement learning framework with diversity reward effectively solves the HPCPO problem. Secondly, SGA performs better than OFA and WOA but outperforms RLSGA and PSO. This indicates that the genetic algorithm is a suitable method for this problem but may require additional improvements in the future.
To better understand the reasons for the superior performance of RLSGA, we further analyzed its behavior during the optimization process. Specifically, we observed that RLSGA sacrifices some convergence speed to maintain diversity. However, this tradeoff leads to a more robust and stable algorithm less likely to be trapped in local optima. The convergence curves of RLSGA on both problems are relatively smooth, indicating that the algorithm can consistently find reasonable solutions. This property is significant for real-world applications where the objective function may be noisy or non-differentiable.
Furthermore, we compared the results of RLSGA with those of SGA and found that RLSGA is superior in terms of convergence rate and solution quality. The success of RLSGA is due to the use of a reinforcement learning framework, which allows the algorithm to learn from past experiences and adapt to changes in the optimization landscape. Additionally, the diversity reward function in RLSGA encourages the algorithm to explore a wide range of solutions, which may help to avoid getting stuck in local optima.
In conclusion, our results demonstrate the effectiveness of the RLSGA algorithm for solving the HPCPO problem. The use of a reinforcement learning framework and a diversity reward function are key factors contributing to the superior performance of RLSGA. Further research can explore how to further improve the performance of genetic algorithms on this problem by incorporating additional techniques or optimizing the algorithm’s parameters.

6. Conclusions

This paper proposes a hull parts cutting path optimization problem (HPCPO) model based on partial cutting rules for the laser cutting process of ship components in practical production activities. The HPCPO model represents the optimization of cutting paths for each component as the planning of the cutting sequence of each component’s contour segments. To optimize the HPCPO, this paper proposes a reinforcement -learning-based segmented genetic algorithm (RLSGA), which enables the population to try and accumulate different segmented crossover operators at different diversity coefficient states to achieve maximum benefits. The performance of RLSGA is compared with four other algorithms on the designed test problem, and the results show that RLSGA outperforms the other algorithms and effectively solves the HPCPO problem.
The results show that the proposed reinforcement-learning-based segmented genetic algorithm (RLSGA) performs better than other algorithms in solving hull parts cutting path optimization problems based on partial cutting rules (HPCPO). However, there are still several directions for future work. Firstly, additional factors relevant to practical production activities, such as machine maintenance, should be considered to enhance the HPCPO model. Secondly, a more comprehensive comparison with other state-of-the-art algorithms in the field should be conducted to validate the RLSGA algorithm’s effectiveness further. Lastly, it may be worthwhile to investigate the applicability of the RLSGA algorithm to other optimization problems in the field of laser cutting and other manufacturing domains.

Author Contributions

Conceptualization, X.L. and D.C.; methodology, X.L. and D.C.; writing—original draft preparation, X.L.; writing—review and editing, D.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Stanić, V.; Hadjina, M.; Fafandjel, N.; Matulja, T. Toward shipbuilding 4.0-an industry 4.0 changing the face of the shipbuilding industry. Brodogr. Teor. Praksa Brodogr. I Pomor. Teh. 2018, 69, 111–128. [Google Scholar] [CrossRef]
  2. Lu, J.; Ou, C.; Liao, C.; Zhang, Z.; Chen, K.; Liao, X. Formal modelling of a sheet metal smart manufacturing system by using Petri nets and first-order predicate logic. J. Intell. Manuf. 2021, 32, 1043–1063. [Google Scholar] [CrossRef]
  3. Cebi, S.; Ozkok, M.; Kafali, M.; Kahraman, C. A Fuzzy Multiphase and Multicriteria Decision-Making Method for Cutting Technologies Used in Shipyards. Int. J. Fuzzy Syst. 2016, 18, 198–211. [Google Scholar] [CrossRef]
  4. Oliveira, L.T.; Silva, E.F.; Oliveira, J.F.; Toledo, F.M.B. Integrating irregular strip packing and cutting path determination problems: A discrete exact approach. Comput. Ind. Eng. 2020, 149, 1–9. [Google Scholar] [CrossRef]
  5. Hajad, M.; Tangwarodomnukun, V.; Jaturanonda, C.; Dumkum, C. Laser cutting path optimization with minimum heat accumulation. Int. J. Adv. Manuf. Technol. 2019, 105, 2569–2579. [Google Scholar] [CrossRef]
  6. Madić, M.; Petrović, G.; Petković, D.; Antucheviciene, J.; Marinković, D. Application of a Robust Decision-Making Rule for Comprehensive Assessment of Laser Cutting Conditions and Performance. Machines 2022, 10, 153. [Google Scholar] [CrossRef]
  7. Madić, M.; Gostimirović, M.; Rodić, D.; Radovanović, M.; Coteaţă, M. Mathematical modelling of the CO2 laser cutting process using genetic programming. Facta Univ. Ser. Mech. Eng. 2022, 20, 665–676. [Google Scholar] [CrossRef]
  8. Sherif, S.U.; Jawahar, N.; Balamurali, M. Sequential optimization approach for nesting and cutting sequence in laser cutting. J. Manuf. Syst. 2014, 33, 624–638. [Google Scholar] [CrossRef]
  9. Dewil, R.; Vansteenwegen, P.; Cattrysse, D. A review of cutting path algorithms for laser cutters. Int. J. Adv. Manuf. Technol. 2016, 87, 1865–1884. [Google Scholar] [CrossRef]
  10. Lu, S. Research and Implementation of Laser Cutting Path Planning and Optimization. Master’s Thesis, Hefei University of Technology, Hefei, China, 2020. [Google Scholar]
  11. Li, N.N.; Chen, Z.W.; Chen, S.Z. Optimization of laser cutting path based on local search and genetic algorithm. Comput. Eng. Appl. 2010, 46, 234–236. [Google Scholar] [CrossRef]
  12. Chen, T.; Yu, X.P.; Chen, J.F.; Han, X. Path Planning Based on Plane Unclosed Graphic Cutting. Jisuanji Xiandaihua 2019, 8, 39–43. [Google Scholar] [CrossRef]
  13. Hu, S.H. Research on Optimizing Algorithm of Laser Processing Based on Graph Computational Geometry Technology. Master’s Thesis, Huazhong University of Science and Technology, Wuhan, China, 2007. [Google Scholar] [CrossRef]
  14. Zhou, R.; Ma, H.W. Path Planning of Laser Cutting Cooperative Operation Based on Improved Genetic Algorithm. Logist. Sci.-Tech. 2021, 49, 50–55. [Google Scholar] [CrossRef]
  15. Chentsov, P.A.; Petunin, A.A.; Sesekin, A.N.; Shipacheva, E.N.; Sholohov, A.E. Heuristic algorithms for solving of the tool routing problem for CNC cutting machines. Aip. Conf. Proceeding 2015, 1690, 47–50. [Google Scholar] [CrossRef]
  16. Lin, L.Z.; Li, M.Z.; Cheng, X.S. Laser Cutting Path Planning for Complex Contours Based on Mixed Enveloping Rectangles. Forg. Stamp. Technol. 2020, 45, 147–153. [Google Scholar] [CrossRef]
  17. Song, L.; Wang, X.X.; Liu, X.Y. Optimization of double-chromosome genetic algorithm for laser cutting technology path. Forg. Stamp. Technol. 2021, 46, 119–125. [Google Scholar] [CrossRef]
  18. Wang, N.; Wang, H.Y.; Jiang, Y.C. Optimization on laser cutting process path based on bidirectional ant colony algorithm. Forg. Stamp. Technol. 2020, 45, 30–35. [Google Scholar] [CrossRef]
  19. Wang, Z.; Yang, W.B.; Wang, W.L. Path optimization for multi-contour based on quantum evolutionary algorithm. Comput. Integr. Manuf. Syst. 2017, 23, 2128–2135. [Google Scholar] [CrossRef]
  20. Yang, J.J.; Liu, B.Y.; Ju, L.Y. Dual coding improved genetic algorithm for optimization of laser cutting path. J. Army Eng. Univ. PLA 2012, 13, 684–687. [Google Scholar] [CrossRef]
  21. Dewil, R.; Vansteenwegen, P.; Cattrysse, D.; Laguna, M.; Vossen, T. An improvement heuristic framework for the laser cutting tool path problem. Int. J. Prod. Res. 2015, 53, 1761–1776. [Google Scholar] [CrossRef]
  22. Hajad, M.; Tangwarodomnukun, V.; Jaturanonda, C.; Dumkum, C. Laser cutting path optimization using simulated annealing with an adaptive large neighborhood search. Int. J. Adv. Manuf. Technol. 2019, 103, 781–792. [Google Scholar] [CrossRef]
  23. Karkalos, N.E.; Markopoulos, A.P.; Davim, J.P. Computational Methods for Application in Industry 4.0, 1st ed.; Springer: Cham, Switzerland, 2018; pp. 11–31. [Google Scholar] [CrossRef]
  24. Wang, Y.; Wei, Y.; Wang, X.; Wang, Z.; Wang, H. A clustering-based extended genetic algorithm for the multidepot vehicle routing problem with time windows and three-dimensional loading constraints. Appl. Soft Comput. 2023, 133, 109922. [Google Scholar] [CrossRef]
  25. Giannakoglou, K.C. Design of optimal aerodynamic shapes using stochastic optimization methods and computational intelligence. Prog. Aerosp. Sci. 2002, 38, 43–76. [Google Scholar] [CrossRef]
  26. Vosniakos, G.C.; Tsifakis, A.; Benardos, P. Neural network simulation metamodels and genetic algorithms in analysis and design of manufacturing cells. Int. J. Adv. Manuf. Technol. 2006, 29, 541–550. [Google Scholar] [CrossRef]
  27. Zhu, G.Y.; Chen, L.F. Holes machining process optimization with genetic algorithm. Key Eng. Mater. Trans. Tech. Publ. Ltd. 2011, 460, 117–122. [Google Scholar] [CrossRef]
  28. Li, R.F.; Zhang, X.Y.; Li, J.J.; Chen, L. Application of Self-learning Genetic Algorithm Based on Reinforcement Learning in Ship Scheduling. J. Dalian Marit. Univ. 2022, 48, 20–30. [Google Scholar] [CrossRef]
  29. Poli, R.; Kennedy, J.; Blackwell, T. Particle swarm optimization. Swarm Intell. 2007, 1, 33–57. [Google Scholar] [CrossRef]
  30. Zhu, G.Y.; Zhang, W.B. Optimal foraging algorithm for global optimization. Appl. Soft Comput. 2017, 51, 294–313. [Google Scholar] [CrossRef]
  31. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  32. Alipour, M.M.; Razavi, S.N.; Feizi-Derakhshi, M.-R.; Balafar, M.A. A hybrid algorithm using a genetic algorithm and multiagent reinforcement learning heuristic to solve the traveling salesman problem. Neural Comput. Appl. 2018, 30, 2935–2951. [Google Scholar] [CrossRef]
Figure 1. Industrial laser processing application distribution in China in 2021.
Figure 1. Industrial laser processing application distribution in China in 2021.
Jmse 11 00652 g001
Figure 2. Schematic diagram of laser head non-cutting path.
Figure 2. Schematic diagram of laser head non-cutting path.
Jmse 11 00652 g002
Figure 3. Classification of laser cutting path planning problems.
Figure 3. Classification of laser cutting path planning problems.
Jmse 11 00652 g003
Figure 4. Layout of parts.
Figure 4. Layout of parts.
Jmse 11 00652 g004
Figure 5. Example comparison of two cutting paths.
Figure 5. Example comparison of two cutting paths.
Jmse 11 00652 g005
Figure 6. Positive segmented crossover operation step.
Figure 6. Positive segmented crossover operation step.
Jmse 11 00652 g006
Figure 7. Warehouse layout of the robotic mobile fulfillment system.
Figure 7. Warehouse layout of the robotic mobile fulfillment system.
Jmse 11 00652 g007
Figure 8. Layout diagram of 2 test cases.
Figure 8. Layout diagram of 2 test cases.
Jmse 11 00652 g008
Figure 9. The optimal path graphs obtained by RLSGA on the test problems.
Figure 9. The optimal path graphs obtained by RLSGA on the test problems.
Jmse 11 00652 g009
Figure 10. Comparison of rack travel distance between considering equilibrium and not considering.
Figure 10. Comparison of rack travel distance between considering equilibrium and not considering.
Jmse 11 00652 g010
Figure 11. Comparison of rack travel distance between considering equilibrium and not considering.
Figure 11. Comparison of rack travel distance between considering equilibrium and not considering.
Jmse 11 00652 g011
Table 1. CO2 laser and fiber laser cutting process cost analysis.
Table 1. CO2 laser and fiber laser cutting process cost analysis.
ClassificationConsumption
CO2 LaserFiber Laser
laser gas
consumption
He ( 99 . 999 % ) / L h 1 13-
N 2 ( 99 . 999 % ) / L h 1 6-
CO 2 ( 99 . 999 % ) / L h 1 1-
Compressed air / Nm 3 h 1 - 235
cutting gas consumption Cutting speed / m min 1 2.58.2
N 2 ( 99 . 999 % ) / Nm 3 h 1 20.2739.25
Electricity consumption Total   power   of   equipment / kW 47.5628.56
equipment depreciationTotal purchase and installation cost/¥ Y 650,000700,000
equipment maintenanceEquipment repair and maintenance costs/¥ Y  1100,00070,000
Vulnerable and consumable parts consumptionFocusing lens/piece Y belike 4-
Protective lens/day Y -2.5
Nozzle/h piece 1 4040
Other consumption/¥ Y belike 4000belike 4000
1 Y stands for yearly. 2 “-” indicates that this consumption is not required.
Table 2. Cutting sequence of part contour segments.
Table 2. Cutting sequence of part contour segments.
NumberContour SegmentsEndpoint 1Endpoint 2x-Coordinate of Endpoint 1y-Coordinate of Endpoint 1x-Coordinate of Endpoint 2y-Coordinate of Endpoint 2
1 L 1 P 11 P 12 x 11 y 11 x 12 y 12
2 L 2 P 21 P 22 x 21 y 21 x 22 y 22
3 L 3 P 31 P 32 x 31 y 31 x 32 y 32
4 L 4 P 41 P 42 x 41 y 41 x 42 y 42
N L N P N 1 P N 2 x N 1 y N 1 x N 2 y N 2
Table 3. Algorithm-running results comparison.
Table 3. Algorithm-running results comparison.
CaseAverage Total Path LengthsBest Total Path Lengths
RLSGAPSOOFAWOASGARLSGAPSOOFAWOASGA
5–2049.6856.3654.9553.9653.3449.6855.9554.3853.1452.09
10–4584.3197.6597.19102.3095.4981.7996.1792.5198.7892.32
Table 4. Comparison of average running times of five algorithms on test problems 5–20 and 10–45.
Table 4. Comparison of average running times of five algorithms on test problems 5–20 and 10–45.
AlgorithmTest Problem 5–20Test Problem 10–45
RLSGA16.52327.714
SGA16.00326.660
PSO24.67146.529
OFA30.58750.319
WOA35.64155.413
The data in the table are in seconds.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, X.; Chang, D. An Improved Method for Optimizing CNC Laser Cutting Paths for Ship Hull Components with Thicknesses up to 24 mm. J. Mar. Sci. Eng. 2023, 11, 652. https://doi.org/10.3390/jmse11030652

AMA Style

Liu X, Chang D. An Improved Method for Optimizing CNC Laser Cutting Paths for Ship Hull Components with Thicknesses up to 24 mm. Journal of Marine Science and Engineering. 2023; 11(3):652. https://doi.org/10.3390/jmse11030652

Chicago/Turabian Style

Liu, Xuan, and Daofang Chang. 2023. "An Improved Method for Optimizing CNC Laser Cutting Paths for Ship Hull Components with Thicknesses up to 24 mm" Journal of Marine Science and Engineering 11, no. 3: 652. https://doi.org/10.3390/jmse11030652

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop