SlideShare a Scribd company logo
1 of 11
KKT CONDITIONS
WITH INEQUALITY
CONSTRAINTS
DR.MRINMOY MAJUMDER
KKT CONDITION
Karush–Kuhn–Tucker conditions or KKT conditions are used for finding solution to non-
linear optimization problems
It is used to solve non-linear problems only. Thus either objective or constraint equation
must be non-linear.
Only concave objective functions with convex constraint equations can be solved by this
method.
EXAMPLE PROBLEM TO SOLVE BY THE
APPLICATION OF KKT CONDITION
ANSWER
The solution to the problem stated in the previous page can be solved by the following
methods :
1) Application of Lagrangian Multiplier method of solving differential equations
2) Solve considering all constraints to be active
3)Solve considering all constraints to inactive
4)Solve considering only one among the two constraints to be inactive
5)Solve considering the other constraint to be inactive
APPLICATION OF LAGRANGIAN
MULTIPLIER METHOD OF SOLVING
DIFFERENTIAL EQUATIONS
How the equation A has come ?
1) Multiply Lambda 1 and Lambda 2 with the constraint functions(g1 and g2)
2) Add the objective function f with the summation of the product of Lambda 1 with
g1 and Lambda 2 with g2 function
3) Let this equation(developed at Step 2) is equal to L(x1,x2,L1,L2)
EQN A
ASSUMING THAT BOTH g1 AND g2
IS ACTIVE
EQN B
HOW EQN B WAS DERIVED ?
1)EQN A was partially differentiated with respect to x1 to find Lx1
2) EQN A was partially differentiated with respect to x2 to find Lx2
3)EQN A was partially differentiated with respect to L1 to find LL1
4) EQN A was partially differentiated with respect to L2 to find LL2
Note :
• While differentiating with x1,x2,L1 and L2 will be constant and similarly
at the time of differentiating with x2, x1,L1 and L2 will be constant and so on.
• In EQN B, the terms which were differentiated to zero is represented by
a coefficient zero
MATRIX FORM
All the coefficients in the four
equations of EQN B
All the variables in
the four equations
of EQN B
All the RHS in the
four equations of
EQN B
If you solve the matrix you will get the following
solution :
x1 = 1
x2 = 1
L1=20
L2 = -8
Substituting x1,x2,L1 and L2 in f,g1 and g2 will
give :
f = -18, g1 = 0 and g2 = 0
Although the solution satisfies the constraint but
as per KKT condition L2 can not be less than
zero and as a result these solutions were
found to be infeasible.
ASSUMING THAT BOTH g1 AND g2
IS INACTIVE
1) Ignore the constraint functions g1 and g2,i.e.,assume L1 and L2 to be zero; to develop EQN C from EQN A
2) Partially differentiate the EQN C with respect to x1 and x2 to find EQN C1 and C2.
3) Putting x1 and x2 in g1 and g2 will give the value of g1 and g2 to be equal to 8 and 10
4) But as per the problem both g1 and g2 must be less than or equal to zero. So the solutions will be infeasible.
EQN C
EQN C1
EQN C2
SOLVE CONSIDERING ONLY ONE
AMONG THE TWO CONSTRAINTS
TO BE INACTIVE : LET g1 BE ACTIVE
1) Ignore the constraint functions g2,i.e.,assume L2 to be zero; to develop EQN D from EQN A
2) Partially differentiate the EQN D with respect to x1,x2 and L1 to find EQN D1,D2 and D3
3) A matrix was also prepared with the cefficient,variables and RHS of the three equations
4) The matrix was solved to find the values of x1,x2 and L1 which is depicted in Eqn.D4.
5)Putting the values of Eqn.D4 in function f ,g1 and g2 will yield the values of these three functions
as -26,0 and -2 respectively which also satisfies the criteria of optimality. So these solutions are feasible.
EQN D
EQN D1
EQN D2
EQN D3
x1 = 3
x2 = -1
L1 = 8 EQN.D4
SOLVE CONSIDERING ONLY ONE
AMONG THE TWO CONSTRAINTS
TO BE INACTIVE : LET g2 BE ACTIVE
1) Ignore the constraint functions g1,i.e.,assume L1 to be zero; to develop EQN E from EQN A
2) Partially differentiate the EQN E with respect to x1,x2 and L2 to find EQN E1,E2 and E3
3) A matrix was also prepared with the cefficient,variables and RHS of the three equations
4) The matrix was solved to find the values of x1,x2 and L2 which is depicted in Eqn.E4.
5)Putting the values of Eqn.E4 in function f ,g1 and g2 will yield the values of g1 and g2 respectively
as 2 and 0 respectively. As the g1 is greater than zero the solutions are infeasible(Ref Constraint function)
EQN E
EQN E1
EQN E2
EQN E3
x1 = 5
x2 = -1
L2 = 4 EQN.E4
CONCLUSION
Hence, the optimal solution was found at step 3 when g1 be
active.
f = -26 and g1 and g2 will be 0 and -2
f is at minima which is optimal condition here.

More Related Content

What's hot

Numerical analysis multivariable unconstrained
Numerical analysis  multivariable unconstrainedNumerical analysis  multivariable unconstrained
Numerical analysis multivariable unconstrained
SHAMJITH KM
 
Bayseian decision theory
Bayseian decision theoryBayseian decision theory
Bayseian decision theory
sia16
 

What's hot (20)

Numerical analysis multivariable unconstrained
Numerical analysis  multivariable unconstrainedNumerical analysis  multivariable unconstrained
Numerical analysis multivariable unconstrained
 
Heuristc Search Techniques
Heuristc Search TechniquesHeuristc Search Techniques
Heuristc Search Techniques
 
Bisection method
Bisection methodBisection method
Bisection method
 
AI - Local Search - Hill Climbing
AI - Local Search - Hill ClimbingAI - Local Search - Hill Climbing
AI - Local Search - Hill Climbing
 
SINGLE-SOURCE SHORTEST PATHS
SINGLE-SOURCE SHORTEST PATHS SINGLE-SOURCE SHORTEST PATHS
SINGLE-SOURCE SHORTEST PATHS
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidel
 
Bayseian decision theory
Bayseian decision theoryBayseian decision theory
Bayseian decision theory
 
Introduction to optimization Problems
Introduction to optimization ProblemsIntroduction to optimization Problems
Introduction to optimization Problems
 
Artificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real WorldArtificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real World
 
Power method
Power methodPower method
Power method
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
The method of frobenius
The method of frobeniusThe method of frobenius
The method of frobenius
 
Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler method
 
Secant method
Secant methodSecant method
Secant method
 
Inference in First-Order Logic
Inference in First-Order Logic Inference in First-Order Logic
Inference in First-Order Logic
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptron
 

Similar to Quadratic Programming : KKT conditions with inequality constraints

Linear equations inequalities and applications
Linear equations inequalities and applicationsLinear equations inequalities and applications
Linear equations inequalities and applications
vineeta yadav
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplex
SHAMJITH KM
 
Paso 2 contextualizar y profundizar el conocimiento sobre expresiones algebr...
Paso 2  contextualizar y profundizar el conocimiento sobre expresiones algebr...Paso 2  contextualizar y profundizar el conocimiento sobre expresiones algebr...
Paso 2 contextualizar y profundizar el conocimiento sobre expresiones algebr...
Trigogeogebraunad
 

Similar to Quadratic Programming : KKT conditions with inequality constraints (20)

CRYPTO 2.pptx
CRYPTO 2.pptxCRYPTO 2.pptx
CRYPTO 2.pptx
 
Algebraic fractions (2)
Algebraic fractions (2)Algebraic fractions (2)
Algebraic fractions (2)
 
FEM 6 Wtd resid and Scalar field.ppt
FEM 6 Wtd resid and Scalar field.pptFEM 6 Wtd resid and Scalar field.ppt
FEM 6 Wtd resid and Scalar field.ppt
 
How to design a linear control system
How to design a linear control systemHow to design a linear control system
How to design a linear control system
 
Lesson 10 techniques of integration
Lesson 10 techniques of integrationLesson 10 techniques of integration
Lesson 10 techniques of integration
 
Linear equations inequalities and applications
Linear equations inequalities and applicationsLinear equations inequalities and applications
Linear equations inequalities and applications
 
Quarter 2 Week 1 Math 8 Danao.pptx
Quarter 2 Week 1 Math 8 Danao.pptxQuarter 2 Week 1 Math 8 Danao.pptx
Quarter 2 Week 1 Math 8 Danao.pptx
 
MIT Math Syllabus 10-3 Lesson 6: Equations
MIT Math Syllabus 10-3 Lesson 6: EquationsMIT Math Syllabus 10-3 Lesson 6: Equations
MIT Math Syllabus 10-3 Lesson 6: Equations
 
a decomposition methodMin quasdratic.pdf
a decomposition methodMin quasdratic.pdfa decomposition methodMin quasdratic.pdf
a decomposition methodMin quasdratic.pdf
 
Solving_Trigonometric_Equations.advanced function chapter 6ppt
Solving_Trigonometric_Equations.advanced function chapter 6pptSolving_Trigonometric_Equations.advanced function chapter 6ppt
Solving_Trigonometric_Equations.advanced function chapter 6ppt
 
14. Solving_Trigonometric_Equations.ppt
14. Solving_Trigonometric_Equations.ppt14. Solving_Trigonometric_Equations.ppt
14. Solving_Trigonometric_Equations.ppt
 
least squares approach in finite element method
least squares approach in finite element methodleast squares approach in finite element method
least squares approach in finite element method
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplex
 
Unit v
Unit vUnit v
Unit v
 
IIT JEE Mathematics 2004
IIT JEE Mathematics 2004IIT JEE Mathematics 2004
IIT JEE Mathematics 2004
 
Linear equations in 2 variables
Linear equations in 2 variables Linear equations in 2 variables
Linear equations in 2 variables
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Exp integrals
Exp integralsExp integrals
Exp integrals
 
Paso 2 contextualizar y profundizar el conocimiento sobre expresiones algebr...
Paso 2  contextualizar y profundizar el conocimiento sobre expresiones algebr...Paso 2  contextualizar y profundizar el conocimiento sobre expresiones algebr...
Paso 2 contextualizar y profundizar el conocimiento sobre expresiones algebr...
 
Hbam2011 09
Hbam2011 09Hbam2011 09
Hbam2011 09
 

More from Mrinmoy Majumder

Introduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization TechniquesIntroduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization Techniques
Mrinmoy Majumder
 
Ten Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptxTen Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptx
Mrinmoy Majumder
 
10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers
Mrinmoy Majumder
 
Water and Energy in style
Water and Energy in styleWater and Energy in style
Water and Energy in style
Mrinmoy Majumder
 
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptxLatest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
Mrinmoy Majumder
 

More from Mrinmoy Majumder (20)

Introduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization TechniquesIntroduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization Techniques
 
Ten Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptxTen Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptx
 
When was the first bottled drinking water sold.pptx
When was the first bottled drinking water sold.pptxWhen was the first bottled drinking water sold.pptx
When was the first bottled drinking water sold.pptx
 
Fluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from HistoryFluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from History
 
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
 
10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers
 
Ten Ideas to open startups in smart agriculture
Ten Ideas to open startups in smart agricultureTen Ideas to open startups in smart agriculture
Ten Ideas to open startups in smart agriculture
 
Explore the latest advancements in hydro and energy informatics with seven ne...
Explore the latest advancements in hydro and energy informatics with seven ne...Explore the latest advancements in hydro and energy informatics with seven ne...
Explore the latest advancements in hydro and energy informatics with seven ne...
 
An Introduction to Water Cycle Algorithm
An Introduction to Water Cycle AlgorithmAn Introduction to Water Cycle Algorithm
An Introduction to Water Cycle Algorithm
 
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
 
Ten Most Recognizable Case Studies of Using Outlier.pptx
Ten Most Recognizable Case Studies of Using Outlier.pptxTen Most Recognizable Case Studies of Using Outlier.pptx
Ten Most Recognizable Case Studies of Using Outlier.pptx
 
Five Ideas for opening startups in Virtual and Green Water
Five Ideas for opening startups in Virtual and Green WaterFive Ideas for opening startups in Virtual and Green Water
Five Ideas for opening startups in Virtual and Green Water
 
Water and Energy in style
Water and Energy in styleWater and Energy in style
Water and Energy in style
 
What is next in AI ML Modeling of Water Resource Development.pdf
What is next in AI  ML Modeling of Water Resource Development.pdfWhat is next in AI  ML Modeling of Water Resource Development.pdf
What is next in AI ML Modeling of Water Resource Development.pdf
 
Very Short Term Course on MAUT in Water Resource Management.pdf
Very Short Term Course on MAUT in Water Resource Management.pdfVery Short Term Course on MAUT in Water Resource Management.pdf
Very Short Term Course on MAUT in Water Resource Management.pdf
 
Most Recommended news,products and publications from hydroinformatics
Most Recommended news,products and publications from hydroinformaticsMost Recommended news,products and publications from hydroinformatics
Most Recommended news,products and publications from hydroinformatics
 
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptxLatest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
 
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
 
Five New Ideas of Start Up under Hydro.pptx
Five New Ideas of Start Up under Hydro.pptxFive New Ideas of Start Up under Hydro.pptx
Five New Ideas of Start Up under Hydro.pptx
 
Five Example Application of Hydroinformatics for Optimal Management of Ground...
Five Example Application of Hydroinformatics for Optimal Management of Ground...Five Example Application of Hydroinformatics for Optimal Management of Ground...
Five Example Application of Hydroinformatics for Optimal Management of Ground...
 

Recently uploaded

Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
only4webmaster01
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
gajnagarg
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
amitlee9823
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
karishmasinghjnh
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
amitlee9823
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
gajnagarg
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
amitlee9823
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 

Recently uploaded (20)

Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 

Quadratic Programming : KKT conditions with inequality constraints

  • 2. KKT CONDITION Karush–Kuhn–Tucker conditions or KKT conditions are used for finding solution to non- linear optimization problems It is used to solve non-linear problems only. Thus either objective or constraint equation must be non-linear. Only concave objective functions with convex constraint equations can be solved by this method.
  • 3. EXAMPLE PROBLEM TO SOLVE BY THE APPLICATION OF KKT CONDITION
  • 4. ANSWER The solution to the problem stated in the previous page can be solved by the following methods : 1) Application of Lagrangian Multiplier method of solving differential equations 2) Solve considering all constraints to be active 3)Solve considering all constraints to inactive 4)Solve considering only one among the two constraints to be inactive 5)Solve considering the other constraint to be inactive
  • 5. APPLICATION OF LAGRANGIAN MULTIPLIER METHOD OF SOLVING DIFFERENTIAL EQUATIONS How the equation A has come ? 1) Multiply Lambda 1 and Lambda 2 with the constraint functions(g1 and g2) 2) Add the objective function f with the summation of the product of Lambda 1 with g1 and Lambda 2 with g2 function 3) Let this equation(developed at Step 2) is equal to L(x1,x2,L1,L2) EQN A
  • 6. ASSUMING THAT BOTH g1 AND g2 IS ACTIVE EQN B HOW EQN B WAS DERIVED ? 1)EQN A was partially differentiated with respect to x1 to find Lx1 2) EQN A was partially differentiated with respect to x2 to find Lx2 3)EQN A was partially differentiated with respect to L1 to find LL1 4) EQN A was partially differentiated with respect to L2 to find LL2 Note : • While differentiating with x1,x2,L1 and L2 will be constant and similarly at the time of differentiating with x2, x1,L1 and L2 will be constant and so on. • In EQN B, the terms which were differentiated to zero is represented by a coefficient zero
  • 7. MATRIX FORM All the coefficients in the four equations of EQN B All the variables in the four equations of EQN B All the RHS in the four equations of EQN B If you solve the matrix you will get the following solution : x1 = 1 x2 = 1 L1=20 L2 = -8 Substituting x1,x2,L1 and L2 in f,g1 and g2 will give : f = -18, g1 = 0 and g2 = 0 Although the solution satisfies the constraint but as per KKT condition L2 can not be less than zero and as a result these solutions were found to be infeasible.
  • 8. ASSUMING THAT BOTH g1 AND g2 IS INACTIVE 1) Ignore the constraint functions g1 and g2,i.e.,assume L1 and L2 to be zero; to develop EQN C from EQN A 2) Partially differentiate the EQN C with respect to x1 and x2 to find EQN C1 and C2. 3) Putting x1 and x2 in g1 and g2 will give the value of g1 and g2 to be equal to 8 and 10 4) But as per the problem both g1 and g2 must be less than or equal to zero. So the solutions will be infeasible. EQN C EQN C1 EQN C2
  • 9. SOLVE CONSIDERING ONLY ONE AMONG THE TWO CONSTRAINTS TO BE INACTIVE : LET g1 BE ACTIVE 1) Ignore the constraint functions g2,i.e.,assume L2 to be zero; to develop EQN D from EQN A 2) Partially differentiate the EQN D with respect to x1,x2 and L1 to find EQN D1,D2 and D3 3) A matrix was also prepared with the cefficient,variables and RHS of the three equations 4) The matrix was solved to find the values of x1,x2 and L1 which is depicted in Eqn.D4. 5)Putting the values of Eqn.D4 in function f ,g1 and g2 will yield the values of these three functions as -26,0 and -2 respectively which also satisfies the criteria of optimality. So these solutions are feasible. EQN D EQN D1 EQN D2 EQN D3 x1 = 3 x2 = -1 L1 = 8 EQN.D4
  • 10. SOLVE CONSIDERING ONLY ONE AMONG THE TWO CONSTRAINTS TO BE INACTIVE : LET g2 BE ACTIVE 1) Ignore the constraint functions g1,i.e.,assume L1 to be zero; to develop EQN E from EQN A 2) Partially differentiate the EQN E with respect to x1,x2 and L2 to find EQN E1,E2 and E3 3) A matrix was also prepared with the cefficient,variables and RHS of the three equations 4) The matrix was solved to find the values of x1,x2 and L2 which is depicted in Eqn.E4. 5)Putting the values of Eqn.E4 in function f ,g1 and g2 will yield the values of g1 and g2 respectively as 2 and 0 respectively. As the g1 is greater than zero the solutions are infeasible(Ref Constraint function) EQN E EQN E1 EQN E2 EQN E3 x1 = 5 x2 = -1 L2 = 4 EQN.E4
  • 11. CONCLUSION Hence, the optimal solution was found at step 3 when g1 be active. f = -26 and g1 and g2 will be 0 and -2 f is at minima which is optimal condition here.