An Optimization Method for Optical Fiber Laying Based on Improved SQP Algorithm

Through the improved SQP algorithm, using Gaussian sampling method and exponential decay step size, the local optimal solution problem caused by improper initial point selection of the traditional algorithm is solved, and the global optimal solution and cost reduction of optical fiber laying are achieved.

CN117540515BActive Publication Date: 2024-08-30JIANGSU ZHIHENG INFORMATION TECH SERVICES CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311508966.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2024-08-30
Estimated Expiration
2043-11-14

Smart Images

  • Figure CN117540515B
    Figure CN117540515B
Patent Text Reader

Abstract

The application discloses an optical fiber laying optimization method based on an improved SQP algorithm, and has the characteristics that the method comprises the following steps: acquiring geographical position data set D of nodes to be accessed by optical fibers in a certain area; performing data preprocessing on the data set D to obtain preprocessed data set D'= [(x<subgt;1,y<subgt;1),(x<subgt;2,y<subgt;2),...,(x<subgt;k,y<subgt;k)], wherein k is the number of nodes, and (x,y) is the node coordinates; introducing the preprocessed data D' into an improved SQP algorithm optimization module to obtain an optimal solution (x<supgt;*,y<supgt;*) of the optical fiber laying scheme; and determining the optical fiber laying position according to the node coordinates in the optimal solution. The algorithm utilizes exponential decay to calculate the step length, which can smooth the change process of the step length, avoids the situation of large amplitude fluctuation or shock, and enables a more optimal objective function value to be reached under the step length.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an optical fiber laying optimization method based on an improved SQP algorithm, and belongs to the technical field of numerical optimization. Background Art

[0002] In the 1960s, fiber optic communication technology began to be proposed and studied, but due to technical limitations and cost reasons, it was not commercially applied until the 1980s. With the continuous development of technology, fiber optic communication technology has gradually matured and its application scope has continued to expand. At present, fiber optic communication has been widely used in telecommunications, cable television, the Internet and other fields, becoming an important foundation of modern communication technology. With the continuous development of information technology, people have higher and higher requirements for data transmission speed, capacity, quality and security. As a high-speed, high-bandwidth, low-latency, low-interference and high-reliability transmission method, fiber optic communication has become the mainstream technology in the global communication field.

[0003] In terms of optical fiber laying, with the continuous advancement and improvement of technology, a variety of laying methods and technologies have emerged, such as aerial optical cables, underground optical cables, submarine optical cables, etc., which can be selected according to different application scenarios and needs. At the same time, optical fiber laying also faces some challenges and difficulties, such as cost, construction difficulty, maintenance and other issues. The cost of optical fiber laying is higher than that of traditional copper wire laying, mainly because the price of optical fiber materials and equipment is relatively high. At the same time, optical fiber laying requires complex engineering design and construction plans, and requires a lot of manpower and material resources.

[0004] The performance of the traditional SQP algorithm depends largely on the selection of the initial point. If the initial point is not selected properly, the algorithm may fall into a local optimal solution and fail to find the global optimal solution. By optimizing the fiber laying plan with the improved SQP algorithm, this problem can be avoided, reducing the cost of fiber laying and the waste of resources. Summary of the invention

[0005] The purpose of the present invention is to provide an optical fiber laying optimization method based on an improved SQP algorithm to solve the problem that the performance of the traditional SQP algorithm depends largely on the selection of the initial point. If the initial point is not selected properly, the algorithm may fall into a local optimal solution and fail to find a global optimal solution.

[0006] An optical fiber laying optimization method based on an improved SQP algorithm, the method comprising:

[0007] Obtaining a geographical location dataset D of optical fiber nodes to be accessed in a certain area;

[0008] Perform data preprocessing on data set D to obtain the preprocessed data set

[0009] D′=[(x1,y1),(x2,y2),...,(x k ,y k )], k is the number of nodes, (x, y) is the node coordinates;

[0010] The preprocessed data D' is imported into the improved SQP algorithm optimization module to obtain the optimal solution for the optical fiber laying scheme (x * ,y * );

[0011] The fiber laying position is determined according to the node coordinates in the optimal solution.

[0012] Furthermore, the method for obtaining the geographical location data set of the optical fiber nodes to be accessed in a certain area is:

[0013] Network coverage and access planning data are obtained from local telecommunications companies as geographic location datasets.

[0014] Furthermore, the data preprocessing of the data set D includes:

[0015] On the premise of retaining the key node data, unnecessary interference data is removed, appropriate plane coordinates are established, and the data of the original data set is converted into coordinate representation.

[0016] Furthermore, the method for optimizing the optical fiber laying scheme by improving the SQP algorithm optimization module includes:

[0017] Construct the objective function f(x,y) and constraint h(x,y) based on the preprocessed data set;

[0018] Determine the standard deviation as σ, generate a series of random numbers random(x,y) that conform to the Gaussian distribution, add it to the coordinates of the center point (x0,y0) as an offset, and calculate the coordinates of the random point on the plane (x i ,y i ), and get the initial point set S0 = [(x1,y1),(x2,y2),...,(x N ,y N )];

[0019] At N initial points, calculate the gradient g of the objective function k and Hessian matrix H, and transform the target problem into a quadratic programming subproblem, solving the problem to obtain the search direction d;

[0020] In the search direction, the step size is calculated by exponential decay;

[0021] According to the calculated step size, update the current point formula. If the number of iteration points is greater than 1, filter the iteration points to obtain a new iteration point set S. i, if the number of iteration points is 1, then the termination condition is judged.

[0022] Further, the formula for calculating the step size is:

[0023] a i = α * a i-1 , a i > a min , α ∈ (0, 1)

[0024] where i represents the number of iterations, a i decays until the minimum required step size a min is reached, and the value range of α is (0, 1),

[0025] According to the calculated step size, update the current point. The original coordinates of the current point are S k (x, y), a i is the updated step size, d is the update direction, and the updated coordinates of the current point are S k+1 (x, y). The update formula is:

[0026] S k+1 (x, y) = S k (x, y) + a i * d

[0027] If the number of iteration points in the set S k+1 is greater than 1, then screen the iteration points to obtain a new set of iteration points S i ; if the number of iteration points is 1, then the termination condition is judged.

[0028] Further, the screening of the iteration points to obtain a new set of iteration points S i includes:

[0029] Screen the iteration points in the set. If the number of iteration points N in the set ≤ 4, retain the point with the smallest objective function value as the iteration point for optimizing the optimal solution;

[0030] If N > 4, retain the N1 points with the largest gradient values and the N2 points with the smallest objective function values, and fuse the repeated iteration points among them. Finally, obtain a set of M iteration points, where N1, N2 < N, and M ≤ N1 + N2 < N, for optimizing the optimal solution;

[0031] Sort the iteration points in the set according to the gradient function g(x, y) and the objective function f(x, y). Define min{S, f(x), N} as the N values with the smallest function value f(x) in the set S. Similarly, max{S, f(x), N} is the N values with the largest function value f(x) in the set S. The new set of iteration points obtained is:

[0032]

[0033] Furthermore, the conditions for judging the termination condition are: if not satisfied, continue to iterate and solve; if satisfied, calculate the change of the objective function value of each iteration point compared with the previous time. If it is less than the allowable error tol, the solution is considered to be the optimal solution, stop the algorithm, and output the optimal solution; or the number of iterations reaches the maximum number of iterations MaxIter, stop the algorithm, and output the optimal solution.

[0034] Furthermore, the objective function f(x, y) is expressed as:

[0035]

[0036] Where k represents the number of nodes in the data set D′, i∈(1,k); (x, y) is the coordinate of a point within the domain; x i represents the x coordinate of the i-th node in the data set; y i Represents the y coordinate of the i-th node in the data set;

[0037] The constraints are defined as inequality constraints:

[0038] x min <x<x max

[0039] y min <y<y max

[0040] where x min 、x max ,y min ,y max is the boundary value of the data set D′.

[0041] Furthermore, the expression of the gradient function of the objective function is:

[0042]

[0043] The Hessian matrix is ​​a square matrix of the second-order partial derivatives of a multivariate function, which describes the local curvature of the function and is defined as:

[0044]

[0045] The quadratic programming subproblem is defined as:

[0046]

[0047] Where d is the search direction, [] T For the transposition operation, a quadratic programming subproblem is constructed at the current point. Solving the problem obtains the search direction d. The goal is to find a better optimization point near the current point.

[0048] Furthermore, the calculation formula for calculating the coordinates of the random points on the plane is:

[0049] x i =x0+σ*x random

[0050] y i =y0+σ*y random .

[0051] Where σ is the standard deviation, x random and random is a random number that conforms to the Gaussian distribution, (x0, y0) is the coordinate of the center point, (x i ,y i ) are the coordinates of a random point on the plane.

[0052] Compared with the prior art, the present invention has the following beneficial effects:

[0053] The present invention provides an improved SQP algorithm for solving the optimization problem of laying optical fiber networks;

[0054] The algorithm transforms the nonlinear optimization problem into a series of quadratic programming problems, and generates N initial points through Gaussian sampling. In the process of generating points, it gives priority to points that are closer to the nodes and reduces the probability of generating points that are farther away, so as to achieve the effect that the points generated near the nodes are denser and the points generated in the area far from the nodes are sparser. The algorithm uses Gaussian sampling to obtain a large number of initial points, and by assigning different weights to points in different areas, it avoids the disadvantage of the traditional SQP algorithm falling into the local optimal solution due to improper selection of initial points;

[0055] After solving N approximate solutions, the algorithm combines the gradient value and function value at the approximate solution for screening, retains the approximate solution with the greatest potential to reach the optimal solution, and continuously iterates and screens, finally obtaining an approximate solution as the selected iteration point, performs new iterations and determines the shutdown conditions, thereby continuously approaching the optimal solution. By combining the gradient value and function value at the approximate solution, the potential of each approximate solution to iterate to the optimal solution is quickly determined, and the best iteration points are continuously screened out through the elimination criteria, which speeds up the search for the optimal solution;

[0056] The algorithm uses exponential decay to calculate the step size, which can smooth the change process of the step size and avoid large fluctuations or oscillations, so that a better objective function value can be achieved under this step size. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a flow chart of an optical fiber laying optimization method based on an improved SQP algorithm of the present invention. DETAILED DESCRIPTION

[0058] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.

[0059] In order to achieve the above technical objectives, the technical solution adopted by the present invention is:

[0060] A method for optimizing optical fiber laying based on an improved SQP algorithm, the detailed steps are as follows:

[0061] Step 01: Obtain a geographic location dataset D of optical fiber nodes to be accessed in a certain area, and proceed to step 02.

[0062] Step 02: Preprocess the data set D to obtain the preprocessed data set D′=[(x1,y1),(x2,y2),...,(x k ,y k )], k is the number of nodes, proceed to step 03.

[0063] Step 03: Import the preprocessed data D' into the improved SQP algorithm optimization module to obtain the optimal solution for the fiber optic laying plan (x * ,y * ), determine the fiber laying position according to the node coordinates of the optimal solution, which is the optimal solution with the shortest total fiber laying length and the lowest cost, and the process ends.

[0064] The step 01 obtains the geographic location data set of the optical fiber nodes to be accessed in a certain area, including: obtaining network coverage and access planning data from the local telecommunications company as the geographic location data set, specifically: consulting the local telecommunications company for more comprehensive network coverage and access planning data, and selecting a suitable acquisition method according to the specific situation, such as API interface, data download, etc.

[0065] After the data is acquired in step 02, the data is preprocessed, specifically: on the premise of retaining the key node data, unnecessary interference data is removed, appropriate plane coordinates are established, and the data of the original data set is converted into coordinate representation.

[0066] The method for optimizing the optical fiber laying scheme by improving the SQP algorithm optimization module in step 03 is as follows:

[0067] (1) Construct the objective function f(x, y) and constraint h(x, y) based on the preprocessed data set.

[0068] Clarify the optimization goal, that is, the total length of laid optical fiber; determine the decision variable, that is, the coordinates of the machine room location, which needs to be defined and restricted, and its value range should not exceed the range of the data set D′; construct the objective function, which usually consists of the optimization goal and the decision variable. The objective function is defined as:

[0069]

[0070] The constraints are defined as inequality constraints:

[0071] x min <x<x max

[0072] y min <y<y max

[0073] where x min 、x max ,y min ,y max is the boundary value of the data set D′.

[0074] Gaussian sampling method is used to construct N initial points, and relevant parameters are set: maximum number of iterations MaxIter, initial step size a, and allowable error tol.

[0075] (2) Divide the value range of the decision variable into n*m grid points. If there is a point that overlaps with the data set D′ in the grid point or on the grid point edge, the point is regarded as the Gaussian center point. If there are multiple overlapping points, the center of the overlapping point is taken. If there is no overlapping point, the center of the grid point is taken as the Gaussian center point. Determine the standard deviation as σ, generate a series of random numbers random(x,y) that conform to the Gaussian distribution, add it as an offset to the coordinates of the center point (x0,y0), and calculate the coordinates of the random point on the plane (x i ,y i ), calculated as:

[0076] x i =x0+σ*x random

[0077] y i =y0+σ*y random

[0078] The resulting series of random points is the initial point set S0 = [(x1, y1), (x2, y2), ..., (x N ,y N )].

[0079] (3) Solve the quadratic programming subproblem.

[0080] At N initial points, calculate the gradient g of the objective functionk and the Hessian matrix H, and transform the target problem into a quadratic programming subproblem, solving the problem to obtain the search direction d.

[0081] The gradient function of the objective function is defined as:

[0082]

[0083] The Hessian matrix is ​​a square matrix of the second-order partial derivatives of a multivariate function, which describes the local curvature of the function and is defined as:

[0084]

[0085] The quadratic programming subproblem is defined as:

[0086]

[0087] (4) Calculate step length a i .

[0088] In the search direction, the step size is calculated by exponential decay, and the calculation formula is:

[0089] a i =α*a i-1 ,a i >a min ,α∈(0,1)

[0090] Where i represents the number of iterations, a i Decay until the minimum required step length a is reached min The value range of α is (0,1). According to the calculated step size, update the current point. The update formula is:

[0091] S k+1 (x,y)=S k (x,y)+a i *(S0(x,y)-S k (x,y)

[0092] If the set S k+1 If the number of iteration points is greater than 1, proceed to step (5); if the number of iteration points is 1, proceed to step (6).

[0093] (5) Filter the iteration points to obtain a new set of iteration points S i .

[0094] Filter the iterative points in the set. If the number of iterative points N in the set is ≤ 4, retain the point with the smallest objective function value as the iterative point and proceed to step (3). If N > 4, retain the N1 points with the largest gradient values and the N2 points with the smallest objective function values. Merge the duplicate iterative points among them. Finally, obtain a set of M iterative points, where N1, N2 < N, M ≤ N1 + N2 < N, and proceed to step (3). Sort the iterative points in the set according to the gradient function g(x, y) and the objective function f(x, y). Define min{S, f(x), N} as the N values with the smallest function value f(x) in the set S. Similarly, max{S, f(x), N} is the N values with the largest function value f(x) in the set S. The new set of iterative points is as follows:

[0095]

[0096] (6) Judgment of termination condition.

[0097] Judge the termination condition: If not satisfied, proceed to step (3) and continue the iterative solution; if satisfied, calculate the change amount of the objective function value of each iterative point compared with the previous time. If it is less than the tolerance tol, then consider this solution as the optimal solution, stop the algorithm, and output the optimal solution. Or when the number of iterations reaches the maximum number of iterations MaxIter, stop the algorithm and output the optimal solution. The process ends.

[0098] The present invention is used to solve the optimization problem of fiber optic network laying. This algorithm transforms the non-linear optimization problem into a series of quadratic programming problems. By using the Gaussian sampling method to generate N initial points, during the process of generating points, priority is given to the points closer to the nodes, and the generation probability of the points farther away is reduced, so as to achieve the effect that the points generated near the nodes are denser and the points generated in the areas far from the nodes are sparser. After obtaining N approximate solutions, the gradient values and function values at the approximate solutions are jointly used for screening, retaining the approximate solutions that are most likely to reach the optimal solution among them, continuously iteratively screening, and finally obtaining an approximate solution as the selected iterative point, performing a new iteration and judging the stopping condition, so as to continuously approach the optimal solution.

[0099] This algorithm uses the Gaussian sampling method to obtain a large number of initial points. By assigning different weights to the points in different regions, it avoids the drawback of the traditional SQP algorithm falling into a local optimal solution due to improper selection of the initial point. Using exponential decay to calculate the step size can smooth the change process of the step size, avoiding large fluctuations or oscillations, so that a better objective function value can be achieved under this step size. By jointly using the gradient values and function values at the approximate solutions, it can quickly judge the potential of each approximate solution to iterate to the optimal solution. Through the elimination criterion, continuously screen out the most excellent iterative points, accelerating the speed of finding the optimal solution.

[0100] By using the improved SQP algorithm of the present invention to optimize the optical fiber laying plan, the optical fiber laying cost can be reduced while ensuring network performance; by selecting a suitable laying route, the length, quantity and maintenance cost of the optical cable can be reduced; at the same time, the engineering efficiency and construction quality can be improved, and the construction time and labor costs can be reduced.

[0101] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for optimizing optical fiber laying based on an improved SQP algorithm, characterized in that: The method comprises: Obtaining a geographical location dataset D of optical fiber nodes to be accessed in a certain area; Perform data preprocessing on data set D to obtain the preprocessed data set , k is the number of nodes, (x, y) is the node coordinates; Import the preprocessed data D' into the improved SQP algorithm optimization module to obtain the optimal solution for the optical fiber laying plan. ; Determine the optical fiber laying position according to the node coordinates in the optimal solution; The method for improving the SQP algorithm optimization module to optimize the optical fiber laying plan includes: Construct the objective function based on the preprocessed dataset and constraints ; Determine the standard deviation as σ and generate a series of random numbers that conform to the Gaussian distribution , add it as an offset to the center point ( , ) coordinates, calculate the coordinates of random points on the plane , get the initial point set ; At N initial points, calculate the gradient of the objective function and Hessian matrix H, and transform the target problem into a quadratic programming subproblem, solving the problem to obtain the search direction d; In the search direction, the step size is calculated by exponential decay; According to the calculated step size, update the current point formula. If the number of iteration points is greater than 1, filter the iteration points to get a new set of iteration points. , if the number of iteration points is 1, the termination condition is judged.

2. The optical fiber laying optimization method based on the improved SQP algorithm according to claim 1, characterized in that: The method for obtaining the geographical location data set of the optical fiber nodes to be accessed in a certain area is: Network coverage and access planning data are obtained from local telecommunications companies as geographic location datasets.

3. The optical fiber laying optimization method based on the improved SQP algorithm according to claim 1, characterized in that: The data preprocessing of the data set D includes: On the premise of retaining the key node data, unnecessary interference data is removed, appropriate plane coordinates are established, and the data of the original data set is converted into coordinate representation.

4. The optical fiber laying optimization method based on the improved SQP algorithm according to claim 1, characterized in that: The formula for calculating the step length is: 0,1) Where i represents the number of iterations, Decay until the minimum required step length is reached , the value range of α is (0,1); Update the current point according to the calculated step size. The original coordinate of the current point is S k (x,y), is the update step size, d is the update direction, and the updated coordinates of the current point are , the update formula is: If the collection If the number of iteration points is greater than 1, filter the iteration points to get a new set of iteration points. ; If the number of iteration points is 1, the termination condition is judged.

5. The optical fiber laying optimization method based on the improved SQP algorithm according to claim 1, characterized in that: The filtering iteration points obtain a new set of iteration points. include: Filter the iteration points in the collection. If the number of iteration points in the collection is ≤4, retain the point with the smallest objective function value as the iteration point to optimize the optimal solution; like >4, retain the largest gradient value points and the minimum value of the objective function points, merging the repeated iteration points, and finally obtaining A set of iteration points, where , < , ≤ < , optimize the optimal solution; According to the gradient function, the iterative points in the set And the objective function To sort, define For collection Function value Smallest Value, similarly, For collection Function value The largest values, and the new set of iteration points is: 。 6. The optical fiber laying optimization method based on the improved SQP algorithm according to claim 1, characterized in that: The termination condition is as follows: if it is not satisfied, continue iterating; if it is satisfied, calculate the change of the objective function value at each iteration point compared with the previous one, and if it is less than the allowable error, , then the solution is considered to be the optimal solution, the algorithm is stopped, the optimal solution is output, or the number of iterations reaches the maximum number of iterations , stop the algorithm and output the optimal solution.

7. The optical fiber laying optimization method based on the improved SQP algorithm according to claim 1, characterized in that: The objective function The expression is: Among them, k represents the data set The number of nodes, i∈(1,k); (x, y) is the coordinate of the point within the definition domain; Represents the x-coordinate of the i-th node in the data set; Represents the y coordinate of the i-th node in the data set; The constraints are defined as inequality constraints: in , , , For the dataset The boundary value of .

8. The optical fiber laying optimization method based on the improved SQP algorithm according to claim 7, characterized in that: The expression of the gradient function of the objective function is: The Hessian matrix is ​​a square matrix of the second-order partial derivatives of a multivariate function, which describes the local curvature of the function and is defined as: The quadratic programming subproblem is defined as: , where d is the search direction, [] T For the transposition operation, a quadratic programming subproblem is constructed at the current point. Solving the problem obtains the search direction d. The goal is to find a better optimization point near the current point.

9. The optical fiber laying optimization method based on the improved SQP algorithm according to claim 1, characterized in that: The calculation formula for calculating the coordinates of random points on the plane is: Where σ is the standard deviation, x random and random is a random number that conforms to the Gaussian distribution, ( , ) are the center point coordinates, are the coordinates of a random point on the plane.

Citation Information

Patent Citations

  • Satellite layout optimization design method based on multi-modal distribution estimation algorithm

    CN111783278A

  • Method and system for optimizing power of floating wind power plant based on assistance of proxy model

    CN115809594A

  • Dual-objective optimization method and system for diversified layout of spacecraft instrument cabin components

    CN116595626A

  • Processing blind beamforming for multi-user multiple-input multiple-output (MU-MIMO) systems

    US11252045B1