Quadratic Programming: Optimization of Chemical Processes
Quadratic Programming: Optimization of Chemical Processes
Submitted to
Submitted by
Avlesh Meena
(2014uch1576)
Amit Kumar Singh (2014uch1577)
Pranshu Pareek
(201uch1579)
Harshit Agarwal (2014uch1580)
Shruti Trivedi
(2014uch1583)
We begin this section by examining the KarushKuhn-Tucker conditions for the QP and see that
they turn out to be a set of linear equalities and
complementarity constraints.
Generic Problem
Minimize:
f(x) = cT x+ x TQx
Subject to: Ax = b
-(a)
X>= 0
where c is a vector of constant coefficients, A is an (m X n)
matrix, and Q is a symmetric matrix.
The vector x can contain slack variables, so the equality
constraints may contain some constraints that were originally
inequalities but have been converted to equalities by inserting
slacks.
Codes for quadratic programming allow arbitrary upper and lower
bounds on x; we assume x >= 0 only for simplicity.
If the equality constraints are independent then, the KTC are the
necessary conditions for an optimal solution of the QP. In
addition, if Q is positive-semidefinite , the QP objective
function is convex.
-(1)
-(2)
-(3)
-(4)
Sample problem
Question:
Minimize f(x) = 8 x 1 16 x 2 + x 1 2 + 4x 2 2
Subject to: x1 + x2 >= 5
x 1 <= 3
x 1 >= 0
x 2 >= 0
Solution: The data and variable definitions are
given below. As can be seen, the Q matrix is
positive definite so the KKT conditions are
necessary and sufficient for a global optimum.
cT=
Q=
b=
A=
x = (x 1 , x 2 ) , y = (y 1 , y 2 ) , = ( 1 , 2 ), v = (v 1 ,
v2)
8x 2
x1+x2
x1
+ 1 + 2 y1
+1
y2
+v
=8
= 16
=5
+v2 =3
+ 1+ 2 y 1
8x 2 + 1
y2
16
x1+x2
x1
3
+ a1
+v1
+v2
=8
=
+ a2
+ a3
=5
+ a4 =
Leaving
Variable
a2
(a1 , x
, a3 ,
x1
a3
a4 )
(a1 , x
,x
a4
(2, 2, 3,
0)
a1
(2, 2, 3,
0)
----
-----
, a4 )
(a1 , x 2 , x
1
4
5
, 1 )
(2 , x 2 , x
1
, 1 )
(8, 2, 3, 14
3)
(2, 2, 3,
0)