OneStopGate.Com
OnestopGate   OnestopGate
   Tuesday, May 14, 2024 Login  
OnestopGate
Home | Overview | Syllabus | Tutorials | FAQs | Downloads | Recommended Websites | Advertise | Payments | Contact Us | Forum
OneStopGate

GATE Resources
Gate Articles
Gate Books
Gate Colleges 
Gate Downloads 
Gate Faqs
Gate Jobs
Gate News 
Gate Sample Papers
Training Institutes

GATE Overview
Overview
GATE Eligibility
Structure Of GATE
GATE Coaching Centers
Colleges Providing M.Tech/M.E.
GATE Score
GATE Results
PG with Scholarships
Article On GATE
Admission Process For M.Tech/ MCP-PhD
GATE Topper 2012-13
GATE Forum




GATE 2025 Exclusive
Organizing Institute
Important Dates
How to Apply
Discipline Codes
GATE 2025 Exam Structure

GATE 2025 Syllabus
Aerospace Engg..
Agricultural Engg..
Architecture and Planning
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Geology and Geophysics
Instrumentation Engineering
Life Sciences
Mathematics
Mechanical Engg..
Metallurgical Engg..
Mining Engg..
Physics
Production & Industrial Engg..
Pharmaceutical Sciences
Textile Engineering and Fibre Science

GATE Study Material
Aerospace Engg..
Agricultural Engg..
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Instrumentation Engg..
Life Sciences
Mathematics
Mechanical Engg..
Physics
Pharmaceutical Sciences
Textile Engineering  and Fibre Science

GATE Preparation
GATE Pattern
GATE Tips N Tricks
Compare Evaluation
Sample Papers 
Gate Downloads 
Experts View

CEED 2013
CEED Exams
Eligibility
Application Forms
Important Dates
Contact Address
Examination Centres
CEED Sample Papers

Discuss GATE
GATE Forum
Exam Cities
Contact Details
Bank Details

Miscellaneous
Advertisment
Contact Us


Home » GATE Study Material » Mathematics » Numerical Analysis » Numerical Optimization » Nelder Mead Method

Nelder Mead Method

Looking for GATE Preparation Material? Join & Get here now!

** Gate 2013 Question Papers.. ** CEED 2013 Results.. ** Gate 2013 Question Papers With Solutions.. ** GATE 2013 CUT-OFFs.. ** GATE 2013 Results.. **

Nelder Mead Method

Nelder-Mead Method
  
    The Nelder-Mead method is a simplex method for finding a local minimum of a function of several variables.  It's discovery is attributed to J. A. Nelder and R. Mead.  For two variables, a simplex is a triangle, and the method is a pattern search that compares function values at the three vertices of a triangle.  The worst vertex, where [Graphics:Images/NelderMeadMod_gr_1.gif] is largest, is rejected and replaced with a new vertex.  A new triangle is formed and the search is continued.  The process generates a sequence of triangles (which might have different shapes), for which the function values at the vertices get smaller and smaller.  The size of the triangles is reduced and the coordinates of the minimum point are found.  
    The algorithm is stated using the term simplex (a generalized triangle in n dimensions) and will find the minimum of a function of n variables.  It is effective and computationally compact.

 

Initial Triangle  [Graphics:Images/NelderMeadMod_gr_2.gif]

    Let
[Graphics:Images/NelderMeadMod_gr_3.gif] be the function that is to be minimized.  To start, we are given three vertices of a triangle:  [Graphics:Images/NelderMeadMod_gr_4.gif],  for  [Graphics:Images/NelderMeadMod_gr_5.gif].  The function [Graphics:Images/NelderMeadMod_gr_6.gif] is then evaluated at each of the three points:  [Graphics:Images/NelderMeadMod_gr_7.gif],  for  [Graphics:Images/NelderMeadMod_gr_8.gif].  The subscripts are then reordered so that  [Graphics:Images/NelderMeadMod_gr_9.gif].  We use the notation  

(1)        
[Graphics:Images/NelderMeadMod_gr_10.gif],  [Graphics:Images/NelderMeadMod_gr_11.gif],  and  [Graphics:Images/NelderMeadMod_gr_12.gif].  

to help remember that [Graphics:Images/NelderMeadMod_gr_13.gif] is the best vertex, [Graphics:Images/NelderMeadMod_gr_14.gif] is good (next to best), and [Graphics:Images/NelderMeadMod_gr_15.gif] is the worst vertex.  

 

Midpoint of the Good Side

    The construction process uses the midpoint
[Graphics:Images/NelderMeadMod_gr_16.gif] of the line segment joining [Graphics:Images/NelderMeadMod_gr_17.gif] and [Graphics:Images/NelderMeadMod_gr_18.gif].  It is found by averaging the coordinates:  

(2)        [Graphics:Images/NelderMeadMod_gr_19.gif].  

 

Reflection Using the Point  [Graphics:Images/NelderMeadMod_gr_20.gif]

    The function decreases as we move along the side of the triangle from
[Graphics:Images/NelderMeadMod_gr_21.gif] to [Graphics:Images/NelderMeadMod_gr_22.gif], and it decreases as we move along the side from [Graphics:Images/NelderMeadMod_gr_23.gif] to[Graphics:Images/NelderMeadMod_gr_24.gif].  Hence it is feasible that [Graphics:Images/NelderMeadMod_gr_25.gif] takes on smaller values at points that lie away from [Graphics:Images/NelderMeadMod_gr_26.gif] on the opposite side of the line between[Graphics:Images/NelderMeadMod_gr_27.gif] and[Graphics:Images/NelderMeadMod_gr_28.gif].  We choose a test point [Graphics:Images/NelderMeadMod_gr_29.gif] that is obtained by �reflecting� the triangle through the side [Graphics:Images/NelderMeadMod_gr_30.gif]. To determine [Graphics:Images/NelderMeadMod_gr_31.gif], we first find the midpoint [Graphics:Images/NelderMeadMod_gr_32.gif] of the side [Graphics:Images/NelderMeadMod_gr_33.gif].  Then draw the line segment from [Graphics:Images/NelderMeadMod_gr_34.gif] to [Graphics:Images/NelderMeadMod_gr_35.gif] and call its length d.  This last segment is extended a distance d through [Graphics:Images/NelderMeadMod_gr_36.gif] to locate the point [Graphics:Images/NelderMeadMod_gr_37.gif].  The vector formula for [Graphics:Images/NelderMeadMod_gr_38.gif] is  

(3)        
[Graphics:Images/NelderMeadMod_gr_39.gif].  

 

Expansion Using the Point  [Graphics:Images/NelderMeadMod_gr_40.gif]

    If the function value at
[Graphics:Images/NelderMeadMod_gr_41.gif] is smaller than the function value at [Graphics:Images/NelderMeadMod_gr_42.gif], then we have moved in the correct direction toward the minimum.  Perhaps the minimum is just a bit farther than the point [Graphics:Images/NelderMeadMod_gr_43.gif] .  So we extend the line segment through [Graphics:Images/NelderMeadMod_gr_44.gif] and [Graphics:Images/NelderMeadMod_gr_45.gif] to the point [Graphics:Images/NelderMeadMod_gr_46.gif].  This forms an expanded triangle [Graphics:Images/NelderMeadMod_gr_47.gif].  The point [Graphics:Images/NelderMeadMod_gr_48.gif] is found by moving an additional distance d along the line joining [Graphics:Images/NelderMeadMod_gr_49.gif] and [Graphics:Images/NelderMeadMod_gr_50.gif].  If the function value at [Graphics:Images/NelderMeadMod_gr_51.gif] is less than the function value at [Graphics:Images/NelderMeadMod_gr_52.gif], then we have found a better vertex than [Graphics:Images/NelderMeadMod_gr_53.gif].  The vector formula for [Graphics:Images/NelderMeadMod_gr_54.gif] is  
    
(4)        
[Graphics:Images/NelderMeadMod_gr_55.gif].    

 

Contraction Using the Point [Graphics:Images/NelderMeadMod_gr_56.gif]

    If the function values at
[Graphics:Images/NelderMeadMod_gr_57.gif] and [Graphics:Images/NelderMeadMod_gr_58.gif] are the same, another point must be tested.  Perhaps the function is smaller at [Graphics:Images/NelderMeadMod_gr_59.gif], but we cannot replace [Graphics:Images/NelderMeadMod_gr_60.gif] with [Graphics:Images/NelderMeadMod_gr_61.gif] because we must have a triangle.  Consider the two midpoints [Graphics:Images/NelderMeadMod_gr_62.gif] and [Graphics:Images/NelderMeadMod_gr_63.gif] of the line segments [Graphics:Images/NelderMeadMod_gr_64.gif] and [Graphics:Images/NelderMeadMod_gr_65.gif], respectively.  The point with the smaller function value is called [Graphics:Images/NelderMeadMod_gr_66.gif], and the new triangle is [Graphics:Images/NelderMeadMod_gr_67.gif].  
Note:  The choice between
[Graphics:Images/NelderMeadMod_gr_68.gif] and [Graphics:Images/NelderMeadMod_gr_69.gif] might seem inappropriate for the two-dimensional case, but it is important in higher dimensions.  

 

Shrink Toward  [Graphics:Images/NelderMeadMod_gr_70.gif]

    If the function value at
[Graphics:Images/NelderMeadMod_gr_71.gif] is not less than the value at [Graphics:Images/NelderMeadMod_gr_72.gif], the points [Graphics:Images/NelderMeadMod_gr_73.gif] and [Graphics:Images/NelderMeadMod_gr_74.gif] must be shrunk toward [Graphics:Images/NelderMeadMod_gr_75.gif].  The point [Graphics:Images/NelderMeadMod_gr_76.gif] is replaced with [Graphics:Images/NelderMeadMod_gr_77.gif], and [Graphics:Images/NelderMeadMod_gr_78.gif] is replaced with [Graphics:Images/NelderMeadMod_gr_79.gif], which is the midpoint of the line segment joining [Graphics:Images/NelderMeadMod_gr_80.gif] with [Graphics:Images/NelderMeadMod_gr_81.gif].

 

Logical Decisions for Each Step

A computationally efficient algorithm should perform function evaluations only if needed.  In each step, a new vertex is found, which replaces
[Graphics:Images/NelderMeadMod_gr_82.gif]. As soon as it is found, further investigation is not needed, and the iteration step is completed.  The logical details for two-dimensional cases are given in the proof.  

 

Algorithm (Nelder-Mead Search for a Minimum).  To approximate a local minimum of  [Graphics:Images/NelderMeadMod_gr_83.gif],  where  [Graphics:Images/NelderMeadMod_gr_84.gif]  is a continuous function of  n  real variables, and given the  [Graphics:Images/NelderMeadMod_gr_85.gif]  initial starting points  [Graphics:Images/NelderMeadMod_gr_86.gif]  for  [Graphics:Images/NelderMeadMod_gr_87.gif].  
Remark.  This is also known as the polytope method.  

Mathematica Subroutine (Nelder-Mead Search for a Minimum).  To approximate a local minimum of  [Graphics:Images/NelderMeadMod_gr_88.gif],  where  [Graphics:Images/NelderMeadMod_gr_89.gif]  is a continuous function of  2  real variables, and given the [Graphics:Images/NelderMeadMod_gr_90.gif] initial starting points  [Graphics:Images/NelderMeadMod_gr_91.gif]  for  [Graphics:Images/NelderMeadMod_gr_92.gif].

[Graphics:Images/NelderMeadMod_gr_93.gif]



Discussion Center

Discuss/
Query

Papers/
Syllabus

Feedback/
Suggestion

Yahoo
Groups

Sirfdosti
Groups

Contact
Us

MEMBERS LOGIN
  
Email ID:
Password:

  Forgot Password?
 New User? Register!

INTERVIEW EBOOK
Get 9,000+ Interview Questions & Answers in an eBook. Interview Question & Answer Guide
  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades
GATE RESOURCES
 
  • Gate Books
  • Training Institutes
  • Gate FAQs
  • GATE BOOKS
     
  • Mechanical Engineeering Books
  • Robotics Automations Engineering Books
  • Civil Engineering Books
  • Chemical Engineering Books
  • Environmental Engineering Books
  • Electrical Engineering Books
  • Electronics Engineering Books
  • Information Technology Books
  • Software Engineering Books
  • GATE Preparation Books
  • Exciting Offers



    GATE Exam, Gate 2009, Gate Papers, Gate Preparation & Related Pages


    GATE Overview | GATE Eligibility | Structure Of GATE | GATE Training Institutes | Colleges Providing M.Tech/M.E. | GATE Score | GATE Results | PG with Scholarships | Article On GATE | GATE Forum | GATE 2009 Exclusive | GATE 2009 Syllabus | GATE Organizing Institute | Important Dates for GATE Exam | How to Apply for GATE | Discipline / Branch Codes | GATE Syllabus for Aerospace Engineering | GATE Syllabus for Agricultural Engineering | GATE Syllabus for Architecture and Planning | GATE Syllabus for Chemical Engineering | GATE Syllabus for Chemistry | GATE Syllabus for Civil Engineering | GATE Syllabus for Computer Science / IT | GATE Syllabus for Electronics and Communication Engineering | GATE Syllabus for Engineering Sciences | GATE Syllabus for Geology and Geophysics | GATE Syllabus for Instrumentation Engineering | GATE Syllabus for Life Sciences | GATE Syllabus for Mathematics | GATE Syllabus for Mechanical Engineering | GATE Syllabus for Metallurgical Engineering | GATE Syllabus for Mining Engineering | GATE Syllabus for Physics | GATE Syllabus for Production and Industrial Engineering | GATE Syllabus for Pharmaceutical Sciences | GATE Syllabus for Textile Engineering and Fibre Science | GATE Preparation | GATE Pattern | GATE Tips & Tricks | GATE Compare Evaluation | GATE Sample Papers | GATE Downloads | Experts View on GATE | CEED 2009 | CEED 2009 Exam | Eligibility for CEED Exam | Application forms of CEED Exam | Important Dates of CEED Exam | Contact Address for CEED Exam | CEED Examination Centres | CEED Sample Papers | Discuss GATE | GATE Forum of OneStopGATE.com | GATE Exam Cities | Contact Details for GATE | Bank Details for GATE | GATE Miscellaneous Info | GATE FAQs | Advertisement on GATE | Contact Us on OneStopGATE |
    Copyright © 2024. One Stop Gate.com. All rights reserved Testimonials |Link To Us |Sitemap |Privacy Policy | Terms and Conditions|About Us
    Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | India Job Forum | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Free Classifieds | Jobs Assist | Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Web Hosting | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Software Testing Interview Questions | Free Online Exams | The Galz | Top Masala | Vyom | Vyom eBooks | Vyom International | Vyom Links | Vyoms | Vyom World
    C Interview Questions | C++ Interview Questions | Send Free SMS | Placement Papers | SMS Jokes | Cool Forwards | Romantic Shayari