Visual optimization algorithm learning system for solving low-order function problem

By providing a visual optimization algorithm learning system, including module selection, parameter setting area and simulation area, it solves the problem of complexity of learning low-order function optimization algorithms, improves the learning efficiency and quality of beginners, and through customized modules and faults Display sub-areas enhance the learning experience.

CN118735748APending Publication Date: 2024-10-01GUANGZHOU UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411006208.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology lacks an optimization algorithm learning system for low-order functions, resulting in poor learning efficiency and quality for beginners, and traditional learning methods lack interactivity and intuitiveness.

Method used

Provides a visual optimization algorithm learning system, including module related parameter introduction and usage instructions area, module selection and parameter setting area and simulation area, allowing users to set problem functions and variable ranges, select optimization algorithms and set parameters and iteration times, and conduct experiments It also displays experimental results and includes custom modules and fault display sub-areas to improve the learning experience and scalability.

Benefits of technology

It simplifies the learning process of low-order function optimization algorithms, improves the learning efficiency and quality of beginners, and enhances the user experience and learning effect through custom modules and fault display sub-areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735748A_ABST
    Figure CN118735748A_ABST
Patent Text Reader

Abstract

The invention discloses a visual optimization algorithm learning system for solving a low-order function problem. The visual optimization algorithm learning system comprises a module related parameter introduction and instruction region, a module selection and parameter setting region and a simulation region, the simulation area is used for setting a problem function and a variable range; the module selection and parameter setting area is used for selecting an optimization algorithm and setting parameters and iteration times; the module related parameter introduction and use instruction area is used for displaying optimization algorithm instructions and parameter instructions; and the simulation area is also used for performing an experiment according to the problem function, the variable range, the optimization algorithm, the parameters and the number of iterations, and displaying an experiment result. According to the method, the problem function and the variable range are set in each region, the optimization algorithm is selected, the parameters and the number of iterations are set, the optimization algorithm description and the parameter description are displayed, the experiment is carried out, and the experiment result is displayed, so that the learning process of the optimization algorithm oriented to the low-order function is simplified, and the learning efficiency and quality of a beginner are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of learning systems, and in particular to a visual optimization algorithm learning system for solving low-order function problems. Background Art

[0002] In the context of the rapid development of data science and artificial intelligence, optimization algorithm learning systems in modern education are becoming increasingly important, providing a more efficient learning entry platform for engineers or scientific researchers who learn and apply optimization algorithms. At the same time, with the in-depth research and development of the intelligent manufacturing theory system, more industries or scientific research can also use excellent optimization algorithm learning systems to improve the efficiency and quality of optimization algorithm learning.

[0003] Optimization algorithms are a type of algorithm that finds the optimal solution to a problem under given constraints. They are widely used in engineering, medicine, economics and other fields. The purpose of an optimization algorithm is to convert indicators such as problems and conditions into one or a group of function problems for solution. Traditional optimization algorithm programming learning relies on static code examples and text descriptions to carry out optimization algorithm learning. These methods lack sufficient interactivity and intuitiveness, making it difficult for beginners to form a clear understanding of function operations and data flow. In addition, although there are some learning systems for optimization algorithms, they often require high computing resources and complex installation steps, making them difficult to be widely used in educational environments with limited resources. At the same time, most application problems suitable for optimization algorithms can be regarded as composed of different low-order functions. Therefore, the optimization algorithm learning system for low-order function problems has potential research and development value.

[0004] However, there is no optimization algorithm learning system for low-order functions in the prior art, so the learning process of the optimization algorithm for low-order functions is relatively complicated, and the learning efficiency and quality of beginners are relatively poor. Summary of the invention

[0005] The present application provides a visual optimization algorithm learning system for solving low-order function problems, which is used to solve the problem that there is no optimization algorithm learning system for low-order functions in the prior art, so that the learning process of the optimization algorithm for low-order functions is relatively complicated, and the learning efficiency and quality of beginners are poor.

[0006] On the one hand, the present application provides a visual optimization algorithm learning system for solving low-order function problems, including: a module-related parameter introduction and usage instructions area, a module selection and parameter setting area, and a simulation area.

[0007] The simulation area is used to set the problem function and variable range.

[0008] The module selection and parameter setting area is used to select an optimization algorithm and to set the parameters and number of iterations corresponding to the optimization algorithm.

[0009] The module-related parameter introduction and usage instructions area is used to display the optimization algorithm description and corresponding parameter description of the selected optimization algorithm.

[0010] The simulation area is also used to conduct experiments based on the problem function, the variable range, the optimization algorithm, the parameters and the number of iterations, and display the experimental results.

[0011] In a possible implementation, the module selection and parameter setting area software is connected to an optimization algorithm database.

[0012] The optimization algorithm database includes a plurality of optimization algorithm sub-databases, each of which stores an optimization algorithm and corresponding parameters.

[0013] In a possible implementation, the module-related parameter introduction and usage instructions area software is connected to an optimization algorithm description database.

[0014] The optimization algorithm description database includes a plurality of optimization algorithm description sub-databases, each of which stores an optimization algorithm description and a corresponding parameter description.

[0015] In a possible implementation, the simulation area includes: a function setting sub-area, an experiment control sub-area, and an experiment display sub-area.

[0016] The function setting subarea is used to set the problem function and variable range.

[0017] The experiment control sub-area is used to conduct experiments according to the problem function, the variable range, the optimization algorithm, the parameters and the number of iterations.

[0018] The experiment display sub-area is used to display the experiment results.

[0019] In a possible implementation, the conducting of the experiment includes: starting the experiment, pausing the experiment, resetting the experiment, and saving the experimental data.

[0020] In a possible implementation, the module selection and parameter setting area includes: an optimization algorithm sub-area, a parameter sub-area, and an iteration number sub-area.

[0021] The optimization algorithm sub-area is used to select an optimization algorithm.

[0022] The parameter sub-area is used to set the parameters corresponding to the optimization algorithm.

[0023] The iteration number sub-area is used to set the iteration number.

[0024] In a possible implementation, the module-related parameter introduction and usage instructions area includes: an optimization algorithm description sub-area and a parameter description sub-area.

[0025] The optimization algorithm description sub-area is used to display the optimization algorithm description of the selected optimization algorithm.

[0026] The parameter description sub-area is used to display the parameter description corresponding to the selected optimization algorithm.

[0027] In a possible implementation, the module selection and parameter setting area further includes: a clear sub-area and a parameter reset sub-area.

[0028] The clear sub-area is used to clear the set parameters.

[0029] The parameter reset sub-area is used to reset the parameters to default values.

[0030] In a possible implementation, the module selection and parameter setting area also includes: a custom module sub-area.

[0031] The custom module sub-area is used to select a custom optimization algorithm.

[0032] The module selection and parameter setting area software is connected to a custom optimization algorithm database.

[0033] The custom optimization algorithm database includes a plurality of custom optimization algorithm sub-databases, and each custom optimization algorithm sub-database stores a custom optimization algorithm and corresponding parameters.

[0034] In a possible implementation manner, the simulation area further includes: a fault display sub-area.

[0035] The fault display sub-area is used to monitor and display faults during the experiment.

[0036] The faults include: parameter errors, function errors, unknown errors and custom module errors.

[0037] A visual optimization algorithm learning system for solving low-order function problems in this application has the following advantages: By setting problem functions and variable ranges, selecting optimization algorithms, setting parameters and number of iterations, displaying optimization algorithm descriptions and parameter descriptions, conducting experiments and displaying experimental results in each area, the learning process of optimization algorithms for low-order functions is simplified, helping beginners to better understand optimization algorithms and improving their learning efficiency and quality.

[0038] The proposed custom module sub-area and custom optimization algorithm database improve the scalability and flexibility of the optimization algorithm and enhance the user experience.

[0039] The proposed fault display sub-area monitors and displays faults during the experiment, helping beginners to find errors faster through fault display, so that beginners can learn and understand the optimization algorithm in the process of correcting errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A module schematic diagram of a visual optimization algorithm learning system for solving low-order function problems provided in an embodiment of the present application; Figure 2 An initial schematic diagram of an operation interface of a visual optimization algorithm learning system for solving low-order function problems provided in an embodiment of the present application; Figure 3 A schematic diagram of the operation flow of a visual optimization algorithm learning system for solving low-order function problems provided in an embodiment of the present application; Figure 4 A schematic diagram of the operation interface of a visual optimization algorithm learning system for solving low-order function problems provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] like Figures 1 to 4 As shown, an embodiment of the present application provides a visual optimization algorithm learning system for solving low-order function problems, including: a module-related parameter introduction and usage instructions area, a module selection and parameter setting area, and a simulation area.

[0044] The simulation area is used to set the problem function and variable range.

[0045] The module selection and parameter setting area is used to select an optimization algorithm and to set the parameters and number of iterations corresponding to the optimization algorithm.

[0046] The module-related parameter introduction and usage instructions area is used to display the optimization algorithm description and corresponding parameter description of the selected optimization algorithm.

[0047] The simulation area is also used to conduct experiments based on the problem function, the variable range, the optimization algorithm, the parameters and the number of iterations, and display the experimental results.

[0048] Specifically, in this embodiment, the module-related parameter introduction and usage instructions area, the module selection and parameter setting area, and the simulation area are software modules set on the computer.

[0049] Exemplarily, the module selection and parameter setting area software is connected to an optimization algorithm database.

[0050] The optimization algorithm database includes a plurality of optimization algorithm sub-databases, each of which stores an optimization algorithm and corresponding parameters.

[0051] Specifically, in this embodiment, the optimization algorithm database includes optimization algorithm sub-databases of six algorithms, and the six algorithms are: genetic algorithm (GA), differential evolution algorithm (DE), ant colony algorithm (ACO), particle swarm algorithm (PSO), simulated annealing algorithm (SA), immune algorithm (IA). In other possible embodiments, the optimization algorithm database may also include optimization algorithm sub-databases of other optimization algorithms.

[0052] Exemplarily, the module-related parameter introduction and usage instructions area software is connected to an optimization algorithm description database.

[0053] The optimization algorithm description database includes a plurality of optimization algorithm description sub-databases, each of which stores an optimization algorithm description and a corresponding parameter description.

[0054] Specifically, in this embodiment, the optimization algorithm database includes optimization algorithm description sub-databases of six algorithms: genetic algorithm (GA), differential evolution algorithm (DE), ant colony algorithm (ACO), particle swarm algorithm (PSO), simulated annealing algorithm (SA), and immune algorithm (IA). In other possible embodiments, the optimization algorithm description database may also include optimization algorithm description sub-databases of other optimization algorithms.

[0055] Exemplarily, the simulation area includes: a function setting sub-area, an experiment control sub-area and an experiment display sub-area.

[0056] The function setting subarea is used to set the problem function and variable range.

[0057] The experiment control sub-area is used to conduct experiments according to the problem function, the variable range, the optimization algorithm, the parameters and the number of iterations.

[0058] The experiment display sub-area is used to display the experiment results.

[0059] Exemplarily, the conducting of the experiment includes: starting the experiment, pausing the experiment, resetting the experiment and saving the experimental data.

[0060] like Figure 2 As shown, specifically, in this embodiment, the function setting sub-area sets the problem function through the "Problem Function" box, and sets the variable range of the problem function through the "Variable Range" box. Starting the experiment, pausing the experiment, resetting the experiment and saving the experimental data are respectively achieved through the "Start", "Pause", "Experiment Reset", and "Save Parameters and Experimental Results As" buttons. The experiment display sub-area displays the experimental results through the "Experimental Results" box. In this embodiment, the experimental results are fitness value curves that change in real time with algorithm iterations. "Experiment Reset" means that the data of the experimental results will be cleared when the optimization algorithm and optimization problem need to be reset after the experiment is completed. If the "Experiment Reset" operation is not performed, the experimental results of multiple experiments will be displayed on the same screen, which can achieve a simple comparison of different optimization algorithms. After the experiment is completed, the experimental data can be saved through "Save Parameters and Experimental Results As".

[0061] Exemplarily, the module selection and parameter setting area includes: an optimization algorithm sub-area, a parameter sub-area and an iteration number sub-area.

[0062] The optimization algorithm sub-area is used to select an optimization algorithm.

[0063] The parameter sub-area is used to set the parameters corresponding to the optimization algorithm.

[0064] The iteration number sub-area is used to set the iteration number.

[0065] like Figure 2 As shown, specifically, in this embodiment, the optimization algorithm sub-area uses six buttons "GA", "DE", "ACO", "PSO", "SA", and "IA" to represent the genetic algorithm (GA), differential evolution algorithm (DE), ant colony algorithm (ACO), particle swarm algorithm (PSO), simulated annealing algorithm (SA), and immune algorithm (IA). Click the button to select the corresponding optimization algorithm. The parameter sub-area sets the parameters corresponding to the optimization algorithm through the "Parameter Setting 1" box and the "Parameter Setting 2" box. The "Parameter Setting 1" box and the "Parameter Setting 2" box include buttons for each parameter and corresponding setting boxes. When no parameter setting is performed, the parameters in the "Parameter Setting 1" box and the "Parameter Setting 2" box are the default values ​​of the preset parameters of the corresponding optimization algorithm. The number of iterations in the "Algebra" box is used to set the number of iterations in the iteration number sub-area. In this embodiment, the default number of iterations is 100.

[0066] In this embodiment, the optimization algorithm sub-area, the parameter sub-area and the iteration number sub-area constitute a visual flow chart.

[0067] Exemplarily, the module-related parameter introduction and usage instructions area includes: an optimization algorithm description sub-area and a parameter description sub-area.

[0068] The optimization algorithm description sub-area is used to display the optimization algorithm description of the selected optimization algorithm.

[0069] The parameter description sub-area is used to display the parameter description corresponding to the selected optimization algorithm.

[0070] like Figure 2 As shown, specifically, in this embodiment, the optimization algorithm description sub-area displays the optimization algorithm description of the selected optimization algorithm through the "——(——Algorithm)" box. The parameter description sub-area displays the parameter description corresponding to the selected optimization algorithm through the "Parameter Setting Description" box.

[0071] In a possible embodiment, the optimization algorithm description or parameter description corresponding to a button can be obtained by briefly pausing the mouse on a button in the module selection and parameter setting area.

[0072] Exemplarily, the module selection and parameter setting area also includes: a clear sub-area and a parameter reset sub-area.

[0073] The clear sub-area is used to clear the set parameters.

[0074] The parameter reset sub-area is used to reset the parameters to default values.

[0075] like Figure 2 As shown, specifically, in this embodiment, the clear sub-area clears the set parameters through the "clear" button. The parameter reset sub-area resets the parameters to the default values ​​through the "parameter reset" button.

[0076] Exemplarily, the module selection and parameter setting area also includes: a custom module sub-area.

[0077] The custom module sub-area is used to select a custom optimization algorithm.

[0078] The module selection and parameter setting area software is connected to a custom optimization algorithm database.

[0079] The custom optimization algorithm database includes a plurality of custom optimization algorithm sub-databases, and each custom optimization algorithm sub-database stores a custom optimization algorithm and corresponding parameters.

[0080] like Figure 2As shown, specifically, in this embodiment, the custom module sub-area provides a number of "module" buttons for the user to select a custom optimization algorithm. If a custom optimization algorithm database is not set, the buttons in the custom module sub-area will not respond after being clicked.

[0081] Exemplarily, the simulation area further includes: a fault display sub-area.

[0082] The fault display sub-area is used to monitor and display faults during the experiment.

[0083] The faults include: parameter errors, function errors, unknown errors and custom module errors.

[0084] like Figure 2 As shown, specifically, in this embodiment, the fault display sub-area displays the faults in the experimental process through the "Abnormal Status Bar" box, and the faults include: parameter errors, function errors, unknown errors, and custom module errors. Parameter errors and function errors are both man-made faults. After resetting the parameters and the problem functions, you can continue to run the system by clicking the "Alarm Clear" button in the fault display sub-area; unknown errors and custom module errors cannot make the system run normally through the "Alarm Clear" button, and the system needs to be restarted. Unknown errors may be caused by repeated startup of multiple systems, and software conflicts occurred during the operation process. Custom module errors are caused by conflicts between the module designed by the user and the optimization algorithm, and the compatibility of the module and the algorithm needs to be checked.

[0085] like Figure 3 As shown in the figure, the operation process of a visual optimization algorithm learning system for solving low-order function problems is as follows: system startup; set the problem function and variable range in the simulation area; select the optimization algorithm in the module selection and parameter setting area, and set the parameters and number of iterations corresponding to the optimization algorithm; view the optimization algorithm description and corresponding parameter description of the selected optimization algorithm in the module-related parameter introduction and usage instructions area; click the "Start" button in the simulation area to start the experiment; observe whether the experiment is successful through the "Experimental Results" box. If successful, click the "Save Parameters and Experimental Results As" button to save the experimental data. If unsuccessful, check the fault information displayed in the "Abnormal Status Bar" box and perform corresponding processing according to the fault information.

[0086] like Figure 4 As shown, Figure 4 The operating status of the operation interface for selecting the genetic algorithm (GA) to solve the minimum problem function "y=x1+5×x2-x3²" is demonstrated.

[0087] The embodiments of the present application simplify the learning process of optimization algorithms for low-order functions by setting problem functions and variable ranges in each area, selecting optimization algorithms, setting parameters and number of iterations, displaying optimization algorithm descriptions and parameter descriptions, conducting experiments and displaying experimental results, thereby helping beginners to better understand optimization algorithms and improving the learning efficiency and quality of beginners.

[0088] The proposed custom module sub-area and custom optimization algorithm database improve the scalability and flexibility of the optimization algorithm and enhance the user experience.

[0089] The proposed fault display sub-area monitors and displays faults during the experiment, helping beginners to find errors faster through fault display, so that beginners can learn and understand the optimization algorithm in the process of correcting errors.

[0090] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0091] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A visual optimization algorithm learning system for solving low-order function problems, characterized in that: include: Module related parameter introduction and usage instructions area, module selection and parameter setting area and simulation area; The simulation area is used to set the problem function and variable range; The module selection and parameter setting area is used to select an optimization algorithm and to set the parameters and number of iterations corresponding to the optimization algorithm; The module-related parameter introduction and usage instructions area is used to display the optimization algorithm description and corresponding parameter description of the selected optimization algorithm; The simulation area is also used to conduct experiments based on the problem function, the variable range, the optimization algorithm, the parameters and the number of iterations, and display the experimental results.

2. A visual optimization algorithm learning system for solving low-order function problems according to claim 1, characterized in that: The module selection and parameter setting area software is connected to an optimization algorithm database; The optimization algorithm database includes a plurality of optimization algorithm sub-databases, each of which stores an optimization algorithm and corresponding parameters.

3. A visual optimization algorithm learning system for solving low-order function problems according to claim 1, characterized in that: The module-related parameter introduction and usage instructions area software is connected to the optimization algorithm description database; The optimization algorithm description database includes a plurality of optimization algorithm description sub-databases, each of which stores an optimization algorithm description and a corresponding parameter description.

4. A visual optimization algorithm learning system for solving low-order function problems according to claim 1, characterized in that: The simulation area includes: a function setting sub-area, an experiment control sub-area and an experiment display sub-area; The function setting subarea is used to set the problem function and variable range; The experimental control sub-area is used to perform experiments according to the problem function, the variable range, the optimization algorithm, the parameters and the number of iterations; The experiment display sub-area is used to display the experiment results.

5. A visual optimization algorithm learning system for solving low-order function problems according to claim 4, characterized in that: The experiment includes: starting the experiment, pausing the experiment, resetting the experiment and saving the experimental data.

6. A visual optimization algorithm learning system for solving low-order function problems according to claim 1, characterized in that: The module selection and parameter setting area includes: an optimization algorithm sub-area, a parameter sub-area and an iteration number sub-area; The optimization algorithm sub-area is used to select an optimization algorithm; The parameter sub-area is used to set the parameters corresponding to the optimization algorithm; The iteration number sub-area is used to set the iteration number.

7. A visual optimization algorithm learning system for solving low-order function problems according to claim 1, characterized in that: The module-related parameter introduction and usage instructions area includes: an optimization algorithm description sub-area and a parameter description sub-area; The optimization algorithm description sub-area is used to display the optimization algorithm description of the selected optimization algorithm; The parameter description sub-area is used to display the parameter description corresponding to the selected optimization algorithm.

8. A visual optimization algorithm learning system for solving low-order function problems according to claim 1, characterized in that: The module selection and parameter setting area also includes: a clear sub-area and a parameter reset sub-area; The clear sub-area is used to clear the set parameters; The parameter reset sub-area is used to reset the parameters to default values.

9. A visual optimization algorithm learning system for solving low-order function problems according to claim 1, characterized in that: The module selection and parameter setting area also includes: a custom module sub-area; The custom module sub-area is used to select a custom optimization algorithm; The module selection and parameter setting area software is connected to a custom optimization algorithm database; The custom optimization algorithm database includes a plurality of custom optimization algorithm sub-databases, and each custom optimization algorithm sub-database stores a custom optimization algorithm and corresponding parameters.

10. A visual optimization algorithm learning system for solving low-order function problems according to claim 1, characterized in that: The simulation area also includes: a fault display sub-area; The fault display sub-area is used to monitor and display faults during the experiment; The faults include: parameter errors, function errors, unknown errors and custom module errors.