SlideShare a Scribd company logo
1 of 7
Download to read offline
Dhaka Univ. J. Sci. 60(2): 209-215, 2012 (July)
*Author for correspondence
A Technique for Solving Special Type Quadratic Programming Problems
M. Babul Hasan
Department of Mathematics, University of Dhaka, Dhaka-1000, Bangladesh
Email: mbabulhasan@yahoo.com
Received on 20. 07. 2011. Accepted for Publication on 22. 02. 2012.
Abstract
Because of its usefulness in production planning, financial and corporate planning, health care and hospital planning, quadratic
programming (QP) problems have attracted considerable research and interest in recent years. In this paper, we first extend the simplex
method for solving QP problems by replacing one basic variable at an iteration of simplex method. We then develop an algorithm and a
computer technique for solving quadratic programming problem involving the product of two indefinite factorized linear functions. For
developing the technique, we use programming language MATHEMATICA. We also illustrate numerical examples to demonstrate our
technique.
Key Words: Quadratic programming, simplex method, algorithm, computer technique
I. Introduction
Non-linear Programming is a mathematical technique for
determining the optimal solutions to many business
problems. In a non-linear programming problem, either the
objective function is non-linear, or one or more constraints
have non-linear relationship or both.
General Non-linear Programming Problem
Let be a real valued function of variables defined
(a) ,
Let be a set of constraints such that
(b)
.
.
where are real valued functions of variables
.
Finally, let
(c) xj ≥ 0. j = 1, 2, ... ... ... .. m
If either or
some ; or
both are non-linear, then the problem of determining the n-
type which makes a maximum or
minimum and satisfies (b) and (c), is called a general non-
linear programming (GNLP) problem. An NLP may be non-
linearly constrained or linearly constrained. If the objective
of a linearly constrained NLP is a quadratic function then
this problem is called quadratic programming (QP) problem.
That is, quadratic programming is concerned with the NLPP
of maximizing (or minimizing) the quadratic objective
function, subject to a set of linear inequality constraints.
Quadratic programming problem
Let and .Let be a symmetric real
matrix.Then,
Maximize
subject to the constraints and
where and in a real matrix, is called
a general quadratic programming problem.
Note: represents a quadratic form.The reader may
recall that a quadratic form is said to be positive-
definite (negative definite) if for
and positive-semi-definite (negative-semi-definite)
if for all such that there is one
satisfying .
It can easily be shown that
1. If is positive-semi-definite (negative-semi-
definite) then it is convex (concave) in over all of ,
and
2. If is positive-definite (negative-definite) then it is
strictly convex (strictly concave) in over all of .
These results help in determining whether the quadratic
objective function is concave (convex) and the
implication of the same on the sufficiency of the Karush-
Khun-Tucker conditioin for constrained maxima (minima)
of .
M. Babul Hasan
Special type Quadratic programming problem
In this chapter, we consider the quasi-concave quadratic
programming problem (QP) subject to linear constraints as
follows:
(QP):Maximize
subject to ,
where A = is a
matrix, b , x, c , . Here we
assume that
(i) and are positive for all
feasible solution.
(ii) The constraints set
is non
empty and bounded.
In general, a quadratic programming problem is solved
starting with some which satisfies the constraints but does
not necessarily maximize Then is replaced by a series
of other (not necessarily basic feasible solutions) all of
which satisfy the constraints until the required solution is
obtained.There are many methods for solving (QP). Among
them Wolf’s [4] method, Swarup’s [5] simplex type method
and Gupta and Sharm’s [1] 2-basic variable replacement
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].
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
Adding slack variables to the
constraints of (QP), we have the standard (QP) as
follows:
(QPI): Maximize
subject to ,
Where are defined as in Section
Let be the initial basic feasible solution to the (QP).
Then where ,
Also let , and
In addition we assume that
and
Now let be another basic feasible solution where
is the basis in which is
replaced by of but not in .Then the columns of
are given by
for , and
Then the new value of the basic variables in terms of the
original ones and are as follows:
, and
(Say)
Where
New optimizing value
where and
Similary,
Hence
210
A Technique for Solving Special Type Quadratic Programming Problems
Optimality condition
The value of the objective function will improve If
But for non degenerate case
where
Hence we must have,
Thus the solution can be improved until for all
Whenever all for all
at a simplex table, the solution becomes
optimal and the process terminates.
Criterion1: (Choice of the entering variable)
To identify the entering variable, choose the uth column of
A for which is the greatest positive ; j = 1, 2,…, n
Criterion 2: (Choice of the outgoing variable)
Choose for which
Numerical Example
Maximize
subject to , ,
,
Solution
Introduction the slack variables to the constraints we get the
initial table as follows:
Table. 1. (Initial table)
2 4 1 0 0 0
b
1 1 2 0 0 0
0
0
0
0
0
0
1
2
0 1
1
0
0
4
1
0
0
0
1
0
0
0
1
4
3
3
2
1
4
1
1
3
0
0
0
0
0
0
3/2
8
4/3
43/3
¾
11/2
-
-
-
-
-
-
3
211
M. Babul Hasan
Table.2
2
1
4
1
1
2
0
0
0
0
0
0 b
4
0
0
1
0
0
1/3
5/3
-1/3
1
0
0
0
0
1/3
-1/3
-1/3
0
1
0
0
0
1
4/3
5/3
5/3
2/3
2/3
0
0
1
2
-4/3
-1/3
0
0
0
0
1
62/9
-
-
5/12
101/6
4
-43/9
-
-
-
-
Table.3
2
1
4
1
1
2
0
0
0
0
0
0 b
4
0
0
1
0
0
1/3
-1/12
1
0
0
0
0
1
1/3
-1/3
-1/12
0
1
0
0
0
1/4
4/3
5/3
5/1
3/4
5/6
0
0
0
2
-5/4
-1/6
0
0
-1/4
-1/2
1
75/8
-
-
-
-
4
11/2
-
-
-
101/24
-
Table.4
2
1
4
1
1
2
0
0
0
0
0
0 b
4
2
1
1
1
2
0
1
0
1
0
0
0
0
1
2/5
-1/5
-1/10
-1/5
3/5
1/20
0
0
1/4
1
1
1/2
0
0
0
0
0
0
-11/10
0
-9/20
-1/2
-1/4
-1/2
-
-
-
-
-
-
5/2
-11/2
5/3
-45/8
2
-19/4
4
5/3
212
A Technique for Solving Special Type Quadratic Programming Problems
Since all is non positive in Table-4, it gives the global
optimal solution.
Hence the optimal solution is
with global
maximum, .
III. Algorithm for Solving Special Type QP
In this section, we present the computational technique
for solving the QP problems. In 2000, Hasan et. al. [10]
developed a computer oriented solution method for solving
the LP problems. In this study, we will extend that method
for solving the QP problems. We will see that, this method
will help us to solve QP problems easily and to avoid the
clumsy and time consuming methods of Swarup [5] and
other methods.
Step 1: Express the QP to its standard form.
Step 2: Find all sub-matrices of the coefficient
matrix by setting variables equal to zero.
Step 3: Test whether the linear system of equations has
unique solution or not.
Step 4: If the system of linear equations has got any unique
solution, find it.
Step 5: Dropping the solutions with negative elements,
determine all basic feasible solutions.
Step 6: Calculate the values of the objective function for
the basic feasible solution found in step 5.
Step7: For the maximization of QP the maximum value of
is the optimal value of the objective function, and the
basic feasible solution which yields the optimal value is the
optimal Solution.
Computer code for solving special type QP
In this section, we present our method for solving QP
problems using computer algebra Mathematica.
213
M. Babul Hasan
INPUT:
OUTPUT:
Graphical representation gives the actual concept of the
problems. As, this is an optimization problem, we present
graphical representation of this problem in the next section
in order to achieve a more visual concept of the solutions
of the given problem.
Graphical representation of numerical example of
Section 2:
214
A Technique for Solving Special Type Quadratic Programming Problems
We observed that with Swarup’s [5] method we
experienced complex calculations for the simplex tables.
For solving problems with “  type” or “= type”
constraints, one needs to solve that problem by Two-phase
or Big-M simplex method which is clumsy and time
consuming. But by our method, we just had to compute the
coefficient matrix A, right hand side constant b, cost
coefficient vectors c and d and the constants  and  in
the same program and easily obtained the optimal solution.
Our method is also able to solve degenerate and cycling
problems easily whereas the simplex method is proved to
be inconvenient for solving such problems.
IV. Conclusion
In this paper, we developed a computer technique for
solving special type (Quasi-Concave) of quadratic
programming in which the objective function can be
factorized. We illustrated the solution procedure developed
by us with a numerical example. We observed that the
result obtained by our procedure is completely identical
with that of the other methods which are laborious and time
consuming and clumsy. We therefore, hope that our
program can be used as an effective tool for solving special
type QP problems in which the objective function can be
factorized and hence our time and labor can be saved.
…………..
1. Swarup, K., P. k. Gupta and Man Mohan, 2003,”Tracts in
Operations Research”, Eleventh Thoroughly Revised
Edition,ISBN:81-8054-059-6
2. Frederick S. Hillier and Gerald J. Lieberman, McGraw-Hill
International Edition 1995, ” Introduction to Operations
Research”
3. Wayne L. Winston, (1994), “Application and algorithms,”
Dexbury press, Belmont, California, U.S.A.
4. Wolfe, P., (1959), “The simplex method for quadratic
programming,” Econometrica, 27(3), 382-398.
5. Swarup, K. 1966, “Quadratic Programming” CCERO
(Belgium), 8(2), 132-136.
6. Swarup, K., 1964, “Linear fractional functional
programming,” Operations Research, 13 (6), 1029-1036.
7. Dantzig, G.B., 1962, “Linear programming and extension,”
Princeton University press, Princeton,N.J.
8. Hasan, M.B. and M.A.Islam, 2001, “Generalization of
simplex method for solving fractional programming
problems,” The Dhaka University Journal of Science, 53(1),
111-118.
9. Hasan, M.B. (2008), “Solution of Linear Fractional
Programming Problems through Computer Algebra”, The
Dhaka University Journal of Science, 57(1),
10. Hasan, M. B., A.F.M.K Khan and M. A. Islam, 2001, “Basic
solutions of linear system of equations through computer
algebrs,” Ganit, Journal of Bangladesh Mathematical Society,
21 (1), 39-45.
11. Wolfram, S. 2000, “Mathematica,” Addision-Wesly
Publishing Company, Melno Park, California, New York.
215
View publication stats
View publication stats

More Related Content

Similar to A Technique For Solving Special Type Quadratic Programming Problems

Balaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptxBalaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptxMayurkumarpatil1
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxKOUSHIkPIPPLE
 
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMSA NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMSorajjournal
 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...SSA KPI
 
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...IOSR Journals
 
An Exact Branch And Bound Algorithm For The General Quadratic Assignment Problem
An Exact Branch And Bound Algorithm For The General Quadratic Assignment ProblemAn Exact Branch And Bound Algorithm For The General Quadratic Assignment Problem
An Exact Branch And Bound Algorithm For The General Quadratic Assignment ProblemJoe Andelija
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! EdholeEdhole.com
 
Local Binary Fitting Segmentation by Cooperative Quantum Particle Optimization
Local Binary Fitting Segmentation by Cooperative Quantum Particle OptimizationLocal Binary Fitting Segmentation by Cooperative Quantum Particle Optimization
Local Binary Fitting Segmentation by Cooperative Quantum Particle OptimizationTELKOMNIKA JOURNAL
 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methodsMayurjyotiNeog
 
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxCHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxGodisgoodtube
 
Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...Zac Darcy
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations researchsmumbahelp
 
arijit ppt (1) (1).pptx
arijit ppt (1) (1).pptxarijit ppt (1) (1).pptx
arijit ppt (1) (1).pptxRadharamanRoy3
 
The New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective ProblemsThe New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective Problemsijfcstjournal
 
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMSTHE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMSijfcstjournal
 
A Robust Method Based On LOVO Functions For Solving Least Squares Problems
A Robust Method Based On LOVO Functions For Solving Least Squares ProblemsA Robust Method Based On LOVO Functions For Solving Least Squares Problems
A Robust Method Based On LOVO Functions For Solving Least Squares ProblemsDawn Cook
 
Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfTsegay Berhe
 
APPLYING TRANSFORMATION CHARACTERISTICS TO SOLVE THE MULTI OBJECTIVE LINEAR F...
APPLYING TRANSFORMATION CHARACTERISTICS TO SOLVE THE MULTI OBJECTIVE LINEAR F...APPLYING TRANSFORMATION CHARACTERISTICS TO SOLVE THE MULTI OBJECTIVE LINEAR F...
APPLYING TRANSFORMATION CHARACTERISTICS TO SOLVE THE MULTI OBJECTIVE LINEAR F...ijcsit
 
Applying Transformation Characteristics to Solve the Multi Objective Linear F...
Applying Transformation Characteristics to Solve the Multi Objective Linear F...Applying Transformation Characteristics to Solve the Multi Objective Linear F...
Applying Transformation Characteristics to Solve the Multi Objective Linear F...AIRCC Publishing Corporation
 

Similar to A Technique For Solving Special Type Quadratic Programming Problems (20)

Balaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptxBalaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptx
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
 
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMSA NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
 
KMAP PAPER (1)
KMAP PAPER (1)KMAP PAPER (1)
KMAP PAPER (1)
 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
 
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
 
An Exact Branch And Bound Algorithm For The General Quadratic Assignment Problem
An Exact Branch And Bound Algorithm For The General Quadratic Assignment ProblemAn Exact Branch And Bound Algorithm For The General Quadratic Assignment Problem
An Exact Branch And Bound Algorithm For The General Quadratic Assignment Problem
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! Edhole
 
Local Binary Fitting Segmentation by Cooperative Quantum Particle Optimization
Local Binary Fitting Segmentation by Cooperative Quantum Particle OptimizationLocal Binary Fitting Segmentation by Cooperative Quantum Particle Optimization
Local Binary Fitting Segmentation by Cooperative Quantum Particle Optimization
 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methods
 
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxCHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
 
Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
arijit ppt (1) (1).pptx
arijit ppt (1) (1).pptxarijit ppt (1) (1).pptx
arijit ppt (1) (1).pptx
 
The New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective ProblemsThe New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective Problems
 
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMSTHE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
 
A Robust Method Based On LOVO Functions For Solving Least Squares Problems
A Robust Method Based On LOVO Functions For Solving Least Squares ProblemsA Robust Method Based On LOVO Functions For Solving Least Squares Problems
A Robust Method Based On LOVO Functions For Solving Least Squares Problems
 
Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdf
 
APPLYING TRANSFORMATION CHARACTERISTICS TO SOLVE THE MULTI OBJECTIVE LINEAR F...
APPLYING TRANSFORMATION CHARACTERISTICS TO SOLVE THE MULTI OBJECTIVE LINEAR F...APPLYING TRANSFORMATION CHARACTERISTICS TO SOLVE THE MULTI OBJECTIVE LINEAR F...
APPLYING TRANSFORMATION CHARACTERISTICS TO SOLVE THE MULTI OBJECTIVE LINEAR F...
 
Applying Transformation Characteristics to Solve the Multi Objective Linear F...
Applying Transformation Characteristics to Solve the Multi Objective Linear F...Applying Transformation Characteristics to Solve the Multi Objective Linear F...
Applying Transformation Characteristics to Solve the Multi Objective Linear F...
 

More from Joaquin Hamad

Christmas Present Writing Template (Teacher Made)
Christmas Present Writing Template (Teacher Made)Christmas Present Writing Template (Teacher Made)
Christmas Present Writing Template (Teacher Made)Joaquin Hamad
 
Free Narrative Essay Examples
Free Narrative Essay ExamplesFree Narrative Essay Examples
Free Narrative Essay ExamplesJoaquin Hamad
 
Writing A Case Study Analysis - 500 MBA Leve
Writing A Case Study Analysis - 500 MBA LeveWriting A Case Study Analysis - 500 MBA Leve
Writing A Case Study Analysis - 500 MBA LeveJoaquin Hamad
 
Top Essay Writing Servic
Top Essay Writing ServicTop Essay Writing Servic
Top Essay Writing ServicJoaquin Hamad
 
Importance Of Secondary Speech And English Educ
Importance Of Secondary Speech And English EducImportance Of Secondary Speech And English Educ
Importance Of Secondary Speech And English EducJoaquin Hamad
 
Argumentative Essay Structure Coretan
Argumentative Essay Structure CoretanArgumentative Essay Structure Coretan
Argumentative Essay Structure CoretanJoaquin Hamad
 
021 Personal Essays For College Examp
021 Personal Essays For College Examp021 Personal Essays For College Examp
021 Personal Essays For College ExampJoaquin Hamad
 
Why Do You Want To Be An Engineer College Essay
Why Do You Want To Be An Engineer College EssayWhy Do You Want To Be An Engineer College Essay
Why Do You Want To Be An Engineer College EssayJoaquin Hamad
 
Red And Blue Lined Handwriting Paper Printable
Red And Blue Lined Handwriting Paper PrintableRed And Blue Lined Handwriting Paper Printable
Red And Blue Lined Handwriting Paper PrintableJoaquin Hamad
 
The 25 Best Persuasive Writing Prompts Ideas On Pi
The 25 Best Persuasive Writing Prompts Ideas On PiThe 25 Best Persuasive Writing Prompts Ideas On Pi
The 25 Best Persuasive Writing Prompts Ideas On PiJoaquin Hamad
 
Ginger Snaps Presidents Day Freebie
Ginger Snaps Presidents Day FreebieGinger Snaps Presidents Day Freebie
Ginger Snaps Presidents Day FreebieJoaquin Hamad
 
Writing A Short Essay Essay Stru
Writing A Short Essay Essay StruWriting A Short Essay Essay Stru
Writing A Short Essay Essay StruJoaquin Hamad
 
005 How To Write An Academic Essay Example
005 How To Write An Academic Essay Example005 How To Write An Academic Essay Example
005 How To Write An Academic Essay ExampleJoaquin Hamad
 
My Writing A Perfect Paper Immigrant.Com.Tw
My Writing A Perfect Paper Immigrant.Com.TwMy Writing A Perfect Paper Immigrant.Com.Tw
My Writing A Perfect Paper Immigrant.Com.TwJoaquin Hamad
 
Free Printable Lined Paper With Decorative Borders -
Free Printable Lined Paper With Decorative Borders -Free Printable Lined Paper With Decorative Borders -
Free Printable Lined Paper With Decorative Borders -Joaquin Hamad
 
Expository Essay Argumentative Paragraph S
Expository Essay Argumentative Paragraph SExpository Essay Argumentative Paragraph S
Expository Essay Argumentative Paragraph SJoaquin Hamad
 
Breathtaking Critical Essay
Breathtaking Critical EssayBreathtaking Critical Essay
Breathtaking Critical EssayJoaquin Hamad
 
How To Write Speech Essay. How To Write A
How To Write Speech Essay. How To Write AHow To Write Speech Essay. How To Write A
How To Write Speech Essay. How To Write AJoaquin Hamad
 

More from Joaquin Hamad (20)

Hetyps - Blog
Hetyps - BlogHetyps - Blog
Hetyps - Blog
 
Christmas Present Writing Template (Teacher Made)
Christmas Present Writing Template (Teacher Made)Christmas Present Writing Template (Teacher Made)
Christmas Present Writing Template (Teacher Made)
 
Free Narrative Essay Examples
Free Narrative Essay ExamplesFree Narrative Essay Examples
Free Narrative Essay Examples
 
Writing A Case Study Analysis - 500 MBA Leve
Writing A Case Study Analysis - 500 MBA LeveWriting A Case Study Analysis - 500 MBA Leve
Writing A Case Study Analysis - 500 MBA Leve
 
Top Essay Writing Servic
Top Essay Writing ServicTop Essay Writing Servic
Top Essay Writing Servic
 
Importance Of Secondary Speech And English Educ
Importance Of Secondary Speech And English EducImportance Of Secondary Speech And English Educ
Importance Of Secondary Speech And English Educ
 
Argumentative Essay Structure Coretan
Argumentative Essay Structure CoretanArgumentative Essay Structure Coretan
Argumentative Essay Structure Coretan
 
021 Personal Essays For College Examp
021 Personal Essays For College Examp021 Personal Essays For College Examp
021 Personal Essays For College Examp
 
Why Do You Want To Be An Engineer College Essay
Why Do You Want To Be An Engineer College EssayWhy Do You Want To Be An Engineer College Essay
Why Do You Want To Be An Engineer College Essay
 
Red And Blue Lined Handwriting Paper Printable
Red And Blue Lined Handwriting Paper PrintableRed And Blue Lined Handwriting Paper Printable
Red And Blue Lined Handwriting Paper Printable
 
The 25 Best Persuasive Writing Prompts Ideas On Pi
The 25 Best Persuasive Writing Prompts Ideas On PiThe 25 Best Persuasive Writing Prompts Ideas On Pi
The 25 Best Persuasive Writing Prompts Ideas On Pi
 
Ginger Snaps Presidents Day Freebie
Ginger Snaps Presidents Day FreebieGinger Snaps Presidents Day Freebie
Ginger Snaps Presidents Day Freebie
 
Writing A Short Essay Essay Stru
Writing A Short Essay Essay StruWriting A Short Essay Essay Stru
Writing A Short Essay Essay Stru
 
Pin Em SAT MISSION
Pin Em SAT MISSIONPin Em SAT MISSION
Pin Em SAT MISSION
 
005 How To Write An Academic Essay Example
005 How To Write An Academic Essay Example005 How To Write An Academic Essay Example
005 How To Write An Academic Essay Example
 
My Writing A Perfect Paper Immigrant.Com.Tw
My Writing A Perfect Paper Immigrant.Com.TwMy Writing A Perfect Paper Immigrant.Com.Tw
My Writing A Perfect Paper Immigrant.Com.Tw
 
Free Printable Lined Paper With Decorative Borders -
Free Printable Lined Paper With Decorative Borders -Free Printable Lined Paper With Decorative Borders -
Free Printable Lined Paper With Decorative Borders -
 
Expository Essay Argumentative Paragraph S
Expository Essay Argumentative Paragraph SExpository Essay Argumentative Paragraph S
Expository Essay Argumentative Paragraph S
 
Breathtaking Critical Essay
Breathtaking Critical EssayBreathtaking Critical Essay
Breathtaking Critical Essay
 
How To Write Speech Essay. How To Write A
How To Write Speech Essay. How To Write AHow To Write Speech Essay. How To Write A
How To Write Speech Essay. How To Write A
 

Recently uploaded

Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 

Recently uploaded (20)

Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 

A Technique For Solving Special Type Quadratic Programming Problems

  • 1. Dhaka Univ. J. Sci. 60(2): 209-215, 2012 (July) *Author for correspondence A Technique for Solving Special Type Quadratic Programming Problems M. Babul Hasan Department of Mathematics, University of Dhaka, Dhaka-1000, Bangladesh Email: mbabulhasan@yahoo.com Received on 20. 07. 2011. Accepted for Publication on 22. 02. 2012. Abstract Because of its usefulness in production planning, financial and corporate planning, health care and hospital planning, quadratic programming (QP) problems have attracted considerable research and interest in recent years. In this paper, we first extend the simplex method for solving QP problems by replacing one basic variable at an iteration of simplex method. We then develop an algorithm and a computer technique for solving quadratic programming problem involving the product of two indefinite factorized linear functions. For developing the technique, we use programming language MATHEMATICA. We also illustrate numerical examples to demonstrate our technique. Key Words: Quadratic programming, simplex method, algorithm, computer technique I. Introduction Non-linear Programming is a mathematical technique for determining the optimal solutions to many business problems. In a non-linear programming problem, either the objective function is non-linear, or one or more constraints have non-linear relationship or both. General Non-linear Programming Problem Let be a real valued function of variables defined (a) , Let be a set of constraints such that (b) . . where are real valued functions of variables . Finally, let (c) xj ≥ 0. j = 1, 2, ... ... ... .. m If either or some ; or both are non-linear, then the problem of determining the n- type which makes a maximum or minimum and satisfies (b) and (c), is called a general non- linear programming (GNLP) problem. An NLP may be non- linearly constrained or linearly constrained. If the objective of a linearly constrained NLP is a quadratic function then this problem is called quadratic programming (QP) problem. That is, quadratic programming is concerned with the NLPP of maximizing (or minimizing) the quadratic objective function, subject to a set of linear inequality constraints. Quadratic programming problem Let and .Let be a symmetric real matrix.Then, Maximize subject to the constraints and where and in a real matrix, is called a general quadratic programming problem. Note: represents a quadratic form.The reader may recall that a quadratic form is said to be positive- definite (negative definite) if for and positive-semi-definite (negative-semi-definite) if for all such that there is one satisfying . It can easily be shown that 1. If is positive-semi-definite (negative-semi- definite) then it is convex (concave) in over all of , and 2. If is positive-definite (negative-definite) then it is strictly convex (strictly concave) in over all of . These results help in determining whether the quadratic objective function is concave (convex) and the implication of the same on the sufficiency of the Karush- Khun-Tucker conditioin for constrained maxima (minima) of .
  • 2. M. Babul Hasan Special type Quadratic programming problem In this chapter, we consider the quasi-concave quadratic programming problem (QP) subject to linear constraints as follows: (QP):Maximize subject to , where A = is a matrix, b , x, c , . Here we assume that (i) and are positive for all feasible solution. (ii) The constraints set is non empty and bounded. In general, a quadratic programming problem is solved starting with some which satisfies the constraints but does not necessarily maximize Then is replaced by a series of other (not necessarily basic feasible solutions) all of which satisfy the constraints until the required solution is obtained.There are many methods for solving (QP). Among them Wolf’s [4] method, Swarup’s [5] simplex type method and Gupta and Sharm’s [1] 2-basic variable replacement 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]. 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 Adding slack variables to the constraints of (QP), we have the standard (QP) as follows: (QPI): Maximize subject to , Where are defined as in Section Let be the initial basic feasible solution to the (QP). Then where , Also let , and In addition we assume that and Now let be another basic feasible solution where is the basis in which is replaced by of but not in .Then the columns of are given by for , and Then the new value of the basic variables in terms of the original ones and are as follows: , and (Say) Where New optimizing value where and Similary, Hence 210
  • 3. A Technique for Solving Special Type Quadratic Programming Problems Optimality condition The value of the objective function will improve If But for non degenerate case where Hence we must have, Thus the solution can be improved until for all Whenever all for all at a simplex table, the solution becomes optimal and the process terminates. Criterion1: (Choice of the entering variable) To identify the entering variable, choose the uth column of A for which is the greatest positive ; j = 1, 2,…, n Criterion 2: (Choice of the outgoing variable) Choose for which Numerical Example Maximize subject to , , , Solution Introduction the slack variables to the constraints we get the initial table as follows: Table. 1. (Initial table) 2 4 1 0 0 0 b 1 1 2 0 0 0 0 0 0 0 0 0 1 2 0 1 1 0 0 4 1 0 0 0 1 0 0 0 1 4 3 3 2 1 4 1 1 3 0 0 0 0 0 0 3/2 8 4/3 43/3 ¾ 11/2 - - - - - - 3 211
  • 4. M. Babul Hasan Table.2 2 1 4 1 1 2 0 0 0 0 0 0 b 4 0 0 1 0 0 1/3 5/3 -1/3 1 0 0 0 0 1/3 -1/3 -1/3 0 1 0 0 0 1 4/3 5/3 5/3 2/3 2/3 0 0 1 2 -4/3 -1/3 0 0 0 0 1 62/9 - - 5/12 101/6 4 -43/9 - - - - Table.3 2 1 4 1 1 2 0 0 0 0 0 0 b 4 0 0 1 0 0 1/3 -1/12 1 0 0 0 0 1 1/3 -1/3 -1/12 0 1 0 0 0 1/4 4/3 5/3 5/1 3/4 5/6 0 0 0 2 -5/4 -1/6 0 0 -1/4 -1/2 1 75/8 - - - - 4 11/2 - - - 101/24 - Table.4 2 1 4 1 1 2 0 0 0 0 0 0 b 4 2 1 1 1 2 0 1 0 1 0 0 0 0 1 2/5 -1/5 -1/10 -1/5 3/5 1/20 0 0 1/4 1 1 1/2 0 0 0 0 0 0 -11/10 0 -9/20 -1/2 -1/4 -1/2 - - - - - - 5/2 -11/2 5/3 -45/8 2 -19/4 4 5/3 212
  • 5. A Technique for Solving Special Type Quadratic Programming Problems Since all is non positive in Table-4, it gives the global optimal solution. Hence the optimal solution is with global maximum, . III. Algorithm for Solving Special Type QP In this section, we present the computational technique for solving the QP problems. In 2000, Hasan et. al. [10] developed a computer oriented solution method for solving the LP problems. In this study, we will extend that method for solving the QP problems. We will see that, this method will help us to solve QP problems easily and to avoid the clumsy and time consuming methods of Swarup [5] and other methods. Step 1: Express the QP to its standard form. Step 2: Find all sub-matrices of the coefficient matrix by setting variables equal to zero. Step 3: Test whether the linear system of equations has unique solution or not. Step 4: If the system of linear equations has got any unique solution, find it. Step 5: Dropping the solutions with negative elements, determine all basic feasible solutions. Step 6: Calculate the values of the objective function for the basic feasible solution found in step 5. Step7: For the maximization of QP the maximum value of is the optimal value of the objective function, and the basic feasible solution which yields the optimal value is the optimal Solution. Computer code for solving special type QP In this section, we present our method for solving QP problems using computer algebra Mathematica. 213
  • 6. M. Babul Hasan INPUT: OUTPUT: Graphical representation gives the actual concept of the problems. As, this is an optimization problem, we present graphical representation of this problem in the next section in order to achieve a more visual concept of the solutions of the given problem. Graphical representation of numerical example of Section 2: 214
  • 7. A Technique for Solving Special Type Quadratic Programming Problems We observed that with Swarup’s [5] method we experienced complex calculations for the simplex tables. For solving problems with “  type” or “= type” constraints, one needs to solve that problem by Two-phase or Big-M simplex method which is clumsy and time consuming. But by our method, we just had to compute the coefficient matrix A, right hand side constant b, cost coefficient vectors c and d and the constants  and  in the same program and easily obtained the optimal solution. Our method is also able to solve degenerate and cycling problems easily whereas the simplex method is proved to be inconvenient for solving such problems. IV. Conclusion In this paper, we developed a computer technique for solving special type (Quasi-Concave) of quadratic programming in which the objective function can be factorized. We illustrated the solution procedure developed by us with a numerical example. We observed that the result obtained by our procedure is completely identical with that of the other methods which are laborious and time consuming and clumsy. We therefore, hope that our program can be used as an effective tool for solving special type QP problems in which the objective function can be factorized and hence our time and labor can be saved. ………….. 1. Swarup, K., P. k. Gupta and Man Mohan, 2003,”Tracts in Operations Research”, Eleventh Thoroughly Revised Edition,ISBN:81-8054-059-6 2. Frederick S. Hillier and Gerald J. Lieberman, McGraw-Hill International Edition 1995, ” Introduction to Operations Research” 3. Wayne L. Winston, (1994), “Application and algorithms,” Dexbury press, Belmont, California, U.S.A. 4. Wolfe, P., (1959), “The simplex method for quadratic programming,” Econometrica, 27(3), 382-398. 5. Swarup, K. 1966, “Quadratic Programming” CCERO (Belgium), 8(2), 132-136. 6. Swarup, K., 1964, “Linear fractional functional programming,” Operations Research, 13 (6), 1029-1036. 7. Dantzig, G.B., 1962, “Linear programming and extension,” Princeton University press, Princeton,N.J. 8. Hasan, M.B. and M.A.Islam, 2001, “Generalization of simplex method for solving fractional programming problems,” The Dhaka University Journal of Science, 53(1), 111-118. 9. Hasan, M.B. (2008), “Solution of Linear Fractional Programming Problems through Computer Algebra”, The Dhaka University Journal of Science, 57(1), 10. Hasan, M. B., A.F.M.K Khan and M. A. Islam, 2001, “Basic solutions of linear system of equations through computer algebrs,” Ganit, Journal of Bangladesh Mathematical Society, 21 (1), 39-45. 11. Wolfram, S. 2000, “Mathematica,” Addision-Wesly Publishing Company, Melno Park, California, New York. 215 View publication stats View publication stats