A Binary Model on the Basis of Cuckoo Search Algorithm in Order to Solve the Problem of Knapsack 1-0

Similar documents
Solving the Graph Bisection Problem with Imperialist Competitive Algorithm


THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS

Scheduling Scientific Workflows using Imperialist Competitive Algorithm

Particle Swarm Optimization Artificial Bee Colony Chain (PSOABCC): A Hybrid Meteahuristic Algorithm

A Genetic Algorithm for Multiprocessor Task Scheduling

International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 7, February 2013)

International Journal of Information Technology and Knowledge Management (ISSN: ) July-December 2012, Volume 5, No. 2, pp.

Fuzzy Inspired Hybrid Genetic Approach to Optimize Travelling Salesman Problem

Hybrid Ant Colony Optimization and Cuckoo Search Algorithm for Travelling Salesman Problem

The Design of Pole Placement With Integral Controllers for Gryphon Robot Using Three Evolutionary Algorithms

Optimal Reactive Power Dispatch Using Hybrid Loop-Genetic Based Algorithm

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

Innovative Systems Design and Engineering ISSN (Paper) ISSN (Online) Vol.5, No.1, 2014

Efficient Load Balancing and Fault tolerance Mechanism for Cloud Environment

The Genetic Algorithm for finding the maxima of single-variable functions

Hybrid of Genetic Algorithm and Continuous Ant Colony Optimization for Optimum Solution

The movement of the dimmer firefly i towards the brighter firefly j in terms of the dimmer one s updated location is determined by the following equat

A Particle Swarm Optimization Algorithm for Solving Flexible Job-Shop Scheduling Problem

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

Meta- Heuristic based Optimization Algorithms: A Comparative Study of Genetic Algorithm and Particle Swarm Optimization

Use of the Improved Frog-Leaping Algorithm in Data Clustering

CHAPTER 6 HYBRID AI BASED IMAGE CLASSIFICATION TECHNIQUES

VIRTUAL FORCE ALGORITHM AND CUCKOO SEARCH ALGORITHM FOR NODE PLACEMENT TECHNIQUE IN WIRELESS SENSOR NETWORK

Improving Results and Performance of Collaborative Filtering-based Recommender Systems using Cuckoo Optimization Algorithm

Cloud Computing Resource Planning Based on Imperialist Competitive Algorithm

CLUSTERING CATEGORICAL DATA USING k-modes BASED ON CUCKOO SEARCH OPTIMIZATION ALGORITHM

Reconfiguration Optimization for Loss Reduction in Distribution Networks using Hybrid PSO algorithm and Fuzzy logic

Modified K-Means Algorithm for Genetic Clustering

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

INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & MANAGEMENT

Performance Comparison of Genetic Algorithm, Particle Swarm Optimization and Simulated Annealing Applied to TSP

CHAPTER 6 REAL-VALUED GENETIC ALGORITHMS

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

A NEW APPROACH TO SOLVE ECONOMIC LOAD DISPATCH USING PARTICLE SWARM OPTIMIZATION

SIMULATION APPROACH OF CUTTING TOOL MOVEMENT USING ARTIFICIAL INTELLIGENCE METHOD

QUANTUM BASED PSO TECHNIQUE FOR IMAGE SEGMENTATION

A Comparative Study on Nature Inspired Algorithms with Firefly Algorithm

Providing new meta-heuristic algorithm for optimization problems inspired by humans behavior to improve their positions

Using Genetic Algorithm with Triple Crossover to Solve Travelling Salesman Problem

Experimental Study on Bound Handling Techniques for Multi-Objective Particle Swarm Optimization

Crew Scheduling Problem: A Column Generation Approach Improved by a Genetic Algorithm. Santos and Mateus (2007)

An object-oriented software implementation of a novel cuckoo search algorithm

Genetic algorithm based on number of children and height task for multiprocessor task Scheduling

SWITCHES ALLOCATION IN DISTRIBUTION NETWORK USING PARTICLE SWARM OPTIMIZATION BASED ON FUZZY EXPERT SYSTEM

A Novel Hybrid Self Organizing Migrating Algorithm with Mutation for Global Optimization

A Genetic Algorithm for Graph Matching using Graph Node Characteristics 1 2

IMPLEMENTATION OF A FIXING STRATEGY AND PARALLELIZATION IN A RECENT GLOBAL OPTIMIZATION METHOD

Local Selection for Heuristic Algorithms as a Factor in Accelerating Optimum Search

In recent years several different algorithms

International Journal of Mechatronics, Electrical and Computer Technology

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

ABSTRACT I. INTRODUCTION. J Kanimozhi *, R Subramanian Department of Computer Science, Pondicherry University, Puducherry, Tamil Nadu, India

Handling Multi Objectives of with Multi Objective Dynamic Particle Swarm Optimization

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

METAHEURISTICS. Introduction. Introduction. Nature of metaheuristics. Local improvement procedure. Example: objective function

Mobile Robot Path Planning in Static Environments using Particle Swarm Optimization

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

A Native Approach to Cell to Switch Assignment Using Firefly Algorithm

Topological Machining Fixture Layout Synthesis Using Genetic Algorithms

A Multi-objective Binary Cuckoo Search for Bicriteria

Scheduling Mixed-Model Assembly Lines with Cost Objectives by a Hybrid Algorithm


Synthesis of Thinned Planar Concentric Circular Antenna Array using Evolutionary Algorithms

FACE RECOGNITION BASED ON CUCKOO SEARCH ALGORITHM

USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WITH OTHER ALGORITHMS

FOREST PLANNING USING PSO WITH A PRIORITY REPRESENTATION

A study of hybridizing Population based Meta heuristics

Introduction to Optimization

Modified Order Crossover (OX) Operator

Local search heuristic for multiple knapsack problem

A New Algorithm for Solving the Operation Assignment Problem in 3-Machine Robotic Cell Scheduling

A Comparative Study of Genetic Algorithm and Particle Swarm Optimization

Study on GA-based matching method of railway vehicle wheels

Genetic Algorithm for Finding Shortest Path in a Network

Literature Review On Implementing Binary Knapsack problem

Algorithm Design (4) Metaheuristics

Provide a Method of Scheduling In Computational Grid Using Imperialist Competitive Algorithm

Path Planning of Mobile Robots Via Fuzzy Logic in Unknown Dynamic Environments with Different Complexities

Automatic differentiation based for particle swarm optimization steepest descent direction

Three-Dimensional Off-Line Path Planning for Unmanned Aerial Vehicle Using Modified Particle Swarm Optimization

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

Genetic Algorithms Based Solution To Maximum Clique Problem

A Parallel Simulated Annealing Algorithm for Weapon-Target Assignment Problem

Nowadays data-intensive applications play a

IMPROVEMENT OF THE QUALITY OF VLSI CIRCUIT PARTITIONING PROBLEM USING GENETIC ALGORITHM

The Improved LEACH-C Protocol with the Cuckoo Search Algorithm

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

In cloud computing, IaaS approach is to

Partial Opposition-based Learning Using Current Best Candidate Solution

A Steady-State Genetic Algorithm for Traveling Salesman Problem with Pickup and Delivery

Solving quadratic assignment problem using water cycle optimization algorithm

PATH PLANNING OF ROBOT IN STATIC ENVIRONMENT USING GENETIC ALGORITHM (GA) TECHNIQUE

DERIVATIVE-FREE OPTIMIZATION

Artificial Bee Colony (ABC) Optimization Algorithm for Solving Constrained Optimization Problems

Introduction to Optimization

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

GENETIC ALGORITHM VERSUS PARTICLE SWARM OPTIMIZATION IN N-QUEEN PROBLEM

Comparison of Some Evolutionary Algorithms for Approximate Solutions of Optimal Control Problems

Automated Test Data Generation and Optimization Scheme Using Genetic Algorithm

Transcription:

22 International Conference on System Engineering and Modeling (ICSEM 22) IPCSIT vol. 34 (22) (22) IACSIT Press, Singapore A Binary Model on the Basis of Cuckoo Search Algorithm in Order to Solve the Problem of Knapsack - Shirin Nozarian *a, Hodais Soltanpoor a, Majid Vafaei Jahan b a Young Researchers Club, Mashhad Branch, Islamic Azad University, Mashhad, Iran b Islamic Azad University,Mashhad Branch,Iran. * snozarian@yahoo.com Abstract. Cuckoo Search Algorithm is one of the newest and strongest methods of evolutional optimization, and no Binary model is introduced for it up until now. Obtained experimental results presented that the convergence rate and quality of obtained solution via this algorithm is much better than other algorithms such as Genetic Algorithm, Particles Swarm Optimization, Ant Colony System, Simulated Annealing, Tabu Search. Binary Cuckoo search algorithm makes giving the optimum answer possible 4 percents more than other algorithms. Keywords: Cuckoo search, Discrete Problems, Knapsack Problem, Genetic Algorithm, Particles Swarm Optimization, Ant Colony System, Simulated Annealing, Tabu Search. Introduction Some algorithms like,, and ICA can be mentioned as usual meta-heuristic algorithms on the basis of population. Some other algorithms like and also can be mentioned as usual meta-heuristic algorithms on the basis of one response. Cuckoo search algorithm (short of "") is one of the newest introduced algorithms on the basis of population. It was introduced by Yang et al. in 29 []. This algorithm was inspired by life style of a bird, called cuckoo. Interesting life style and egg-laying of this bird was the harbinger of a proper optimum algorithm in wild nature. It was a method to survive in the battle with other animals for existence by the least struggle. Then a more complete method was offered by Ramin Rajabioun [2] on the same basis in order to solve the continuous nonlinear optimization problems. But its Binary discrete algorithm has not been evaluated up to now. The Binary model of it is offered in this study. Lots of problems have discrete nature. Furthermore discrete processes are utilized to solve most of connected problems as well. Therefore a discrete cuckoo search algorithm (short of "B") is needed, because both discrete and connected problems are solvable at the same discrete atmosphere. The main version of cuckoo search has been utilized in order to solve different problems up until now, but this model can be changed to a discrete model better by making some changes in the cuckoos' movements toward the habitats. An extensive definition of the knapsack problem is presented in the second part of the article. Explaining the is offered in third, suggested discrete binary model is offered in fourth, tests and comparing the algorithms to solve the mentioned problem is offered in fifth part of this article. Finally, some results and suggestions for future works are added to section six. 2. An Explanatory Definition of the Problem Problem of Knapsack -: A knapsack and some packs are supposed to be in this problem. Every pack possesses a specific weight and value. On the other hand the knapsack has a specific volume, too. It means that definite number of packs 67

can be put in it. We want to put the packs into the knapsack in a special way to have the maximum value of them [7]. Mathematical Formulation of the Problem: Maximize:,, () In order to:,, (2) It should be mentioned that the problem of knapsack - is an NP-Complete Problem [8]. According to the algorithm which is used to find an exact solution for this problem, its time consequence is expressed as follow: 2 (3) Solving this problem would be hard(and even impossible) at the polynomial time, when the number of (n)s is getting big. 3. Cuckoo search algorithm begins with an initial population, exactly the same as other evolutional algorithms. The population consists of cuckoos []. The population possesses some eggs that will lay them on the nest of some other host birds. Those legs that look like the host bird eggs have a chance to survive and be changed into a grownup cuckoo. The rest of the eggs are identified by the host bird and will be wiped out. The number of grownup eggs represents the suitability of nests in that region. Whatever the number of surviving and existing eggs is higher; more interests (trends) are allotted to that region. Thus a condition, in which the most number of eggs are surviving, will be a parameter that intends optimization [2]. All cuckoos will be at the same point of optimization with maximum similarities between their eggs and the host birds' eggs after some repetition. Also more food sources will be available there. This place possesses the most total interests and the least wiping out in eggs. Ultimate end of cuckoo search optimization algorithm () is more than 95% convergence of all cuckoos toward a special point. 4. Discrete Binary Cuckoo search algorithm Lots of problems have discrete nature. Furthermore discrete processes are utilized to solve most of connected problems as well. Therefore a discrete cuckoo search algorithm is needed, because both discrete and connected problems are solvable at the same discrete atmosphere. The main version of cuckoo search has been utilized in order to solve different problems up until now, but this model can be changed to a discrete model better by making some changes in the cuckoos' movements toward the habitats. Changing the level in cuckoos' movements: Considering this point that all cuckoos do their best to arrive in a better habitat during each algorithm repetition, so part of their habitats would be the best habitat. Hence the usual cuckoo search model can change to its discrete model by defining the structure of each habitat, exactly the same as chromosomes structures in genetic algorithm, and cuckoos emigration to habitats can be exerted by implementing the operation "crossover". After defining the habits structures as a chromosome, the proper crossover operator should be defined as well. and represent the lack of existence or existence of eggs respectively in each nest of different habits in Graph Bisection problem. Zero means lack of egg existence, and one means the existence of it in nest (i). The half uniform crossover is used for (cuckoos' movement toward the best habitat) emigration. First of all 5 percent of nests (genes) are randomly chosen from each habitat in half uniform crossover (Short of "HUC"), then the amount of the best habitat is replaces by it at the same place. Quick convergence toward the global optimum response, low possibility of difficulty in local optimum points, and general movement of population toward the better points via destroying the improper responses 68

are some advantages of mentioned algorithm. You can see an example of binary movement of the cuckoos in Table. and Table.2. Best habitat Habitat Habitat2 Habitat n Tab. A sample on random selection of the nests for HUC Tab.2 Movement of cuckoos toward best environment according to HUC Best habitat Habitat Habitat2 Habitat n 5. Simulation Results Results of the tests are offered in this part. Mentioned algorithms are executed in a system with.67 GHz processor and G of RAM memory, in MATLAB programming software. Utilized data in the problem are in concordance with the same data in [2]. The number of objects equals 6 in these data (n = 6), weight of each object(i =,,, 5): as 2. The value of all objects equals ( ). The optimum number (W) in this problem was arranged between and. The optimal response in this problem is: W = 89. It should be mentioned that changing the weight of the knapsack in the determined period of time does not change the optimum response. It only makes the condition more complicated for its finding. All algorithms are executed at the same condition in 5 generations, and the best created amounts by them are compared with different optimization algorithms in discrete binary cuckoo search algorithm, the results are depicted in figures to 5. Superiority of cuckoo search and its stability comparing with other optimization algorithms can be seen in all figures. The average of optimals for each algorithm in 5 repetition cycles is depicted in figure 6. As you can see, possesses has the nearest average in approaching to optimal response. 2 8 6 4 2 5 5 2 25 3 35 4 45 5 55 6 65 7 75 8 85 9 95 2 8 6 4 2 8 6 24 32 4 48 56 64 72 8 88 96 Fig. : Results of solving the knapsack - problem with and after 5 generations. is fluctuating; however is stable relatively. Fig. 2: Results of solving the knapsack - problem with algorithm and after 5 generations. Though is relatively stable, like, this stability is on a specific response near the global optimum, But is stable on the main response. 69

2 8 6 4 2 6 2 8 24 3 36 42 48 54 6 66 72 78 84 9 96 Fig. 3: Results of solving knapsack - problem with and after 5 generations. is extremely fluctuating; however is stable relatively. 2 8 6 4 2 6 2 8 24 3 36 42 48 54 6 66 72 78 84 9 96 Fig. 4: Results of solving the knapsack - problem with and after 5 generations. is extremely fluctuating; however is stable relatively. 2 8 6 4 2 4 8 2 6 2 24 28 32 36 4 44 48 52 56 6 64 68 72 76 8 84 88 92 96 Fig. 5: Results of solving the knapsack - problem with and after 5 generations. is extremely fluctuating; however is stable relatively. 85 8 75 7 65 Average Results Average Results Algorithms Fig. 6: Average of the best optimal results after 5 repetition cycles in all algorithms. got the highest average. A scale is introduced in [3] to evaluate the level of efficiency in optimization algorithms in order to solve the problem of knapsack -, called Hit Rate. This scale calculates the level of ability in approaching the pattern to the optimal response, regarding the domain at the size of a Hit Scale. For example, if global optimization equals, and Hit Scale equals.3, then if the algorithm response equals a number between 7 to 3, it will be claimed that the response is hit, it means the Hit Rate equals. Consider the Hit Scale equals a number between.2 and.3, so the level of algorithms ability in approaching to global optimum 7

is being compared. possesses the nearest level to, as it can be seen in figure 7. Therefore this algorithm is certainly able to approach the optimal response. Hit Rate.9.8.7.6.5.4.3.2. Hit Scale Fig. 7: The level of Hit Rate in all tested algorithms. DB-ICA got the highest Hit Rate. 6. Results and future works In this article cuckoo search was explained to solve the discrete problem of knapsack -. Quick convergence toward the global optimum response, low possibility of difficulty in local optimum points, and general movement of population toward the better points via destroying the improper responses are some advantages of mentioned algorithm. Regarding the accomplished executions, it can be deduced that this algorithm performs better than some other well-known heuristic algorithms. Regarding the proper results of this algorithm in Knapsack - problem, cuckoo search can be utilized in future studies for more general problems like cutting stock problem. 7. References [] X.-S. Yang, S. Deb, Cuckoo search via Levy flights, in: Proc. of World Congress on Nature \& Biologically Inspired Computing (NaBIC 29), December 29, India. IEEE Publications, U, pp. 2-24 (29). [2] R. Rajabioun, Cuckoo Optimization Algorithm, Applied Soft Computing, Volume, Issue 8, December 2, Pages 558-558 [3] G. Wang, C. Chen, K. Y. Szeto. Accelerated Genetic Algorithms with Markov Chains, Springer-Verlag, Berlin Heidelberg, NICSO, SCI 284, pp. 245 254, 2 7