Particle Swarm Optimization for ILP Model Based Scheduling

Similar documents
Modified Particle Swarm Optimization

Handling Multi Objectives of with Multi Objective Dynamic Particle Swarm Optimization

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

Designing of Optimized Combinational Circuits Using Particle Swarm Optimization Algorithm

Tracking Changing Extrema with Particle Swarm Optimizer

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

Particle Swarm Optimization Approach for Scheduling of Flexible Job Shops

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

Feeder Reconfiguration Using Binary Coding Particle Swarm Optimization

A Native Approach to Cell to Switch Assignment Using Firefly Algorithm

Particle swarm optimization for mobile network design

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

Cell-to-switch assignment in. cellular networks. barebones particle swarm optimization

Effectual Multiprocessor Scheduling Based on Stochastic Optimization Technique

Small World Particle Swarm Optimizer for Global Optimization Problems

Hybrid Particle Swarm-Based-Simulated Annealing Optimization Techniques

LECTURE 16: SWARM INTELLIGENCE 2 / PARTICLE SWARM OPTIMIZATION 2

Particle Swarm Optimization

Optimized Algorithm for Particle Swarm Optimization

CHAPTER 6 ORTHOGONAL PARTICLE SWARM OPTIMIZATION

PARTICLE SWARM OPTIMIZATION (PSO)

PARTICLE SWARM OPTIMIZATION (PSO) [1] is an

OPTIMUM CAPACITY ALLOCATION OF DISTRIBUTED GENERATION UNITS USING PARALLEL PSO USING MESSAGE PASSING INTERFACE

Solving Economic Load Dispatch Problems in Power Systems using Genetic Algorithm and Particle Swarm Optimization

A MULTI-SWARM PARTICLE SWARM OPTIMIZATION WITH LOCAL SEARCH ON MULTI-ROBOT SEARCH SYSTEM

Application of Improved Discrete Particle Swarm Optimization in Logistics Distribution Routing Problem

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

Particle Swarm Optimization

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

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

IMPROVING THE PARTICLE SWARM OPTIMIZATION ALGORITHM USING THE SIMPLEX METHOD AT LATE STAGE

An Optimized Virtual Network Mapping Using PSO in Cloud Computing

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

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

EEL 4783: HDL in Digital System Design

Unit 2: High-Level Synthesis

Optimal Power Flow Using Particle Swarm Optimization

Mobile Robot Path Planning in Static Environments using Particle Swarm Optimization

An improved PID neural network controller for long time delay systems using particle swarm optimization algorithm

Particle Swarm Optimization Based Approach for Location Area Planning in Cellular Networks

A Polar Coordinate Particle Swarm Optimiser

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

International Conference on Modeling and SimulationCoimbatore, August 2007

Inertia Weight. v i = ωv i +φ 1 R(0,1)(p i x i )+φ 2 R(0,1)(p g x i ) The new velocity update equation:

Feature weighting using particle swarm optimization for learning vector quantization classifier

Optimization of Benchmark Functions Using Artificial Bee Colony (ABC) Algorithm

Automatic differentiation based for particle swarm optimization steepest descent direction

A Multiobjective Memetic Algorithm Based on Particle Swarm Optimization

High Level Synthesis

EE 553 Term Project Report Particle Swarm Optimization (PSO) and PSO with Cross-over

Discrete Particle Swarm Optimization for TSP based on Neighborhood

Hardware-Software Codesign

An Efficient FIR Filter Design Using Enhanced Particle Swarm Optimization Technique

Binary Differential Evolution Strategies

GENETIC ALGORITHM VERSUS PARTICLE SWARM OPTIMIZATION IN N-QUEEN PROBLEM

Speculative Evaluation in Particle Swarm Optimization

GRID SCHEDULING USING ENHANCED PSO ALGORITHM

Particle Swarm Optimization applied to Pattern Recognition

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

Fast Hybrid PSO and Tabu Search Approach for Optimization of a Fuzzy Controller

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

CHAPTER 6 HYBRID AI BASED IMAGE CLASSIFICATION TECHNIQUES

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

Particle swarm-based optimal partitioning algorithm for combinational CMOS circuits

Adaptative Clustering Particle Swarm Optimization

Application Mapping onto Binary Tree Structured Network-on-Chip using Particle Swarm Optimization

INTEGRATION OF INVENTORY CONTROL AND SCHEDULING USING BINARY PARTICLE SWARM OPTIMIZATION ALGORITHM

Witold Pedrycz. University of Alberta Edmonton, Alberta, Canada

A Combinatorial Algorithm for The Cardinality Constrained Portfolio Optimization Problem

Scheduling Meta-tasks in Distributed Heterogeneous Computing Systems: A Meta-Heuristic Particle Swarm Optimization Approach

Small World Network Based Dynamic Topology for Particle Swarm Optimization

Data Path Allocation using an Extended Binding Model*

Adaptive Radiation Pattern Optimization for Antenna Arrays by Phase Perturbations using Particle Swarm Optimization

MOST of power system optimization problems including

Comparison between Different Meta-Heuristic Algorithms for Path Planning in Robotics

Step Size Optimization of LMS Algorithm Using Particle Swarm Optimization Algorithm in System Identification

Hardware/Software Codesign

Solving Travelling Salesman Problem Using Variants of ABC Algorithm

PARTICLE Swarm Optimization (PSO), an algorithm by

Datapath Allocation. Zoltan Baruch. Computer Science Department, Technical University of Cluj-Napoca

Multiprocessor Scheduling Using Particle Swarm Optimization

Optimized Node Deployment using Enhanced Particle Swarm Optimization for WSN

A Comparative Study of Genetic Algorithm and Particle Swarm Optimization

1 Lab + Hwk 5: Particle Swarm Optimization

High-Level Synthesis

Optimization of Task Scheduling and Memory Partitioning for Multiprocessor System on Chip

III. PV PRIORITY CONTROLLER

QUANTUM BASED PSO TECHNIQUE FOR IMAGE SEGMENTATION

KEYWORDS: Mobile Ad hoc Networks (MANETs), Swarm Intelligence, Particle Swarm Optimization (PSO), Multi Point Relay (MPR), Throughput.

Artificial bee colony algorithm with multiple onlookers for constrained optimization problems

A Modified PSO Technique for the Coordination Problem in Presence of DG

APPLICATION OF BPSO IN FLEXIBLE MANUFACTURING SYSTEM SCHEDULING

1 Lab 5: Particle Swarm Optimization

ARMA MODEL SELECTION USING PARTICLE SWARM OPTIMIZATION AND AIC CRITERIA. Mark S. Voss a b. and Xin Feng.

Proceedings of the 5th WSEAS International Conference on Applied Computer Science, Hangzhou, China, April 16-18, 2006 (pp )

A Comparative Study of the Application of Swarm Intelligence in Kruppa-Based Camera Auto- Calibration

Partitioning Methods. Outline

The Pennsylvania State University. The Graduate School. Department of Electrical Engineering COMPARISON OF CAT SWARM OPTIMIZATION WITH PARTICLE SWARM

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

High-Level Synthesis (HLS)

Transcription:

Particle Swarm Optimization for ILP Model Based Scheduling Shilpa KC, C LakshmiNarayana Abstract This paper focus on the optimal solution to the time constraint scheduling problem with the Integer Linear Programming (ILP) modeling for synthesis using Particle Swarm Optimization; an efficient population based search technique.discrete real space has explored with continuous domain exploration in restricted range and exploitation using nearest discrete value to get convergence faster.the performance of ILP modeling is presented on HLS benchmark and experimental results obtained are promising for NP complete Scheduling problem. This paper presents design complexity is free from complexity of the problem and the experimental results of PSO have proven for a faster rate of convergence to solve constrained scheduling problem. Index Terms Data Flow Graph (DFG), High Level Synthesis (HLS), Integer Linear Programming (ILP), Particle Swarm Optimization (PSO). I. INTRODUCTION High-Level Synthesis (HLS) is the process of generating the Register Transfer Level (RTL) design from the Behavioral Description of the digital system [1]-[3]. In HLS, the description of the system is represented in an abstract form usually a Data Flow Graph (DFG), and this representation is transformed and mapped onto architectural elements from a library of resources. The synthesis process involves three major tasks: instruction scheduling, allocation, and binding. Scheduling is the process ofis the process of partitioning the set of arithmetic and logical operations in the DFG into groups so that the operations in the same group can be executed concurrently, while taking into consideration possible trade-offs between the total execution cost and hardware cost. It can be considered the most important step during the architecture synthesis [4]-[6]. Allocation is the process of choosing resources from the library, which involves tradeoffs according to different features like delay, area, power and leakage. Resource allocation is the process of determining the number of functional units of each type for performing operations, memory units (registers) for storing data values and interconnects for data transportation. II. RELATED WORK The simplest scheduling technique [1] is AsSoon As Possible (ASAP) where the operations in Control and Data Flow Graph (CDFG) are scheduled into control steps from the first control step to the last. An operation is scheduled to the next control step only if all its predecessors have been scheduled. If there is no resource limitation the method generates the minimal number of control steps, otherwise a schedule which requires too many hardware resources to implement might occur. In [2] have given method to avoid the problems of ASAP, technique proposed is the List Scheduling, in this Scheme, ready operations are kept in an ordered list according to a heuristic priority function and are scheduled in order into the next control step until the number of scheduled operations exceed the number of the resources. List Scheduling [3] are faster, but may produce unsatisfactory result because of greedy characteristic and not flexible.mathematical approaches [4], [5]formulate the synthesis problem as an Integer Linear Programming (ILP) problem presented. ILP approaches leads to exact solutions rather than approximates ones. Secondly these approaches give optimal solutions, But Computation time associated to ILP usually become too large. Simulated annealing based scheduling generates random modifications in the schedule and accepts or rejects them according to a random rule and parameter that gradually decreases with time has given in [6] a scheduling algorithm proposed in [7] to improves an initial schedule by selecting a set of tuples in each iteration pass. The algorithm has a feature of escaping from local minima, but the algorithm does not guarantee for optimality. Scheduling method by Stepwise expansion in HLS, the total computation time can be much reduced compared to the general ILP method, by reduced number of integer variables which appear in ILP formulation by introducing stepwise expansion [8]. This method find optimal or near optimal solution. Encouraging results from previous work motivated this research effort that tends to explore the effectiveness of instruction scheduling algorithm using Particle Swarm Optimization approach is presented. The algorithm utilizes a novel approach that employs Particle Swarm Optimization (PSO) for scheduling to solve the time constraint scheduling problem. The proposed method was found to generate better scheduling results in the Hardware Abstraction Layer (HAL) differential equation solver high-level synthesis benchmark. ISSN: 2278 1323 All Rights Reserved 2014 IJARCET 2150

III. A. Time Constraint Scheduling PROBLEM FORMULATED The goal of a time constrained scheduler is to realize the design with minimum possible hardware while meeting the time constraint.tomodel the scheduling problem in High Level Synthesis, binary variables x ij are introduced. In which x ij = 1 only when operation v i starts at time slotj. Also, for each operationv i, i = 1,2,.. n, two variables T i, D i are defined. They represent the starting time and the duration of the operation v i,respectively. Thus, the relations between the starting times and the binary variables x ij s are T i = j j. x ij, i = 1,2,3. n(1) Assume that the number of available resource types isn res, thus, for each resource type k, the number of components required is a k, k = 1,2,.. n res, for each operation v i, the function F v i which returns the resource type that can execute the corresponding operation is defined. Now, the time constraint scheduling problem is n Min res c k a k Such that T i = T i T j + D j, i, j: x ij j j. x ij j k=1 (2) = 1, i = 1,2, n.(3), i = 1,2,.. n(4) there is an arc from v j to v i (5) TN T i + D i 1, i: v i have no successor(6) j x im a k, k F v j =K m=j D i +1 (7) = 1,2 n res, j where c k is the cost of using one component of type k. Constraint (3) states that each operation has only one start-time, where constraint (4) represents the sequencing relation between two operations; if there is an arc from T j to T i then operation v i should not starts before the end of the operation v j. All operations, especially those have no successor, must finish before certain time TN.This stated in constraint (5).Finally, constraint (6) states that the resource bounds must be met at every schedule time step. In order to model the resource constraint scheduling problem, the objective function has to be changed to Minimize (TN) and the values of a k s, k = 1.. n res have to be fixed to the available number of components. PSO s precursor was a simulator of social behavior that was used to visualize the movement of a birds flock. Several versions of the simulation model were developed [9],incorporating concepts such as nearest-neighbor velocity matching and acceleration by distance. When it was realized that the simulation could be used as an optimizer, several parameters were omitted, through a trial and error process, resulting in the first simple version of PSO. PSO is similar to EC techniques in that, a population of potential solutions to the problem under consideration is used to probe the search space. The PSO algorithm, is based on visualizing the movement of organisms in a flock of birds, and then modeled the individual s behavior of exploration and exploitation mathematically, in the hope of simulating the search behavior of a swarm seen in nature [10]. The methodology of the original PSO is basically uses particles flown over the searching space and memorized the best position encountered. The particle adjusts its value of velocity vector, based on its previous velocity vector and the influence of its local best solution and the groups best solution, and then moves towards the next position. The momentum of each particle tends to keep it from being trapped at local optima, yet but by each particle considering both its own memory and that of its neighbors, the entire swarm trends to converge on the global solution [11]. The main advantage of the PSO is its algorithmic simplicity, convergences rate is faster, and the advantage of dealing with fewer operators is the reduction of computation and elimination of the process to select the best operator for a given optimization V. EXPERIMENTAL SETUP &TEST DFG STRUCTURE In the evaluation process, the benchmark HAL differential equation solver high-level synthesis benchmark is been considered and given in the Fig.1.The Data Flow Graph (DFG) consists of many different operations. Use the DFG to formulate ILP for scheduling the flow graph into four control steps, since the DFG contains four different types of operations (i.e. multiplication unit, addition unit, subtraction unit and comparison unit), there is need of four types of function units from library. C m, C a, C s, and C c are considered to be the cost of a multiplier unit, an adder unit, a subtraction unit and a comparator unit respectively. N m, N a, N s and N c be the number of multipliers unit (MU), adder unit (AU), subtraction unit (SU), and comparators unit (CU), needed in the final schedule.the ILP formulation for scheduling the DFG into four control steps. If we assume that C m = 2, C a = C s = C c = 1, the cost function has to be minimized and all inequalities have to satisfy. IV. PARTICLESWARMOPTIMIZATION (PSO) Read(x,y,u,dx,a) repeat x1 = x +dx; ISSN: 2278 1323 All Rights Reserved 2014 IJARCET 2151

u1=u-(3*x*u*dx)-(3*y*dy); y1= y + u *dx; C=x1<a; x=x1; u = u1; y=y1; until C; Write(y); Algorithm 1: VHDL description for HAL example u dx 3 x u dx x dx u * * * + V1 V 2 V4 V10 e1,5 e 5,7 V 7 * V 6 < V 11 V8 e2,5 e 7,8 e6,8 e3,6 e4,9 * V 5 * V3 + V 9 - - y dx Fig 1. HAL example: DFG of VHDL description The objective function and ILP formulation is as follow y minimize C m N m + C a N a + C s N s + C c N c (8) VI. e 10,11 SIMULATION RESULTS The objective function (8) is considered, the Population size equal to 200 with Initialization of population as uniform random number in the discrete range of range of [0 1] is taken. Velocity population of PSO is taken as random number in the range of [0 1] uniformly and constant χ is 0.72, c1=c2=2.5, whereas w value decrease from 1.2 to 0.1 for maximum 500 iterations. Penalty factor S is equal to 1000. Algorithms and solutions have developed in the environment of MATLAB. A fitness function with the use of penalty method has applied to handle the constraints along with objective function as given below r n 2 2 F f Sgk ( xi ) h( xi (9) K 1 m1 Where S is penalty factor usually a large value and g max( 0, g k k ) c a. g k and h represent the violation of constraints in ( 0) and ( = 0) cases correspondingly. A. Steps for Particle Swarm Optimization to solve constraint optimization problem PSO is initialized with a group of random particles (solutions) and then searches for optima by updating generations. In every iteration, each particle is updated by following two "best" values. The first one is the best solution (fitness) it has achieved so far. (The fitness value is also stored.) This value is called pbest. Another "best" value that is tracked by the particle swarm optimizer is the best value, obtained so far by any particle in the population. This best value is a global best and called gbest. When a particle takes part of the population as its topological neighbors, the best value is a local best and is called lbest. After finding the two best values, the particle updates its velocity and positions with following equation v (n+1) = χ *[w * v + c1 * rand*(pbest - present) +c2*rand*(gbest - present)] (10) present (n+1) = present (n) + v (n+1) (11) v is the particle velocity, present is the current particle (solution), pbest and gbest are defined as stated before, rand is a random number between (0, 1), c1, c2 are learning factors, χ is a constriction factor, and w is called inertia weight. The process will continue until terminating criteria which is defined as the maximum iterations or minimum error criteria is not attained Performance shown by PSO is given below. From the graph it is clear that presented concept has delivered the optimal solution within less number of generations. ISSN: 2278 1323 All Rights Reserved 2014 IJARCET 2152

Fig2. Performance of PSO for objective function Fig4.Population value distribution with various generation The final value of resource, scheduling of nodes and the objective function value achieved from Particle Swarm Optimization shown in Fig.5, are as follows: Fig3. Best Solution value distribution in various gerenation Fig.5. Optimal resource result required for Scheduling ISSN: 2278 1323 All Rights Reserved 2014 IJARCET 2153

Table 1. Optimal Scheduling of nodes, Resource Requirement Resource Requirement No. of multipler(n m ) = 2, No. of adder(n a ) = No. of subtractor (N s ) = No. of comparator(n c ) = 1 Assuming the cost of C m =2, and C a = C s = C c =1, the minimal objective function values obtained is 2 2 + 1 1 + 1 1 + 1 1 = 7. VII. Conclusion We have proposed an approach to the Time constraint scheduling using the concept of PSO. The approach takes the ILP formulation of problem and solved as constraint optimizer. With the proposed method there is very good possibility to explore the search space in better manner. High level synthesis benchmark problem HAL has taken as a test example and scheduling defined for time constraint scheduling. Proposed method is simple and efficient but also design complexity is free from complexity of problem and PSO has shown a faster rate of convergence to solve constrained scheduling problem. REFERENCES [1] P. Arato, Z. A,Mann, and A. Orba n:time-constrained scheduling of large pipelined datapaths, injournal of SystemsArchitecture, vol. 51, no. 12, pp. 665 687, 2005. [2] K. Ito, T. Iwata, and H. Kunieda, :An optimal scheduling method for parallel processing system of array architecture,in Proc. of the Asia and South Pacific Design Automation Conference (ASP-DAC 97), pp. 447 454, Chiba, Japan, January 1997. [3] S. O. Memik, R. Kastner, E. Bozorgzadeh, and M. Sarrafzadeh:A scheduling algorithm for optimization and early planning in high-level synthesis, In ACMTransactions on Design Automation of Electronic Systems, vol. 10, no. 1, pp. 33 57, 2005. [4] C.T.Hwang, J.H.Lee, Y.C.Hsu and Y.L.Lin, A formal approach to the scheduling problem in high level synthesis. In IEEE Trans. on Computer-Aided Design,vol. 10, no.2, pp. 464-475, Feb 1991. [5] P. G. Paulin and J. P. Knight: Force-directed scheduling in automatic data path synthesis,in Proc. of the 24th ACM/IEEE Conference on Design Automation, pp. 195 202,Miami Beach, Fla, USA, June 1987. [6] P. G. Paulin and J. P. Knight: Force-directed scheduling for the behavioral synthesis of ASIC s,in IEEE Transactions on Computer- Aided Design of Integrated Circuits and Systems, vol.8, no. 6, pp. 661 679, 1989. [7] R. Camposano: Path-based scheduling for synthesis, in IEEE Transactions on Computer-Aided Design of Integrated Circuitsand Systems, vol. 10, no. 1, pp. 85 93, 1991. [8] G. De Michel: Synthesis and Optimization of Digital Circuits,McGraw-Hill, Boston, Mass, USA, 1994. [9] J. Kennedy, and R. C. Eberhart:Particle Swarm Optimization, inproc. IEEE Int. Conf. on Neural Networks (Perth Australia), IEEE service Center, Piscataway, NJ, IV, 1942-1948, 1995. [10] R. C. Eberhart and Y. Shi: ComparisonBetween Genetic Algorithms and Particle Swarm Optimization, Evolutionary Programming, VII, Springer Press, 611-616, 1998. [11] Maurice Clerc and James Kennedy:The particle swarmexplosion,stability,and convergence in a multidimensional complex space, in IEEE Trans.on Evolutionary computation,vol.6,no.1.february 2002; Shilpa K.C completedm.tech degree in General Electronics from Visvesvarya University of Technology (Karnataka, India) in 2007. Now, presently pursing Ph.D in the field of VLSI,Evolutionary Computation from Visvesvaraya University of Technology (Karnataka, India). The object of her interest is in the High level Synthesis, Evolutionary Computation, and Neural Networks. Dr. LakshmiNaryana.Creceived Ph.D degree from Anna University Chennai. At present he is working as Professor inelectrical & Electronics Engineering Department at BMS college of Engineering, Bangalore. His research areas include Power Electronics, Evolutionary Computation. ISSN: 2278 1323 All Rights Reserved 2014 IJARCET 2154