Application of Wang-Yu Algorithm in the Geometric Constraint Problem

Similar documents
Study on GA-based matching method of railway vehicle wheels

Research on time optimal trajectory planning of 7-DOF manipulator based on genetic algorithm

A Kind of Wireless Sensor Network Coverage Optimization Algorithm Based on Genetic PSO

Immune Optimization Design of Diesel Engine Valve Spring Based on the Artificial Fish Swarm

An Application of Genetic Algorithm for Auto-body Panel Die-design Case Library Based on Grid

AN OPTIMIZATION GENETIC ALGORITHM FOR IMAGE DATABASES IN AGRICULTURE

Aero-engine PID parameters Optimization based on Adaptive Genetic Algorithm. Yinling Wang, Huacong Li

Open Access Research on the Prediction Model of Material Cost Based on Data Mining

Constrained Optimization with Calculus. Background Three Big Problems Setup and Vocabulary

Test Data Generation with A Hybrid Genetic Tabu Search Algorithm for Decision Coverage Criteria

Optimization of Cutting Parameters for Milling Operation using Genetic Algorithm technique through MATLAB

Genetic Algorithm for Dynamic Capacitated Minimum Spanning Tree

Time Series Clustering Ensemble Algorithm Based on Locality Preserving Projection

Test Analysis of Serial Communication Extension in Mobile Nodes of Participatory Sensing System Xinqiang Tang 1, Huichun Peng 2

Using The Heuristic Genetic Algorithm in Multi-runway Aircraft Landing Scheduling

Genetic Algorithm for Dynamic Capacitated Minimum Spanning Tree

CATIA V5 Robust Design Method to Prevent Feature Failure Lihua Sun 1, Baoqing Zhang 2, Bo Li 3, Wei Yin 3

Robot Path Planning Method Based on Improved Genetic Algorithm

Research on An Electronic Map Retrieval Algorithm Based on Big Data

Prediction of traffic flow based on the EMD and wavelet neural network Teng Feng 1,a,Xiaohong Wang 1,b,Yunlai He 1,c

IMPROVED ARTIFICIAL FISH SWARM ALGORITHM AND ITS APPLICATION IN OPTIMAL DESIGN OF TRUSS STRUCTURE

Parameter optimization model in electrical discharge machining process *

PARAMETERIZED COMPUTER AIDED DESIGN OF STUBBLE CLEANER

An Approach to Polygonal Approximation of Digital CurvesBasedonDiscreteParticleSwarmAlgorithm

The principle of a fulltext searching instrument and its application research Wen Ju Gao 1, a, Yue Ou Ren 2, b and Qiu Yan Li 3,c

Hole repair algorithm in hybrid sensor networks

THE MULTI-TARGET FIRE DISTRIBUTION STRATEGY RESEARCH OF THE ANTI-AIR FIRE BASED ON THE GENETIC ALGORITHM. Received January 2011; revised May 2011

Research and Design of Key Technology of Vertical Search Engine for Educational Resources

A *69>H>N6 #DJGC6A DG C<>C::G>C<,8>:C8:H /DA 'D 2:6G, ()-"&"3 -"(' ( +-" " " % '.+ % ' -0(+$,

Design of an Intelligent PH Sensor for Aquaculture Industry

Personalized Search for TV Programs Based on Software Man

TCM Health-keeping Proverb English Translation Management Platform based on SQL Server Database

Application of Geometry Rectification to Deformed Characters Recognition Liqun Wang1, a * and Honghui Fan2

1. Introduction. 2. Motivation and Problem Definition. Volume 8 Issue 2, February Susmita Mohapatra

Inverse kinematics Analysis and Solution of Six Degree of Freedom Industrial Robot Based on Projective Method of Descriptive Geometry

Argha Roy* Dept. of CSE Netaji Subhash Engg. College West Bengal, India.

SIMULATION APPROACH OF CUTTING TOOL MOVEMENT USING ARTIFICIAL INTELLIGENCE METHOD

ET-based Test Data Generation for Multiple-path Testing

Power Load Forecasting Based on ABC-SA Neural Network Model

Design of student information system based on association algorithm and data mining technology. CaiYan, ChenHua

Research Article Path Planning Using a Hybrid Evolutionary Algorithm Based on Tree Structure Encoding

Traffic Signal Control Based On Fuzzy Artificial Neural Networks With Particle Swarm Optimization

Computer Aided Drafting, Design and Manufacturing Volume 26, Number 4, December 2016, Page 30

CHAPTER 6 HYBRID AI BASED IMAGE CLASSIFICATION TECHNIQUES

Automatic Generation of Test Case based on GATS Algorithm *

A Hybrid Fireworks Optimization Method with Differential Evolution Operators

THE STUDY FOR MATCHING ALGORITHMS AND MATCHING TACTICS ABOUT AREA VECTOR DATA BASED ON SPATIAL DIRECTIONAL SIMILARITY

Research on the Application of Digital Images Based on the Computer Graphics. Jing Li 1, Bin Hu 2

A new improved ant colony algorithm with levy mutation 1

SOME stereo image-matching methods require a user-selected

Improvement of SURF Feature Image Registration Algorithm Based on Cluster Analysis

6th International Conference on Management, Education, Information and Control (MEICI 2016)

Information Push Service of University Library in Network and Information Age

DETERMINING MAXIMUM/MINIMUM VALUES FOR TWO- DIMENTIONAL MATHMATICLE FUNCTIONS USING RANDOM CREOSSOVER TECHNIQUES

Research on Power Quality Monitoring and Analyzing System Based on Embedded Technology

Available online at ScienceDirect. Procedia CIRP 44 (2016 )

The Comparative Study of Machine Learning Algorithms in Text Data Classification*

5th International Conference on Information Engineering for Mechanics and Materials (ICIMM 2015)

Fingerprint Ridge Distance Estimation: Algorithms and the Performance*

A Network Intrusion Detection System Architecture Based on Snort and. Computational Intelligence

Adaptive Zoom Distance Measuring System of Camera Based on the Ranging of Binocular Vision

Quality Assessment of Power Dispatching Data Based on Improved Cloud Model

Graphical Approach to Solve the Transcendental Equations Salim Akhtar 1 Ms. Manisha Dawra 2

Half-edge Collapse Simplification Algorithm Based on Angle Feature

A Data Classification Algorithm of Internet of Things Based on Neural Network

Pedestrian Detection with Improved LBP and Hog Algorithm

Study on Improving the Quality of Reconstructed NURBS Surfaces

Research on Clearance of Aerial Remote Sensing Images Based on Image Fusion

CHAPTER 2 CONVENTIONAL AND NON-CONVENTIONAL TECHNIQUES TO SOLVE ORPD PROBLEM

A hierarchical network model for network topology design using genetic algorithm

Operation Trajectory Control of Industrial Robots Based on Motion Simulation

Fixture Layout Optimization Using Element Strain Energy and Genetic Algorithm

International Journal of Current Research and Modern Education (IJCRME) ISSN (Online): & Impact Factor: Special Issue, NCFTCCPS -

View-dependent fast real-time generating algorithm for large-scale terrain

101. Design and realization of virtual prototype of shotcrete robot based on OpenGL

Research on Evaluation Method of Product Style Semantics Based on Neural Network

manufacturing process.

A Study on the Traveling Salesman Problem using Genetic Algorithms

Algorithm Optimization for the Edge Extraction of Thangka Images

Fractal dimension characterization for surface microtopography of copper cut by single point diamond tool

THREE PHASE FAULT DIAGNOSIS BASED ON RBF NEURAL NETWORK OPTIMIZED BY PSO ALGORITHM

Chapter 8 Visualization and Optimization

Optimization of fuzzy multi-company workers assignment problem with penalty using genetic algorithm

ANN-Based Modeling for Load and Main Steam Pressure Characteristics of a 600MW Supercritical Power Generating Unit

Study on Tool Interference Checking for Complex Surface Machining

Fast Efficient Clustering Algorithm for Balanced Data

Combinational Circuit Design Using Genetic Algorithms

Research on friction parameter identification under the influence of vibration and collision

Design and Realization of Agricultural Information Intelligent Processing and Application Platform

BP Neural Network Based On Genetic Algorithm Applied In Text Classification

Generation of Ultra Side lobe levels in Circular Array Antennas using Evolutionary Algorithms

Shape Optimization Design of Gravity Buttress of Arch Dam Based on Asynchronous Particle Swarm Optimization Method. Lei Xu

Lecture

2 Proposed Methodology

Research and Application of Unstructured Data Acquisition and Retrieval Technology

APPLICATION OF VARIABLE-FIDELITY MODELS TO AERODYNAMIC OPTIMIZATION

Face recognition based on improved BP neural network

A REASONING COMPONENT S CONSTRUCTION FOR PLANNING REGIONAL AGRICULTURAL ADVANTAGEOUS INDUSTRY DEVELOPMENT

The Analysis and Detection of Double JPEG2000 Compression Based on Statistical Characterization of DWT Coefficients

An Integrated Face Recognition Algorithm Based on Wavelet Subspace

Transcription:

Application of Wang-u Algorithm in the Geometric Constraint Problem 1 Department of Computer Science and Technology, Jilin University Changchun, 130012, China E-mail: liwh@jlu.edu.cn Mingyu Sun 2 Department of Computer Science and Technology, Jilin University Changchun, 130012, China, E-mail:sunmingyu370@sohu.com Chunhong Cao 3 College of Information Science and Engineering, ortheastern University Shenyang, 110819, China E-mail:caochunhong@mail.neu.edu.cn Mingyan Sun Changchun West ew Economic-Technological Development Zone Construction Industries Co., Ltd Changchun, 130012, China, E-mail:smy_1213@foxmail.com Honghao Shen Changchun West ew Economic-Technological Development Zone Construction Industries Co., Ltd Changchun, 130012, China E-mail:shen126@163.com The geometric constraint problem is equivalent to the problem of solving a set of nonlinear equations substantially; thus the constraint problem can be transformed to an optimization problem. Inspired by the thought of netting fish in our daily life, Wang-u Algorithm starts from the most basic characteristics of the random exploring optimization and ties up two special kinds of data-nets firstly in computer by using the tactics of random moving together; then Wang-u Algorithm realizes the object of random exploring optimization from a new direction by netting orderly in the all range of exploring and promptly observing the situation after netting. The experiment shows that it can improve the geometric constraint solving efficiency and possess better convergence property than the compared algorithms. CEet2015 12-13 September 2015 Shanghai, China 1 Speaker 2 Correspoding Author 3 This work is supported by Grant from Jilin Planned Projects for Science Technology Development (Grant os. 20140101181JC and 20120305). Copyright owned by the author(s) under the terms of the Creative Commons Attribution-onCommercial-oDerivatives 4.0 International License (CC B-C-D 4.0). http://pos.sissa.it/

1. Introduction With the development and popularization of the computer technology, the computer-aided design and manufacturing (CAD/CAM) technology has also been rapidly developed. The CAD/CAM technology development and application level has become an important symbol of a country's level of modernization. The geometric constraint solving problem is the current hot issue in the constraint-based design research. A constraint describes the relationship that should be met. Once the user has defined a series of relations and then modifies the parameters, the system will automatically select the appropriate state to satisfy the constraint. This way of thinking is called constraint-based model. Today, many scholars both at home and abroad using the numerical calculation theory, artificial intelligence theory, graph theory and theory of freedom analysis, etc. have studied the constraint solving in-depth. To sum up, it mainly includes the integrated solution method, sparse matrix method, connection analysis method, statute construction method, constraint propagation method, symbolic algebra method and auxiliary line method, etc.[1]. With the deepening of the application, people have found that: the traditional genetic algorithm in the face of complex and large-scale, is not known any general questions about the characteristics of the best one in advance because the search scope is very large, the convergence speed of genetic algorithm is very slow. Due to the role of crossover and mutation operator, some excellent gene fragments are prematurely lost, which has thus limited the scope of the search, arising the premature convergence, so that the search only to find the optimal value in the local area [2]. Thus the various forms of transformation on the traditional genetic algorithm (GA) has aroused great interest of many scientific and technological workers. Great improvements have been achieved based on the traditional genetic algorithm[3-6]; nevertheless, no matter how to change, the main idea of random search of the genetic algorithm optimization has not been changed and the key still lies in the selection, crossover and mutation operations to generate new populations of chromosomes to evaluate and compare the extracted chromosomes, thus to look for excellent target[7]. In the three operations, the optimization speed and effectiveness depend on the crossover operation to a large extent. As the choice operates only in the original chromosome, of course, it is impossible to produce a better chromosome. The mutation operation only does random sampling throughout the feasible set. Only the crossover operation stipulates to find new chromosomes between the two original optimum chromosomes and it uses a premise: to assume that the possibility of a new superior between the two optimum chromosomes is larger than elsewhere (many cases do so). The crossover operation of this key naturally became a distinctive feature of the genetic algorithm. When the optimization coincides with the prior assumptions, the genetic algorithm will fully demonstrate its advantages; however, when there is a certain gap between problems and presupposes, the genetic algorithm will be very bloated and produce misleading phenomenon. It can be seen that the genetic algorithm still lacks a general and universal applicability in the field of random search optimization algorithm. It is still more appropriate algorithm about part of the optimization problems. When we faced problems that we cannot know any characteristics of the best in advance, it is necessary to look for a more generalized random search optimization algorithm rather than the genetic algorithm. Inspired by the people s daily fishing thinking and in combination with the advantages of modern computer work, starting from the basic characteristics of the random search optimization, this paper proposes a new algorithm that is, Wang-u Algorithm. Firstly, two specific data network (one big and one small) should be woven on the computer[8]. Through an orderly and reasonable woven net, we should timely observe the dynamic of the net. We can use this algorithm to solve geometric constraint problems. With the lessons of premature absorbed from the genetic algorithm, the Wang-u Algorithm can achieve the goal of better random search optimization from a new angle. The algorithm net is full of fish from a random search optimization algorithm of the basic characteristics, the correlation random strategy, on the computer first woven two classes (a large and a small) in the so-called special data network. 2

Then Cast a net into the search scope of an orderly, reasonable and timely dynamic observation net. It would be better to achieve the goal of random search optimization from a new aspect. 2. Geometric Constraint Solving From the artificial intelligence point of view [9-10], the nature of the design problem is a constraint satisfaction problem. The ultimate goal of solving a geometric constraint problem is to determine the specific coordinates of the location of each in the geometry. Usually, the constraint problem can be formalized as (E,C)[11], wheree=(e 1,e 2,,e n ), represents geometric elements, such as points, lines, circles, etc.; C=(c 1,c 2,...,c m ), c i represents the added constraints between these geometric elements. Generally a constraint corresponds to an algebraic equation, so the constraint can be expressed as f ( x, x, x,..., x ) = 0 1 0 1 2... f ( x, x, x,..., x ) = 0 m 0 1 2 X=(x 0, x 1,,x n ),x i is the value of some parameters of the geometric elements e i, for example the two-dimensional point can be expressed as (x 1, x 2 ).Constraint solving is to find the X that satisfies(1). (2.2) Obviously if X j meet F(X j ) = 0, then X j satisfies Equation (2.1); therefore, the constraint solving problem can be transformed into an optimization problem, which only needs minf(x j ) <, is a certain threshold. In order to improve the speed of the algorithm, we use the absolute value of f i rather than the sum of squares to represent the constraint equations. With Equation (2.2) and the min F(X j ) <, which is get through our Wang-u Algorithm know, does not require that m = n; thus it can solve under-constrained and over-constrained problem. n n (2.1) 3. etwork Fish Algorithm 3.1 Main Idea of the Wang-u Algorithm As the random search optimization algorithm will mainly face complex and large-scale general questions, and do not know any main features about the best ones in advance, the design ideas of Wang-u Algorithm will highlight the following two points. Firstly, during the entire random search optimization process, all feasible points taken from the evaluation feature certain degree of randomness, and in sufficient quantity, also the whole distribution of all evaluated and possible points should get balanced. This optimization results can be widely representative and it can prevent the misleading phenomenon from the root. Secondly, during the whole random search optimization operation, it make full use of existing information generated from the optimization process provided by the problem itself so as to find the optimal target as soon as possible. It is the key to improve work efficiency and optimization accuracy. 3

3.2 Specific Steps to Realize Wang-u Algorithm Based on the above two points, the specific steps of the Wang-u algorithm is described in Fig. 1. Start Arbitrarily find a feasible point as the first optimal point, and set n=0; b=1 Input the parameters Whether it meets the requirements? According to the requirements cast a big net, then check, evaluate and compare Whether find the optimal? To register the new optimal point and its position, set n=0; b=1 According to the requirements cast a small net, then check, evaluate and compare b=1? To register the new optimal point if there is a new optimal point, and n=0; b=1, else b=0 n=n+1 Reach the max of allowed? Output the results End Figure 1: Wang- u Algorithm Flowchart 4

4. Parameters Introduction The number of net knots of both large net and small net is w 1 *w 2 *w 3, the total length of each dimension of the search for a small net is R*(1/ w 1 ) (R times the step length (1/ w 1 ) in each dimension of a large net), Q is the maximum allowable number of large net continuous failure times, C is the total number of the extracted feasible point of the entire optimization process. (1) Scale of small net parameter: small net s fixed step size (XL 1, XL 2 XL n ) for each dimension (assuming that n-dimensional) and its number of each dimension s Step point (XW 1, XW 2 XW n ) ( Step point is the aliquots of boundaries of each dimension, step size is the distance on the same dimension between two adjacent Step point or the length of aliquots of a part). (2) Scale of large net parameter: large net s number of each dimension s (assumed that n- dimensional) step point (DW 1, DW 2 DW n ). (3) Termination condition parameters: the total number of large net needs to be casted to find at least one point in the global optimum of cronies point. 5. Experiment Results of Wang-u Algorithm (a) the original design figure (b) the variable design figure Figure 2: Sketch Design Figure and ew Graphics with the Wang-u Algorithm As is shown in Fig. 2, (a) is the original design figure and (b) is the new figure whose part of the size or angle has changed from the use of Wang-u algorithm. Here w 1 *w 2 *w 3 is 100, R is 0.1, Q is 2. It can be seen from the above figure that after the users have drawn the picture, you can modify the size value at any time. Systems realized through the Wang-u algorithm will update itself in accordance with the new size value timely, making it easier to achieve the creation of graphic changes and a series of parts. Algorithm Evolution algebra Take up cpu time(s) Appear the best solutions of algebraic GA 300 200 169 PSO 20 40 15 Wang-u 14 20 10 Table 1: Experimental Results Comparison among GA, PSO and Wang-u In this experiment, it costs 200 seconds when using the optimal results resulting from the genetic algorithms and 40 seconds when using the optimal results resulting from PSO; however, it costs only 20 seconds when using Wang-u algorithm, which indicates that: Wang-u algorithm can use the main time directly for feasible point test, evaluation and comparison and it costs meager time for other ancillary work while compared with the genetic algorithm with almost no duplication of work. As Wang-u algorithm uses a randomly-selected point 5

linkage strategy, it can not only ensure the randomness but also take care of the points balance distribution. It is because of the sharp reduction in the number of random function as called, the Wang-u algorithm will show such excellent performance.it can be seen from Table 1 that geometric constraint solving based on the Wang-u algorithm can get better performance and better convergence in relation to the contrast algorithm. 6. Conclusion The geometric constraint solving problem has always been the core content of the parametric design. Whether it is to solve geometric constraint problems well or not is the key of parametric design system. In this paper, we transform the constraint equations of the geometric constraint problem into the optimization model so that the constraint solving problem is transformed into the optimization problem. The Wang-u algorithm penetrates the essence of random search optimization algorithm to draw on the random advantages of genetic algorithm with lessons of premature from the genetic algorithm, and it has better achieved the goal of the random search optimization from a new angle. The experimental results of Wang-u algorithm for geometric constraint solution show that: during the process of solving optimization problems, when we don t know any of the characteristics of the best one in advance, the Wang-u algorithm is more general than the genetic algorithm and has a broader adaption. References [1] uan Bo. The Research and Implement of Geometric Constraint Solving [D]. Tsinghua University, Beijing, 1999. (In Chinese) [2] Xiao Wei. Some Improvement of the Genetic Algorithm [J]. Computer Engineering and Application, 2004, 49(4):53-56. (In Chinese) [3] Ling ingbiao. Genetic Algorithm for Solving SAT Problems Based on Learning Clause Weights [J].Chinese Journal of Computers, 2005, 28(9):1477-1481. (In Chinese) [4] Zhang Ling, Zhang Bo. Good Point Set Based Genetic Algorithm [J].Chinese Journal of Computers, 2001, 24(9):917-922. (In Chinese) [5] Liu Xichun, u Shouyi. A Genetic Algorithm with Fast Local Adjustment [J].Chinese Journal of Computers, 2006, 29(1): 100-105. (In Chinese) [6] Liu Lifang, Huo Hongwei, Wang Baoshu. PHGA-COFFEE: Aligning Multiple Sequences by Parallel Hybrid Genetic Algorithm [J]. Chinese Journal of Computers 2006, 29(5): 727-733. (In Chinese) [7] Liu Baoding, Zhao Ruiqing, Wang Gang. Uncertain Programming with Applications [M]. Beijing: Tsinghua University Press, 2003:1-22. (In Chinese) [8] Fu Guoqing, Xu Weixiang, Li Xiaozheng. A Random Exploring Optimization Algorithm: Wang- u Algorithm [J]. Journal of Beijing Jiaotong University, 2007, 31(6):123-127. (In Chinese) [9] Fu Jingsun, Cai Zixing, Xu Guangyou. Artificial Intelligence and its Applications [M]. Beijing: Higher Education Press, 1987: 15-28. (In Chinese) [10]Zhou Ji, Cha Jianzhong, Xiao Renbin, Intelligent Design [M]. Beijing: Higher Education Press, 1998: 1-12. (In Chinese) [11] Liu Shengli, Tang Min, Dong Jinxiang. Two Spatial Constraint Solving Algorithms [J]. Journal of Computer-aided Design & Computer Graphics, 2003, 15(8): 1011-1029. (In Chinese) 6