Lagrange Multiplier method

Source: Internet
Author: User

The basic Lagrange multiplier method is to find the function f (x1,x2,...) In G (x1,x2,...) The method of =0 the extremum under constrained conditions .

Main idea: The introduction of a new parameter λ (Lagrange multiplier), the constraints of the function and the original function together, so that can be matched with the number of variables equal to the equation, so as to obtain the original function Extremum of the various variables of the solution.

Assume that the objective function of the extremum needs to be f (x, y) and the limit is φ (x, y) =m

Solution: Set g (x, Y) =m-φ (x, y)

define a new function: F (x,y,λ) =f (x, y) +λg (x, y )

the equations are listed using partial derivative methods: ? F/?x=0,huh? F/?y=0,huh? F/?λ=0

The value of the x,y,λ is obtained, and the extremum of the objective function can be achieved by substituting

Lagrange Multiplier method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.