particle swarm optimization research toolbox · pdf fileparticle swarm optimization research...

121
i Particle Swarm Optimization Research Toolbox Documentation Documentation Version 2016-03-08j By George Evers www.georgeevers.org/pso_research_toolbox.htm Clickable Contents Introduction .................................................................................................................................... 1 Statement of Purpose ......................................................................................................... 1 Documentation Overview ................................................................................................... 1 Conceptual Outline ......................................................................................................... 1 The Documentation as a Help Menu.............................................................................. 1 Formats Available ........................................................................................................... 2 Toolbox Compatibility ......................................................................................................... 2 Prerequisite Terminology ................................................................................................... 2 Decision Variable ............................................................................................................ 2 Decision Vector............................................................................................................... 2 Control Panel .................................................................................................................. 2 Switches .......................................................................................................................... 3 Settings ........................................................................................................................... 3 Trial ................................................................................................................................. 3 Column (Statistics Pertaining to One Set of Trials) ........................................................ 3 Table (One or More Columns) ........................................................................................ 4 I. System Preparation ................................................................................................................. 5 Setting Virtual Memory Size ............................................................................................... 5 Step 1 .............................................................................................................................. 5 Steps 2 & 3 ...................................................................................................................... 5 Checking Java Version ......................................................................................................... 7 Setting MATLAB Preferences .............................................................................................. 7 Line Wrapping ................................................................................................................ 7 Command Windows Scroll Buffer .................................................................................. 7 Right-hand Text Limit ..................................................................................................... 7 Selecting a Suitable Font for Pasting into Word ................................................................. 8 Packing Memory ................................................................................................................. 8 II. A Guided Walk Through........................................................................................................... 8 Installing the PSO Toolbox (i.e. Unzipping the Files) .......................................................... 8 Opening Files for Editing ..................................................................................................... 8 Auto-saving Figures............................................................................................................. 8 Figure Switches ............................................................................................................... 8

Upload: tranlien

Post on 11-Feb-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

  • i

    Particle Swarm Optimization Research Toolbox Documentation

    Documentation Version 2016-03-08j

    By George Evers

    www.georgeevers.org/pso_research_toolbox.htm

    Clickable Contents Introduction .................................................................................................................................... 1

    Statement of Purpose ......................................................................................................... 1 Documentation Overview ................................................................................................... 1

    Conceptual Outline ......................................................................................................... 1 The Documentation as a Help Menu.............................................................................. 1 Formats Available ........................................................................................................... 2

    Toolbox Compatibility ......................................................................................................... 2 Prerequisite Terminology ................................................................................................... 2

    Decision Variable ............................................................................................................ 2 Decision Vector ............................................................................................................... 2 Control Panel .................................................................................................................. 2 Switches .......................................................................................................................... 3 Settings ........................................................................................................................... 3 Trial ................................................................................................................................. 3 Column (Statistics Pertaining to One Set of Trials) ........................................................ 3 Table (One or More Columns) ........................................................................................ 4

    I. System Preparation ................................................................................................................. 5 Setting Virtual Memory Size ............................................................................................... 5

    Step 1 .............................................................................................................................. 5 Steps 2 & 3 ...................................................................................................................... 5

    Checking Java Version ......................................................................................................... 7 Setting MATLAB Preferences .............................................................................................. 7

    Line Wrapping ................................................................................................................ 7 Command Windows Scroll Buffer .................................................................................. 7 Right-hand Text Limit ..................................................................................................... 7

    Selecting a Suitable Font for Pasting into Word ................................................................. 8 Packing Memory ................................................................................................................. 8

    II. A Guided Walk Through ........................................................................................................... 8 Installing the PSO Toolbox (i.e. Unzipping the Files) .......................................................... 8 Opening Files for Editing ..................................................................................................... 8 Auto-saving Figures ............................................................................................................. 8

    Figure Switches ............................................................................................................... 8

    http://www.georgeevers.org/pso_research_toolbox.htm

  • ii

    Figure Position ................................................................................................................ 9 Understanding Automatic Input Validation ........................................................................ 9 Understanding User Input Validation ............................................................................... 10 Interpreting Graphs .......................................................................................................... 11

    Figure Numbers ............................................................................................................ 11 Objective Function ....................................................................................................... 11 Phase Plots ................................................................................................................... 11 Position vs. Iteration ..................................................................................................... 12

    Analyzing Workspace Variables ........................................................................................ 12 fg ................................................................................................................................... 12 thresh_for_succ ............................................................................................................ 12 num_trials_successful .................................................................................................. 12 k .................................................................................................................................... 13 iter_success .................................................................................................................. 13 x .................................................................................................................................... 13 xhist .............................................................................................................................. 14 v .................................................................................................................................... 15 vhist .............................................................................................................................. 15 p .................................................................................................................................... 16 Evaluating Positions ...................................................................................................... 16 fp ................................................................................................................................... 17 f ..................................................................................................................................... 17 phist .............................................................................................................................. 17 l ..................................................................................................................................... 19 fhist, lhist, & lbest_neighb_size.................................................................................... 20 g .................................................................................................................................... 21 ghist .............................................................................................................................. 22 Workspace Organization .............................................................................................. 22 Summary ....................................................................................................................... 23

    Knowing Where Data is Saved .......................................................................................... 23 Figures .......................................................................................................................... 24 Workspaces .................................................................................................................. 24

    Activating and De-activating Graphs ................................................................................ 25 De-activating Phase Plots, Position vs. Iteration Graphs, and Benchmark Graph ....... 25 Activating Graphs of Personal Bests & Global Best vs. Iteration ................................. 26 Activating Graphs of Function Values vs. Iteration ...................................................... 26

    Interpreting Newly Activated Graphs ............................................................................... 26 Function Value vs. Iteration ......................................................................................... 26 Personal Bests & Global Best vs. Iteration ................................................................... 26 Global Bests Function Value vs. Iteration ................................................................... 26

    Switching to Static Inertia Weight .................................................................................... 26 Switching Between Lbest and Gbest PSOs ...................................................................... 27 Changing the Swarm Size .................................................................................................. 27 Changing the Numb