A Technique For Solving Special Type Quadratic Programming Problems
A Technique For Solving Special Type Quadratic Programming Problems
where A = is a
In addition we assume that
matrix, b , x, c , . Here we and
In general, a quadratic programming problem is solved Then the new value of the basic variables in terms of the
starting with some which satisfies the constraints but does original ones and are as follows:
not necessarily maximize Then is replaced by a series
, and
of other (not necessarily basic feasible solutions) all of
which satisfy the constraints until the required solution is (Say)
obtained.There are many methods for solving (QP). Among
them Wolf’s [4] method, Swarup’s [5] simplex type method Where
and Gupta and Sharm’s [1] 2-basic variable replacement
New optimizing value
method are noteworthy. In this paper, we develop a
computer technique for solving special type (quasi-concave)
of QP problem in which the objective function can be
factorized. Then compare the values of the objective
function at these points in order to choose the optimal
solution. We will introduce a computational technique to
solve the QP problems by using computer algebra
Mathematica [11].
where and
The rest of the paper is organized as follows.
In Section II, we present the simplex type method
of Swarup [5] with numerical example.
In Section III, we present our technique along with
algorithm. We then conclude the paper in Section IV.
Swarup’s Simplex Type Method for Solving QP
Numerical Example
Maximize
But for non degenerate case
subject to , ,
,
where
Hence we must have, Solution
Introduction the slack variables to the constraints we get the
Thus the solution can be improved until for all initial table as follows:
Whenever all for all
0 0 1 0 1 0 0 4
0 0 2 3 0 0 1 0 3
0 0 0 1 4 0 0 1 3
1
2 4 1 0 0 0
1 1 3 0 0 0
3/2 4/3 ¾ - - -
8 43/3 11/2 - - -
212 M. Babul Hasan
Table.2
2 4 1 0 0 0
1 1 2 0 0 0 b
2/3 0 1 -4/3 0 0
2/3 0 2 -1/3 0 0
1 - 5/12 4 - -
62/9 - 101/6 -43/9 - -
Table.3
2 4 1 0 0 0
1 1 2 0 0 0 b
1 - - 4 - -
75/8 - - 11/2 - 101/24
-
Table.4
2 4 1 0 0 0
1 1 2 0 0 0 b
4 1 0 1 0 2/5 -1/5 0 1
2 1 1 0 0 -1/5 3/5 0 1
1 2 0 0 1 -1/10 1/20 1/4 1/2
- - - 5/2 5/3 2
- - - -11/2 -45/8 -19/4
A Technique for Solving Special Type Quadratic Programming Problems 213
Since all is non positive in Table-4, it gives the global Step 3: Test whether the linear system of equations has
unique solution or not.
optimal solution.
Step 4: If the system of linear equations has got any unique
Hence the optimal solution is
solution, find it.
with global
Step 5: Dropping the solutions with negative elements,
maximum, . determine all basic feasible solutions.
III. Algorithm for Solving Special Type QP Step 6: Calculate the values of the objective function for
In this section, we present the computational technique the basic feasible solution found in step 5.
for solving the QP problems. In 2000, Hasan et. al. [10] Step7: For the maximization of QP the maximum value of
developed a computer oriented solution method for solving is the optimal value of the objective function, and the
the LP problems. In this study, we will extend that method basic feasible solution which yields the optimal value is the
for solving the QP problems. We will see that, this method optimal Solution.
will help us to solve QP problems easily and to avoid the
clumsy and time consuming methods of Swarup [5] and Computer code for solving special type QP
other methods. In this section, we present our method for solving QP
Step 1: Express the QP to its standard form. problems using computer algebra Mathematica.
INPUT:
OUTPUT: