SlideShare a Scribd company logo
Convex Programming Problems
COP
Linear CPP
Non-linear
With Constrained
CPP
QPP
With
Unconstrained
Convex Set & Convex Function
Let SโŠ† Rn. The set S is called a convex set if for 0โ‰ค ๐œ† โ‰ค 1, ๐‘ฅ1, ๐‘ฅ2 โˆˆ ๐‘† โ‡’ ๐œ†๐‘ฅ1 + 1 โˆ’ ๐œ† ๐‘ฅ2 โˆˆ ๐‘†.
Convex Set
Convex Function
Let SโŠ† Rn
be a convex set and f: S โ†’ ๐‘…. ๐‘‡โ„Ž๐‘’๐‘› ๐‘“ ๐‘–๐‘  ๐‘๐‘Ž๐‘™๐‘™๐‘’๐‘‘ ๐‘Ž ๐‘๐‘œ๐‘›๐‘ฃ๐‘’๐‘ฅ ๐‘“๐‘ข๐‘›๐‘๐‘ก๐‘–๐‘œ๐‘› ๐‘–๐‘“ ๐‘“๐‘œ๐‘Ÿ ๐‘Ž๐‘™๐‘™ ๐‘ฅ1, ๐‘ฅ2 โˆˆ S and for all
0โ‰ค ๐œ† โ‰ค 1, we have
๐‘“ ๐œ†x1 + 1 โˆ’ ๐œ† x2 โ‰ค ๐œ†๐‘“ ๐‘ฅ1 + 1 โˆ’ ๐œ† ๐‘“ ๐‘ฅ2 .
0 ๐‘ฅ1 ๐‘ฅ2
๐‘ฅ
๐ต
๐ด
๐ถ
๐‘ƒ
๐ต
๐ด๐ต โ‰ค ๐ด๐ถ
Convex Function by Epigraph
Epigraph
Let SโŠ† ๐‘…๐‘› be a convex set and ๐‘“: ๐‘† โ†’ ๐‘…. Then the set ๐ธ๐‘“ โŠ† ๐‘…๐‘›+1 given by Ef = { x, ฮฑ : xฯต๐‘†, ๐›ผ๐œ–๐‘…, ๐‘“ ๐‘ฅ โ‰ค ๐›ผ} is
called epigraph of f.
Result:1 Let SโŠ† ๐‘…๐‘›
be a convex set and ๐‘“: ๐‘† โ†’ ๐‘….
Then ๐‘“ is a convex function on S if and only if its epigraph Ef is a convex
set.
๐ธ๐‘“
x
f(x)
Convex Function by Differentiability
Differentiable Convex Functions
Let SโŠ† Rn
be an open convex set and ๐‘“: ๐‘† โ†’ ๐‘… be ๐‘‘๐‘–๐‘“๐‘“๐‘’๐‘Ÿ๐‘’๐‘›๐‘ก๐‘–๐‘Ž๐‘๐‘™๐‘’. let ๐‘“ be a convex function on S.
Then, for all x1, x2 โˆˆ ๐‘†, ๐‘ค๐‘’ โ„Ž๐‘Ž๐‘ฃ๐‘’ ๐‘“ x1 โˆ’ ๐‘“ x2 โ‰ฅ x1 โˆ’ x2
T
โˆ‡๐‘“(๐‘ฅ2)
Result:2 Let SโŠ† Rn be an open convex set and ๐‘“: ๐‘† โ†’ R be differentiable. Then f is a convex function
on S if and only if for all x1, x2 โˆˆ ๐‘†, we have ๐’™๐Ÿ โˆ’ ๐’™๐Ÿ
๐‘ป[๐œต๐’‡ ๐’™๐Ÿ โˆ’ ๐œต๐’‡ ๐’™๐Ÿ ] โ‰ฅ ๐ŸŽ.
Result:3 If f: Rโ†’ ๐‘… , then ๐ซ๐ž๐ฌ๐ฎ๐ฅ๐ญ ๐Ÿ means x1 โˆ’ x2
T โˆ‡๐‘“โ€ฒ ๐‘ฅ1 โˆ’ โˆ‡๐‘“โ€ฒ ๐‘ฅ2 โ‰ฅ 0, ๐‘–. ๐‘’. ๐‘“๐‘œ๐‘Ÿ ๐‘ฅ1 โ‰ฅ ๐‘ฅ2, ๐‘“โ€ฒ ๐‘ฅ1 โ‰ฅ
๐‘“โ€ฒ ๐‘ฅ2 . ๐‘‡โ„Ž๐‘ข๐‘  ๐‘“โ€ฒ is an increasing function which is the well known definition of convexity of real valued
function of real variable.
Result:4 Let SโŠ† Rn
be an open convex set and ๐‘“: ๐‘† โ†’ R be ๐‘ก๐‘ค๐‘–๐‘๐‘’ ๐‘‘๐‘–๐‘“๐‘“๐‘’๐‘Ÿ๐‘’๐‘›๐‘ก๐‘–๐‘Ž๐‘๐‘™๐‘’. Then f is a convex function on
S if and only if the Hessian matrix ๐ป๐‘“ ๐‘ฅ is positive semi definite for all x โˆˆS.
Convex Optimization Problems
min f(x)
xโˆˆ ๐‘†
is convex optimization problem if
SโŠ† ๐‘…๐‘› convex set and ๐‘“ is a convex on S
max f(x)
xโˆˆ ๐‘†
is convex optimization problem if
SโŠ† ๐‘…๐‘› convex set and ๐‘“ is a concave on S
Result:5 If xโˆ—
be a local min point of the convex optimization problem of above problem.
Then, xโˆ—
is also its global min. point.
Result:6 The set of all optimal solutions of the convex optimization problem(above) is a convex set.
Result:7 Let SโŠ† Rn
be a convex set and ๐‘“: ๐‘† โ†’ R be a strictly convex function.
Then there is a unique minimizing point of ๐‘“ over S.
Convex Programming Problems
An Optimization problems can be of the form,
min or max f(x)
Subject to ๐’ˆ๐’Š ๐’™ โ‰ค ๐’๐’“ โ‰ฅ ๐ŸŽ ๐’Š = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ , ๐’Ž
These problems are called mathematical programming problems.
If a Problem is convex programming problem, then it is one of the form
min f(x)
Subject to ๐‘”๐‘– ๐‘ฅ โ‰ค 0
f, ๐‘”๐‘–, are convex
(i=1,2,3,โ€ฆ,m)
min f(x)
Subject to ๐‘”๐‘– ๐‘ฅ โ‰ฅ 0
f is convex, ๐‘”๐‘– are
concave
(i=1,2,3,โ€ฆ,m)
max f(x)
Subject to ๐‘”๐‘– ๐‘ฅ โ‰ค 0
f is concave ๐‘”๐‘–, are
convex
(i=1,2,3,โ€ฆ,m)
max f(x)
Subject to ๐‘”๐‘– ๐‘ฅ โ‰ฅ 0
f, ๐‘”๐‘–, are concave
(i=1,2,3,โ€ฆ,m)
โ‡“ โ‡“ โ‡“ โ‡“
Optimality Condition
Result:8 If ๐‘ฅโˆ— โˆˆ ๐‘… is a local min or local max point of ๐‘“ over R then ๐‘“โ€ฒ ๐‘ฅโˆ— = 0.
Result:9 (1) The point If ๐‘ฅโˆ— โˆˆ ๐‘… such that ๐‘“โ€ฒ ๐‘ฅโˆ— = 0, ๐‘–๐‘  ๐‘Ž๐‘› ๐‘ข๐‘›๐‘๐‘œ๐‘›๐‘ ๐‘ก๐‘Ÿ๐‘Ž๐‘–๐‘›๐‘’๐‘‘
๐‘™๐‘œ๐‘๐‘Ž๐‘™ min ๐‘๐‘œ๐‘–๐‘›๐‘ก ๐‘œ๐‘“ ๐‘“ ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘… ๐‘–๐‘“ ๐‘“โ€ฒโ€ฒ ๐‘ฅโˆ— > 0.
(2) The point If ๐‘ฅโˆ—
โˆˆ ๐‘… such that ๐‘“โ€ฒ
๐‘ฅโˆ—
= 0, ๐‘–๐‘  ๐‘Ž๐‘› ๐‘ข๐‘›๐‘๐‘œ๐‘›๐‘ ๐‘ก๐‘Ÿ๐‘Ž๐‘–๐‘›๐‘’๐‘‘
๐‘™๐‘œ๐‘๐‘Ž๐‘™ max ๐‘๐‘œ๐‘–๐‘›๐‘ก ๐‘œ๐‘“ ๐‘“ ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘… ๐‘–๐‘“ ๐‘“โ€ฒโ€ฒ
๐‘ฅโˆ—
< 0.
Result:10 (1) ๐ฟ๐‘’๐‘ก (๐‘ฅโˆ—, ๐‘ฆโˆ—) โˆˆ ๐‘…2 ๐‘๐‘’ ๐‘Ž ๐‘™๐‘œ๐‘๐‘Ž๐‘™ min ๐‘œ๐‘Ÿ ๐‘™๐‘œ๐‘๐‘Ž๐‘™ max ๐‘œ๐‘“ ๐‘“ ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘…2, ๐‘กโ„Ž๐‘’๐‘›
๐œ•๐‘“
๐œ•๐’™ ๐’™โˆ—,๐’šโˆ—
= ๐ŸŽ,
๐œ•๐‘“
๐œ•๐’š ๐’™โˆ—,๐’šโˆ—
= ๐ŸŽ,
(But that is only necessary result)
(2) ๐ฟ๐‘’๐‘ก (๐‘ฅโˆ—, ๐‘ฆโˆ—) โˆˆ ๐‘…2 is local min if Hessian matrix ๐ป๐‘“ ๐‘ฅโˆ—, ๐‘ฆโˆ— ๐‘–๐‘  ๐‘๐‘œ๐‘ ๐‘–๐‘ก๐‘–๐‘ฃ๐‘’ ๐‘‘๐‘’๐‘“๐‘–๐‘›๐‘–๐‘ก๐‘’.
๐‘‡โ„Ž๐‘’๐‘›, ๐‘ฅโˆ—
, ๐‘ฆโˆ—
๐‘–๐‘  ๐‘Ž ๐‘ ๐‘ก๐‘Ÿ๐‘–๐‘๐‘ก ๐‘™๐‘œ๐‘๐‘Ž๐‘™ min ๐‘๐‘œ๐‘–๐‘›๐‘ก ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘…2
.
(3) ๐ฟ๐‘’๐‘ก (๐‘ฅโˆ—, ๐‘ฆโˆ—) โˆˆ ๐‘…2 is local max if Hessian matrix ๐ป๐‘“ ๐‘ฅโˆ—, ๐‘ฆโˆ— ๐‘–๐‘  ๐‘›๐‘’๐‘”๐‘Ž๐‘ก๐‘–๐‘ฃ๐‘’ ๐‘‘๐‘’๐‘“๐‘–๐‘›๐‘–๐‘ก๐‘’.
๐‘‡โ„Ž๐‘’๐‘› ๐‘ฅโˆ—
, ๐‘ฆโˆ—
๐‘–๐‘  ๐‘Ž ๐‘ ๐‘ก๐‘Ÿ๐‘–๐‘๐‘ก ๐‘™๐‘œ๐‘๐‘Ž๐‘™ m๐‘Ž๐‘ฅ ๐‘๐‘œ๐‘–๐‘›๐‘ก ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘…2
.
Constrained Optimization
We Consider the general optimization problem
min ๐’‡ ๐’™
Subject to
๐’ˆ๐’Š ๐’™ โ‰ค ๐’ƒ๐’Š, (๐’Š = ๐Ÿ, ๐Ÿ, โ€ฆ , ๐’Ž) โ€ฆ(1)
How to Solve this types of problems using KKT
๏ƒ˜ First check objective function should be min. if
not then convert it.
๏ƒ˜ Add slack variables and write Lagrange's
function.
๏ƒ˜ Then Lagrange's function of above problem is
๐ฟ ๐‘ฅ, ๐‘ , ๐œ† = ๐‘“ ๐‘ฅ + ๐‘–=1
๐‘š
๐œ†๐‘–(๐‘”๐‘– ๐‘ฅ + ๐‘ ๐‘–
2
โˆ’ ๐‘๐‘–)
Where ๐œ† is Lagrange's multiplier, s is slack
variables.
Now optimality condition for optimal point (๐‘ฅโˆ—
, ๐‘ โˆ—
, ๐œ†โˆ—
) are
๐œต๐’‡ ๐’™โˆ— +
๐’Š=๐Ÿ
๐’Ž
๐€๐’Š
โˆ—
๐œต๐’ˆ๐’Š(๐’™โˆ—) = ๐ŸŽ
๐€๐’Š
โˆ—
๐’ˆ๐’Š ๐’™โˆ—
โˆ’ ๐’ƒ๐’Š = ๐ŸŽ (i=1,2,3, โ€ฆ ,m)
๐’ˆ๐’Š ๐’™ โ‰ค ๐’ƒ๐’Š (i=1,2,3, โ€ฆ ,m)
๐€๐’Š
โˆ—
โ‰ฅ ๐ŸŽ (i=1,2,3, โ€ฆ, m)
These are the KKT condition for the problem 1.
๐‘€๐‘–๐‘› โˆ’ ๐‘ฅ2
๐‘ . ๐‘ก.
๐‘ฅ1
2
+ ๐‘ฅ2
2
โ‰ค 4
โˆ’๐‘ฅ1
2
+ ๐‘ฅ2 โ‰ค 0
0,0 satisfy KKT condition but
not point of min.
Quadratic Programming Problem
Consider the general QPP
๐’Ž๐’Š๐’ ๐’™๐‘ป
๐‘ธ๐’™ + ๐’„๐‘ป
๐’™
๐’”. ๐’•. ๐‘จ๐’™ โ‰ค ๐’ƒ
๐’™ โ‰ฅ ๐ŸŽ โ€ฆ(2)
Where ๐‘„ = ๐‘ž๐‘–๐‘— ๐‘›โˆ—๐‘›
๐‘†๐‘ฆ๐‘š๐‘š๐‘ก๐‘’๐‘Ÿ๐‘–๐‘ ๐‘๐‘œ๐‘ ๐‘–๐‘ก๐‘–๐‘ฃ๐‘’
๐‘ ๐‘’๐‘š๐‘– โˆ’ ๐‘‘๐‘’๐‘“๐‘–๐‘›๐‘–๐‘ก๐‘’ ๐‘š๐‘Ž๐‘ก๐‘Ÿ๐‘–๐‘ฅ, ๐‘, ๐‘ฅ โˆˆ ๐‘…๐‘›
, ๐‘ โˆˆ ๐‘…๐‘š
&
๐ด = ๐‘Ž๐‘–๐‘— ๐‘šโˆ—๐‘›
KKT condition for QPP (2) is
๐Ÿ๐‘ธ๐’™ + ๐’„ + ๐‘จ๐‘ป๐€ โˆ’ ๐‘ฐ๐ = ๐ŸŽ
๐‘จ๐’™ โˆ’ ๐’ƒ + ๐’” = ๐ŸŽ
๐’™๐’‹, ๐€๐’Š, ๐๐’‹, ๐’”๐’Š โ‰ฅ ๐ŸŽ โˆ€ ๐’Š&๐’‹
๐€๐’Š๐’”๐’Š = ๐ŸŽ โˆ€ ๐’Š = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ , ๐’Ž
๐๐’‹๐’™๐’‹ = ๐ŸŽ โˆ€ ๐’‹ = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ ๐’
๐‘€๐‘–๐‘› ๐‘ฅ1 โˆ’ 4 2
+ ๐‘ฅ2 โˆ’ 4 2
๐‘ . ๐‘ก.
๐‘ฅ1 + ๐‘ฅ2 โ‰ค 4
๐‘ฅ1 โˆ’ ๐‘ฅ2 โ‰ค 1
๐‘ฅ1 โ‰ฅ 0, ๐‘ฅ2 โ‰ฅ 0
(2,2) is point of min.
Wolfeโ€™s Method for QPP
KKT condition for QPP (3) with ๐’Ž๐’Š๐’ โˆ’ ๐’‡(๐’™) is
โˆ’๐Ÿ๐‘ธ๐’™ + ๐‘จ๐‘ป๐€ โˆ’ ๐‘ฐ๐ = ๐’„
๐‘จ๐’™ + ๐’” = ๐’ƒ
๐’™๐’‹, ๐€๐’Š, ๐๐’‹, ๐’”๐’Š โ‰ฅ ๐ŸŽ โˆ€ ๐’Š&๐’‹
๐€๐’Š๐’”๐’Š = ๐ŸŽ โˆ€ ๐’Š = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ , ๐’Ž
๐๐’‹๐’™๐’‹ = ๐ŸŽ โˆ€ ๐’‹ = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ , ๐’
Consider the general QPP
๐’Ž๐’‚๐’™ ๐’‡ ๐’™ = ๐’™๐‘ป
๐‘ธ๐’™ + ๐’„๐‘ป
๐’™
๐’”. ๐’•. ๐‘จ๐’™ โ‰ค ๐’ƒ
๐’™ โ‰ฅ ๐ŸŽ โ€ฆ(3)
Where ๐‘„ = ๐‘ž๐‘–๐‘— ๐‘›โˆ—๐‘›
๐‘†๐‘ฆ๐‘š๐‘š๐‘ก๐‘’๐‘Ÿ๐‘–๐‘ ๐‘›๐‘’๐‘”๐‘Ž๐‘ก๐‘–๐‘ฃ๐‘’ ๐‘ ๐‘’๐‘š๐‘– โˆ’
๐‘‘๐‘’๐‘“๐‘–๐‘›๐‘–๐‘ก๐‘’ ๐‘š๐‘Ž๐‘ก๐‘Ÿ๐‘–๐‘ฅ, ๐‘, ๐‘ฅ โˆˆ ๐‘…๐‘›, ๐‘ โˆˆ ๐‘…๐‘š & ๐ด = ๐‘Ž๐‘–๐‘— ๐‘šโˆ—๐‘›
๐‘€๐‘Ž๐‘ฅ ๐‘ง = ๐‘ฅ1 + ๐‘ฅ2 โˆ’ ๐‘ฅ1
2
+ 2 ๐‘ฅ1๐‘ฅ2 โˆ’ 2 ๐‘ฅ2
2
๐‘ . ๐‘ก.
2๐‘ฅ1 + ๐‘ฅ2 โ‰ค 1
๐‘ฅ1, ๐‘ฅ2 โ‰ฅ 0
Thank You

More Related Content

Similar to CPP.pptx

Matlab lab manual
Matlab lab manualMatlab lab manual
Matlab lab manual
nmahi96
ย 
SVM (Support Vector Machine & Kernel)
SVM (Support Vector Machine & Kernel)SVM (Support Vector Machine & Kernel)
SVM (Support Vector Machine & Kernel)
SEMINARGROOT
ย 
Matrix Transformations on Some Difference Sequence Spaces
Matrix Transformations on Some Difference Sequence SpacesMatrix Transformations on Some Difference Sequence Spaces
Matrix Transformations on Some Difference Sequence Spaces
IOSR Journals
ย 
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
MuhannadSaleh
ย 
Some properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spacesSome properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spaces
IOSR Journals
ย 
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
TawseefAhmad25
ย 
conj.pdf
conj.pdfconj.pdf
conj.pdf
diehardgamer1
ย 
legendre.pptx
legendre.pptxlegendre.pptx
legendre.pptx
DiwakarChauhan12
ย 
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
Rai University
ย 
Existence, Uniqueness and Stability Solution of Differential Equations with B...
Existence, Uniqueness and Stability Solution of Differential Equations with B...Existence, Uniqueness and Stability Solution of Differential Equations with B...
Existence, Uniqueness and Stability Solution of Differential Equations with B...
iosrjce
ย 
Ch05 2
Ch05 2Ch05 2
Ch05 2
Rendy Robert
ย 
Introduction to the theory of optimization
Introduction to the theory of optimizationIntroduction to the theory of optimization
Introduction to the theory of optimization
Delta Pi Systems
ย 
Strong convexity on gradient descent and newton's method
Strong convexity on gradient descent and newton's methodStrong convexity on gradient descent and newton's method
Strong convexity on gradient descent and newton's method
SEMINARGROOT
ย 
05_AJMS_332_21.pdf
05_AJMS_332_21.pdf05_AJMS_332_21.pdf
05_AJMS_332_21.pdf
BRNSS Publication Hub
ย 
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
International Journal of Engineering Inventions www.ijeijournal.com
ย 
Lesson 21: More Algebra
Lesson 21: More AlgebraLesson 21: More Algebra
Lesson 21: More Algebra
Kevin Johnson
ย 
Waveguides
WaveguidesWaveguides
Waveguides
Modugu Srinivas
ย 
Taller grupal parcial ii nrc 3246 sebastian fueltala_kevin sรกnchez
Taller grupal parcial ii nrc 3246  sebastian fueltala_kevin sรกnchezTaller grupal parcial ii nrc 3246  sebastian fueltala_kevin sรกnchez
Taller grupal parcial ii nrc 3246 sebastian fueltala_kevin sรกnchez
kevinct2001
ย 
Imc2016 day2-solutions
Imc2016 day2-solutionsImc2016 day2-solutions
Imc2016 day2-solutions
Christos Loizos
ย 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
Abu Kaisar
ย 

Similar to CPP.pptx (20)

Matlab lab manual
Matlab lab manualMatlab lab manual
Matlab lab manual
ย 
SVM (Support Vector Machine & Kernel)
SVM (Support Vector Machine & Kernel)SVM (Support Vector Machine & Kernel)
SVM (Support Vector Machine & Kernel)
ย 
Matrix Transformations on Some Difference Sequence Spaces
Matrix Transformations on Some Difference Sequence SpacesMatrix Transformations on Some Difference Sequence Spaces
Matrix Transformations on Some Difference Sequence Spaces
ย 
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
ย 
Some properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spacesSome properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spaces
ย 
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
ย 
conj.pdf
conj.pdfconj.pdf
conj.pdf
ย 
legendre.pptx
legendre.pptxlegendre.pptx
legendre.pptx
ย 
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
ย 
Existence, Uniqueness and Stability Solution of Differential Equations with B...
Existence, Uniqueness and Stability Solution of Differential Equations with B...Existence, Uniqueness and Stability Solution of Differential Equations with B...
Existence, Uniqueness and Stability Solution of Differential Equations with B...
ย 
Ch05 2
Ch05 2Ch05 2
Ch05 2
ย 
Introduction to the theory of optimization
Introduction to the theory of optimizationIntroduction to the theory of optimization
Introduction to the theory of optimization
ย 
Strong convexity on gradient descent and newton's method
Strong convexity on gradient descent and newton's methodStrong convexity on gradient descent and newton's method
Strong convexity on gradient descent and newton's method
ย 
05_AJMS_332_21.pdf
05_AJMS_332_21.pdf05_AJMS_332_21.pdf
05_AJMS_332_21.pdf
ย 
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
ย 
Lesson 21: More Algebra
Lesson 21: More AlgebraLesson 21: More Algebra
Lesson 21: More Algebra
ย 
Waveguides
WaveguidesWaveguides
Waveguides
ย 
Taller grupal parcial ii nrc 3246 sebastian fueltala_kevin sรกnchez
Taller grupal parcial ii nrc 3246  sebastian fueltala_kevin sรกnchezTaller grupal parcial ii nrc 3246  sebastian fueltala_kevin sรกnchez
Taller grupal parcial ii nrc 3246 sebastian fueltala_kevin sรกnchez
ย 
Imc2016 day2-solutions
Imc2016 day2-solutionsImc2016 day2-solutions
Imc2016 day2-solutions
ย 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
ย 

Recently uploaded

Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
ย 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
ย 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
ย 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
ย 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
ย 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
ย 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Nguyen Thanh Tu Collection
ย 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
ย 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
ย 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
ย 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
ย 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Diana Rendina
ย 
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธชเธกเนƒเธˆ เธˆเธฑเธ™เธชเธธเธเธชเธต
ย 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
ย 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
ย 
MARY JANE WILSON, A โ€œBOA MรƒEโ€ .
MARY JANE WILSON, A โ€œBOA MรƒEโ€           .MARY JANE WILSON, A โ€œBOA MรƒEโ€           .
MARY JANE WILSON, A โ€œBOA MรƒEโ€ .
Colรฉgio Santa Teresinha
ย 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
ย 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
ย 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
ย 

Recently uploaded (20)

Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
ย 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
ย 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
ย 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
ย 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
ย 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
ย 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
ย 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
ย 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ย 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
ย 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
ย 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
ย 
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
ย 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
ย 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
ย 
MARY JANE WILSON, A โ€œBOA MรƒEโ€ .
MARY JANE WILSON, A โ€œBOA MรƒEโ€           .MARY JANE WILSON, A โ€œBOA MรƒEโ€           .
MARY JANE WILSON, A โ€œBOA MรƒEโ€ .
ย 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
ย 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
ย 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ย 

CPP.pptx

  • 1. Convex Programming Problems COP Linear CPP Non-linear With Constrained CPP QPP With Unconstrained
  • 2. Convex Set & Convex Function Let SโŠ† Rn. The set S is called a convex set if for 0โ‰ค ๐œ† โ‰ค 1, ๐‘ฅ1, ๐‘ฅ2 โˆˆ ๐‘† โ‡’ ๐œ†๐‘ฅ1 + 1 โˆ’ ๐œ† ๐‘ฅ2 โˆˆ ๐‘†. Convex Set Convex Function Let SโŠ† Rn be a convex set and f: S โ†’ ๐‘…. ๐‘‡โ„Ž๐‘’๐‘› ๐‘“ ๐‘–๐‘  ๐‘๐‘Ž๐‘™๐‘™๐‘’๐‘‘ ๐‘Ž ๐‘๐‘œ๐‘›๐‘ฃ๐‘’๐‘ฅ ๐‘“๐‘ข๐‘›๐‘๐‘ก๐‘–๐‘œ๐‘› ๐‘–๐‘“ ๐‘“๐‘œ๐‘Ÿ ๐‘Ž๐‘™๐‘™ ๐‘ฅ1, ๐‘ฅ2 โˆˆ S and for all 0โ‰ค ๐œ† โ‰ค 1, we have ๐‘“ ๐œ†x1 + 1 โˆ’ ๐œ† x2 โ‰ค ๐œ†๐‘“ ๐‘ฅ1 + 1 โˆ’ ๐œ† ๐‘“ ๐‘ฅ2 . 0 ๐‘ฅ1 ๐‘ฅ2 ๐‘ฅ ๐ต ๐ด ๐ถ ๐‘ƒ ๐ต ๐ด๐ต โ‰ค ๐ด๐ถ
  • 3. Convex Function by Epigraph Epigraph Let SโŠ† ๐‘…๐‘› be a convex set and ๐‘“: ๐‘† โ†’ ๐‘…. Then the set ๐ธ๐‘“ โŠ† ๐‘…๐‘›+1 given by Ef = { x, ฮฑ : xฯต๐‘†, ๐›ผ๐œ–๐‘…, ๐‘“ ๐‘ฅ โ‰ค ๐›ผ} is called epigraph of f. Result:1 Let SโŠ† ๐‘…๐‘› be a convex set and ๐‘“: ๐‘† โ†’ ๐‘…. Then ๐‘“ is a convex function on S if and only if its epigraph Ef is a convex set. ๐ธ๐‘“ x f(x)
  • 4. Convex Function by Differentiability Differentiable Convex Functions Let SโŠ† Rn be an open convex set and ๐‘“: ๐‘† โ†’ ๐‘… be ๐‘‘๐‘–๐‘“๐‘“๐‘’๐‘Ÿ๐‘’๐‘›๐‘ก๐‘–๐‘Ž๐‘๐‘™๐‘’. let ๐‘“ be a convex function on S. Then, for all x1, x2 โˆˆ ๐‘†, ๐‘ค๐‘’ โ„Ž๐‘Ž๐‘ฃ๐‘’ ๐‘“ x1 โˆ’ ๐‘“ x2 โ‰ฅ x1 โˆ’ x2 T โˆ‡๐‘“(๐‘ฅ2) Result:2 Let SโŠ† Rn be an open convex set and ๐‘“: ๐‘† โ†’ R be differentiable. Then f is a convex function on S if and only if for all x1, x2 โˆˆ ๐‘†, we have ๐’™๐Ÿ โˆ’ ๐’™๐Ÿ ๐‘ป[๐œต๐’‡ ๐’™๐Ÿ โˆ’ ๐œต๐’‡ ๐’™๐Ÿ ] โ‰ฅ ๐ŸŽ. Result:3 If f: Rโ†’ ๐‘… , then ๐ซ๐ž๐ฌ๐ฎ๐ฅ๐ญ ๐Ÿ means x1 โˆ’ x2 T โˆ‡๐‘“โ€ฒ ๐‘ฅ1 โˆ’ โˆ‡๐‘“โ€ฒ ๐‘ฅ2 โ‰ฅ 0, ๐‘–. ๐‘’. ๐‘“๐‘œ๐‘Ÿ ๐‘ฅ1 โ‰ฅ ๐‘ฅ2, ๐‘“โ€ฒ ๐‘ฅ1 โ‰ฅ ๐‘“โ€ฒ ๐‘ฅ2 . ๐‘‡โ„Ž๐‘ข๐‘  ๐‘“โ€ฒ is an increasing function which is the well known definition of convexity of real valued function of real variable. Result:4 Let SโŠ† Rn be an open convex set and ๐‘“: ๐‘† โ†’ R be ๐‘ก๐‘ค๐‘–๐‘๐‘’ ๐‘‘๐‘–๐‘“๐‘“๐‘’๐‘Ÿ๐‘’๐‘›๐‘ก๐‘–๐‘Ž๐‘๐‘™๐‘’. Then f is a convex function on S if and only if the Hessian matrix ๐ป๐‘“ ๐‘ฅ is positive semi definite for all x โˆˆS.
  • 5. Convex Optimization Problems min f(x) xโˆˆ ๐‘† is convex optimization problem if SโŠ† ๐‘…๐‘› convex set and ๐‘“ is a convex on S max f(x) xโˆˆ ๐‘† is convex optimization problem if SโŠ† ๐‘…๐‘› convex set and ๐‘“ is a concave on S Result:5 If xโˆ— be a local min point of the convex optimization problem of above problem. Then, xโˆ— is also its global min. point. Result:6 The set of all optimal solutions of the convex optimization problem(above) is a convex set. Result:7 Let SโŠ† Rn be a convex set and ๐‘“: ๐‘† โ†’ R be a strictly convex function. Then there is a unique minimizing point of ๐‘“ over S.
  • 6. Convex Programming Problems An Optimization problems can be of the form, min or max f(x) Subject to ๐’ˆ๐’Š ๐’™ โ‰ค ๐’๐’“ โ‰ฅ ๐ŸŽ ๐’Š = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ , ๐’Ž These problems are called mathematical programming problems. If a Problem is convex programming problem, then it is one of the form min f(x) Subject to ๐‘”๐‘– ๐‘ฅ โ‰ค 0 f, ๐‘”๐‘–, are convex (i=1,2,3,โ€ฆ,m) min f(x) Subject to ๐‘”๐‘– ๐‘ฅ โ‰ฅ 0 f is convex, ๐‘”๐‘– are concave (i=1,2,3,โ€ฆ,m) max f(x) Subject to ๐‘”๐‘– ๐‘ฅ โ‰ค 0 f is concave ๐‘”๐‘–, are convex (i=1,2,3,โ€ฆ,m) max f(x) Subject to ๐‘”๐‘– ๐‘ฅ โ‰ฅ 0 f, ๐‘”๐‘–, are concave (i=1,2,3,โ€ฆ,m) โ‡“ โ‡“ โ‡“ โ‡“
  • 7. Optimality Condition Result:8 If ๐‘ฅโˆ— โˆˆ ๐‘… is a local min or local max point of ๐‘“ over R then ๐‘“โ€ฒ ๐‘ฅโˆ— = 0. Result:9 (1) The point If ๐‘ฅโˆ— โˆˆ ๐‘… such that ๐‘“โ€ฒ ๐‘ฅโˆ— = 0, ๐‘–๐‘  ๐‘Ž๐‘› ๐‘ข๐‘›๐‘๐‘œ๐‘›๐‘ ๐‘ก๐‘Ÿ๐‘Ž๐‘–๐‘›๐‘’๐‘‘ ๐‘™๐‘œ๐‘๐‘Ž๐‘™ min ๐‘๐‘œ๐‘–๐‘›๐‘ก ๐‘œ๐‘“ ๐‘“ ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘… ๐‘–๐‘“ ๐‘“โ€ฒโ€ฒ ๐‘ฅโˆ— > 0. (2) The point If ๐‘ฅโˆ— โˆˆ ๐‘… such that ๐‘“โ€ฒ ๐‘ฅโˆ— = 0, ๐‘–๐‘  ๐‘Ž๐‘› ๐‘ข๐‘›๐‘๐‘œ๐‘›๐‘ ๐‘ก๐‘Ÿ๐‘Ž๐‘–๐‘›๐‘’๐‘‘ ๐‘™๐‘œ๐‘๐‘Ž๐‘™ max ๐‘๐‘œ๐‘–๐‘›๐‘ก ๐‘œ๐‘“ ๐‘“ ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘… ๐‘–๐‘“ ๐‘“โ€ฒโ€ฒ ๐‘ฅโˆ— < 0. Result:10 (1) ๐ฟ๐‘’๐‘ก (๐‘ฅโˆ—, ๐‘ฆโˆ—) โˆˆ ๐‘…2 ๐‘๐‘’ ๐‘Ž ๐‘™๐‘œ๐‘๐‘Ž๐‘™ min ๐‘œ๐‘Ÿ ๐‘™๐‘œ๐‘๐‘Ž๐‘™ max ๐‘œ๐‘“ ๐‘“ ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘…2, ๐‘กโ„Ž๐‘’๐‘› ๐œ•๐‘“ ๐œ•๐’™ ๐’™โˆ—,๐’šโˆ— = ๐ŸŽ, ๐œ•๐‘“ ๐œ•๐’š ๐’™โˆ—,๐’šโˆ— = ๐ŸŽ, (But that is only necessary result) (2) ๐ฟ๐‘’๐‘ก (๐‘ฅโˆ—, ๐‘ฆโˆ—) โˆˆ ๐‘…2 is local min if Hessian matrix ๐ป๐‘“ ๐‘ฅโˆ—, ๐‘ฆโˆ— ๐‘–๐‘  ๐‘๐‘œ๐‘ ๐‘–๐‘ก๐‘–๐‘ฃ๐‘’ ๐‘‘๐‘’๐‘“๐‘–๐‘›๐‘–๐‘ก๐‘’. ๐‘‡โ„Ž๐‘’๐‘›, ๐‘ฅโˆ— , ๐‘ฆโˆ— ๐‘–๐‘  ๐‘Ž ๐‘ ๐‘ก๐‘Ÿ๐‘–๐‘๐‘ก ๐‘™๐‘œ๐‘๐‘Ž๐‘™ min ๐‘๐‘œ๐‘–๐‘›๐‘ก ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘…2 . (3) ๐ฟ๐‘’๐‘ก (๐‘ฅโˆ—, ๐‘ฆโˆ—) โˆˆ ๐‘…2 is local max if Hessian matrix ๐ป๐‘“ ๐‘ฅโˆ—, ๐‘ฆโˆ— ๐‘–๐‘  ๐‘›๐‘’๐‘”๐‘Ž๐‘ก๐‘–๐‘ฃ๐‘’ ๐‘‘๐‘’๐‘“๐‘–๐‘›๐‘–๐‘ก๐‘’. ๐‘‡โ„Ž๐‘’๐‘› ๐‘ฅโˆ— , ๐‘ฆโˆ— ๐‘–๐‘  ๐‘Ž ๐‘ ๐‘ก๐‘Ÿ๐‘–๐‘๐‘ก ๐‘™๐‘œ๐‘๐‘Ž๐‘™ m๐‘Ž๐‘ฅ ๐‘๐‘œ๐‘–๐‘›๐‘ก ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘…2 .
  • 8. Constrained Optimization We Consider the general optimization problem min ๐’‡ ๐’™ Subject to ๐’ˆ๐’Š ๐’™ โ‰ค ๐’ƒ๐’Š, (๐’Š = ๐Ÿ, ๐Ÿ, โ€ฆ , ๐’Ž) โ€ฆ(1) How to Solve this types of problems using KKT ๏ƒ˜ First check objective function should be min. if not then convert it. ๏ƒ˜ Add slack variables and write Lagrange's function. ๏ƒ˜ Then Lagrange's function of above problem is ๐ฟ ๐‘ฅ, ๐‘ , ๐œ† = ๐‘“ ๐‘ฅ + ๐‘–=1 ๐‘š ๐œ†๐‘–(๐‘”๐‘– ๐‘ฅ + ๐‘ ๐‘– 2 โˆ’ ๐‘๐‘–) Where ๐œ† is Lagrange's multiplier, s is slack variables. Now optimality condition for optimal point (๐‘ฅโˆ— , ๐‘ โˆ— , ๐œ†โˆ— ) are ๐œต๐’‡ ๐’™โˆ— + ๐’Š=๐Ÿ ๐’Ž ๐€๐’Š โˆ— ๐œต๐’ˆ๐’Š(๐’™โˆ—) = ๐ŸŽ ๐€๐’Š โˆ— ๐’ˆ๐’Š ๐’™โˆ— โˆ’ ๐’ƒ๐’Š = ๐ŸŽ (i=1,2,3, โ€ฆ ,m) ๐’ˆ๐’Š ๐’™ โ‰ค ๐’ƒ๐’Š (i=1,2,3, โ€ฆ ,m) ๐€๐’Š โˆ— โ‰ฅ ๐ŸŽ (i=1,2,3, โ€ฆ, m) These are the KKT condition for the problem 1. ๐‘€๐‘–๐‘› โˆ’ ๐‘ฅ2 ๐‘ . ๐‘ก. ๐‘ฅ1 2 + ๐‘ฅ2 2 โ‰ค 4 โˆ’๐‘ฅ1 2 + ๐‘ฅ2 โ‰ค 0 0,0 satisfy KKT condition but not point of min.
  • 9. Quadratic Programming Problem Consider the general QPP ๐’Ž๐’Š๐’ ๐’™๐‘ป ๐‘ธ๐’™ + ๐’„๐‘ป ๐’™ ๐’”. ๐’•. ๐‘จ๐’™ โ‰ค ๐’ƒ ๐’™ โ‰ฅ ๐ŸŽ โ€ฆ(2) Where ๐‘„ = ๐‘ž๐‘–๐‘— ๐‘›โˆ—๐‘› ๐‘†๐‘ฆ๐‘š๐‘š๐‘ก๐‘’๐‘Ÿ๐‘–๐‘ ๐‘๐‘œ๐‘ ๐‘–๐‘ก๐‘–๐‘ฃ๐‘’ ๐‘ ๐‘’๐‘š๐‘– โˆ’ ๐‘‘๐‘’๐‘“๐‘–๐‘›๐‘–๐‘ก๐‘’ ๐‘š๐‘Ž๐‘ก๐‘Ÿ๐‘–๐‘ฅ, ๐‘, ๐‘ฅ โˆˆ ๐‘…๐‘› , ๐‘ โˆˆ ๐‘…๐‘š & ๐ด = ๐‘Ž๐‘–๐‘— ๐‘šโˆ—๐‘› KKT condition for QPP (2) is ๐Ÿ๐‘ธ๐’™ + ๐’„ + ๐‘จ๐‘ป๐€ โˆ’ ๐‘ฐ๐ = ๐ŸŽ ๐‘จ๐’™ โˆ’ ๐’ƒ + ๐’” = ๐ŸŽ ๐’™๐’‹, ๐€๐’Š, ๐๐’‹, ๐’”๐’Š โ‰ฅ ๐ŸŽ โˆ€ ๐’Š&๐’‹ ๐€๐’Š๐’”๐’Š = ๐ŸŽ โˆ€ ๐’Š = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ , ๐’Ž ๐๐’‹๐’™๐’‹ = ๐ŸŽ โˆ€ ๐’‹ = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ ๐’ ๐‘€๐‘–๐‘› ๐‘ฅ1 โˆ’ 4 2 + ๐‘ฅ2 โˆ’ 4 2 ๐‘ . ๐‘ก. ๐‘ฅ1 + ๐‘ฅ2 โ‰ค 4 ๐‘ฅ1 โˆ’ ๐‘ฅ2 โ‰ค 1 ๐‘ฅ1 โ‰ฅ 0, ๐‘ฅ2 โ‰ฅ 0 (2,2) is point of min.
  • 10. Wolfeโ€™s Method for QPP KKT condition for QPP (3) with ๐’Ž๐’Š๐’ โˆ’ ๐’‡(๐’™) is โˆ’๐Ÿ๐‘ธ๐’™ + ๐‘จ๐‘ป๐€ โˆ’ ๐‘ฐ๐ = ๐’„ ๐‘จ๐’™ + ๐’” = ๐’ƒ ๐’™๐’‹, ๐€๐’Š, ๐๐’‹, ๐’”๐’Š โ‰ฅ ๐ŸŽ โˆ€ ๐’Š&๐’‹ ๐€๐’Š๐’”๐’Š = ๐ŸŽ โˆ€ ๐’Š = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ , ๐’Ž ๐๐’‹๐’™๐’‹ = ๐ŸŽ โˆ€ ๐’‹ = ๐Ÿ, ๐Ÿ, ๐Ÿ‘, โ€ฆ , ๐’ Consider the general QPP ๐’Ž๐’‚๐’™ ๐’‡ ๐’™ = ๐’™๐‘ป ๐‘ธ๐’™ + ๐’„๐‘ป ๐’™ ๐’”. ๐’•. ๐‘จ๐’™ โ‰ค ๐’ƒ ๐’™ โ‰ฅ ๐ŸŽ โ€ฆ(3) Where ๐‘„ = ๐‘ž๐‘–๐‘— ๐‘›โˆ—๐‘› ๐‘†๐‘ฆ๐‘š๐‘š๐‘ก๐‘’๐‘Ÿ๐‘–๐‘ ๐‘›๐‘’๐‘”๐‘Ž๐‘ก๐‘–๐‘ฃ๐‘’ ๐‘ ๐‘’๐‘š๐‘– โˆ’ ๐‘‘๐‘’๐‘“๐‘–๐‘›๐‘–๐‘ก๐‘’ ๐‘š๐‘Ž๐‘ก๐‘Ÿ๐‘–๐‘ฅ, ๐‘, ๐‘ฅ โˆˆ ๐‘…๐‘›, ๐‘ โˆˆ ๐‘…๐‘š & ๐ด = ๐‘Ž๐‘–๐‘— ๐‘šโˆ—๐‘› ๐‘€๐‘Ž๐‘ฅ ๐‘ง = ๐‘ฅ1 + ๐‘ฅ2 โˆ’ ๐‘ฅ1 2 + 2 ๐‘ฅ1๐‘ฅ2 โˆ’ 2 ๐‘ฅ2 2 ๐‘ . ๐‘ก. 2๐‘ฅ1 + ๐‘ฅ2 โ‰ค 1 ๐‘ฅ1, ๐‘ฅ2 โ‰ฅ 0