Optimal Allocation of Funds For Loans Using Karmar
Optimal Allocation of Funds For Loans Using Karmar
net/publication/325399780
CITATIONS READS
2 130
5 authors, including:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Anthony Donkor on 28 May 2018.
Authors’ contributions
This work was carried out in collaboration between all authors. Author AD designed the study,
performed the statistical analysis, wrote the protocol and first draft of the manuscript. Authors KD and
JA managed the analyses of the study. Authors PG and NW managed the literature searches. All
authors read and approved the final manuscript.
Article Information
DOI: 10.9734/JEMT/2018/40292
Editor(s):
(1) Alfredo Jimenez Palmero, Kedge Business School, France.
Reviewers:
(1) Charles Ngome Eke, Federal Polytechnic Nekede, Nigeria.
(2) J. Ramola Premalatha, Vellore Institute of Technology, India.
(3) Ramona Lacurezeanu, Babes-Bolyai University, Romania.
(4) Maura La Torre, Libera Università Mediterranea, Italy.
Complete Peer review History: http://www.sciencedomain.org/review-history/24824
ABSTRACT
In Ghana, the banking industry is now characterised by increasing competition and innovation. This
has made most of the banks to adopt a scientific approach to improve the quality of their loan
structure. The decline of relevant portfolio planning models especially in Ghana is attributed mainly
to the evolving dynamics of the Ghanaian banking industry where the regulatory controls have
changed with a high frequency. Due to the model used in allocating funds to various loan types, a lot
of banks had suffered substantial losses from some bad loans in their portfolio. As a result, most
banks are not able to maximize their profit on loans due to poor allocation of funds. The purpose of
_____________________________________________________________________________________________________
this study is to develop a linear programming model using the Karmarkar's projective scaling
algorithm to help Capital Rural Bank Limited to maximise their profit on loans. The results from the
model showed that Capital Rural Bank Limited would be making annual loan turn-over of
GH¢5,961,300.00 which is 61.3% more than the established previously. From the study, it was
further realised that policy directions mostly influence the optimal solution and not probability of bad
debt.
2
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
Wolfe decomposition. At each iteration, the feasible solutions. In this paper we convert a
current primal feasible solution generates prices standard maximization problem of a bank’s loan
which are used to form a simple subproblem. portfolio allocation to Karmarkar form and solve
The solution to the subproblem is then the resulting loan portfolio optimization to
incorporated into the currently feasible solution. optimality and further provide detail analysis of
With a suitable choice of step size a constant the loan allocation structure [14,15].
reduction in potential function is achieved at each
iteration [12]. 2. METHODS
Monteiro [13], analyzed the convergence and Karmarkar’s projective scaling method, also
boundary behaviour of the continuous known as Karmarkar’s interior point LP algorithm,
trajectories of the vector field induced by the starts with a trial solution and shoots it towards
projective scaling algorithm as applied to the optimum solution.
(possibly degenerate) linear programming
problems in Karmarkar's standard form. They This algorithm addresses LP problem of the
showed that a projective scaling trajectory tends form:
to an optimal solution which in general depends
on the starting point. When the optimal solution is T
Minimize Z = C X
unique, they prove that all projective scaling
trajectories approach the optimal solution
Subject to
through the same asymptotic direction. The
AX = 0
analysis was based on the affine scaling n
3
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
Step 2: Minimize M = CT V
V 0
Step 3:
2.2 Steps of Karmarkar’s Algorithm
xi wi K
Introduce a bounding constraint ,
where K should be sufficiently large to include all Step 1:
feasible solutions of original problem
r
1 n 1
Introduce a slack variable in the bounding Compute n n 1 and 3n .
constraint and obtain
xi wi s K
Step 2:
Step 4:
Y0 V0
Introduce a dummy variable d (subject to (a) Let
D 0 diag V 0
condition d = 1) to homogenize the constraints
and replace the equations
AD
P 0
1 , 1 1 , . . , 1
xi wi s K
and d = 1 with the following
equations:
C C T D0
xi wi s Kd 0
i i
x w s d K
and
1 Compute
C p I P T PP T
1
PC T
Step 5: Cp 0
If , , any feasible solution becomes
Introduce the following transformations so as to
an optimal solution. Stop
obtain one on the RHS of the last equation:
(b) Otherwise compute
x i K 1 y i , i 1, 2 ,.... m n
C
wi K 1 ymni , i 1,2,....m n Y0 r
p
Y new
C p
s K 1 y2m2n1 V1
D 0 Y new
1 D 0 Y new
d K 1 y2m2n2 M C T V1
Step 6: Step 3:
4
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
Management Board of the bank, that was Subject to the following policy constraints:
recording bad debts on the loans and wanted a
restructuring of the loan types. The data supplied Total funds available for disbursement is
by the bank is summarized in Table 1. GH¢20,000,000.00
Capital Rural Bank Limited decided on a loan The sum of the Agriculture and Funeral
policy with an amount of GH¢20,000,000.00. loans should be at most 15% of the total
funds.
The policy details for the type of loans are:
x2 x5 3
Salary, Funeral and Commercial loans
should be at most 60% of the total The overall ratio for bad debts in all loans
funds. should not exceed 0.045
To assist people in the area (Sunyani
Metropolis) to undertake more housing 0.025 x1 0.015 x 2 0.035 x 3 0.010 x 4 0.105 x 5
projects, the Housing loan should be at 0.030 x 6 0
most 50% of Salary and Funeral loans.
The sum of Susu and Agriculture loans Non-negativity
must not be more than 40% of Commercial
and Housing loans. x1 0 , x 2 0 , x 3 0 , x 4 0 , x 5 0 , x 6 0
The sum of the Agriculture and Funeral
loans should be at most 15% of the total The loan policy model is the Standard Linear
funds. Programming maximization problem below:
The overall ratio for bad debts in all loans Maximize
should not exceed 4.5%.
Z 0.3622 x1 0.3192 x2 0.3464 x3
3.1 Formulation of Linear Programming
(LP) Problem 0.2852 x4 0.1560 x5 0.2025 x6
5
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
Loan type Loan amt Interest rate Probability of Bad debt amt Profit amt
(x) (I) bad debt (B) (B x ) (1B)x
Commercial x1 0.39 0.020 0.020 x1 0.980 x1
Funeral x2 0.36 0.030 0.030 x2 0.970 x2
Salary x3 0.36 0.010 0.010 x3 0.990 x3
Susu x4 0.36 0.055 0.055 x4 0.945 x4
Agriculture x5 0.36 0.150 0.150 x5 0.850 x5
Housing x6 0.30 0.075 0.075 x6 0.925 x6
Source: Anthony Donkor (obtained from Table 1)
3.2 Converting the Linear Programming By the procedure explained in section 3 and
Problem into Karmarkar’s Form illustrated in appendix A, the primal and dual
linear programming problems are converted to
The Standard Linear Programming form is as the Karmarkar format to obtain
shown below:
Minimize M y27
Maximize
Subject to y1 y 2 y 3 y 4 y 5 y 6 y 7 20 y 26 13 y 27 0
y 1 y 2 y 3 y 8 12 y 26 8 y 27 0
x 1 x 2 x 3 x 4 x 5 x 6 20
0 . 5 y 2 0 . 5 y 3 y 6 y 9 y 27 0
x 1 x 2 x 3 12
0 . 4 y 1 y 4 y 5 0 . 4 y 6 y 10 2 . 2 y 27 0
0 .5 x 2 0 .5 x 3 x 6 0
y 2 y 5 y 11 3 y 26 0
0 .4 x1 x 4 x 5 0 .4 x 6 0
0.025 y1 0.015 y2 0.035 y3 0.010 y4
x2 x5 3
0.105 y5 0.030 y6 y12 1.07 y27 0
0.025x1 0.015x2 0.035x3 0.010x4 0.105x5 0.030x6 0 y13 y14 0.4 y16 0.025 y18 y19 0.3622 y26 0.2128 y27 0
x1 , x 2 , x 3 , x 4 , x 5 , x 6 0
y13 y14 0.5 y15 y17 0.015 y18 y20 0.3192 y26 1.1658 y27
Writing the dual of the given primal
0
problem:
Minimize 20 w 1 12 w 2 3 w 5 y13 y14 0.5 y15 0.035 y18 y21 0.3464 y26 0.1186 y27 0
Subject to :
y13 y16 0.010 y18 y22 0.2852 y26 0.7248 y27 0
w1 w 2 0 .4 w 4 0 .025 w 6 0 .3622
y13 y16 y17 0.105 y18 y23 0.1560 y26 1.949 y27 0
w1 w 2 0 .5 w 3 w 5 0 .015 w 6 0 .3192
w1 w 2 0 .5 w 3 0 .035 w 6 0 .3464 y13 y15 0.4 y16 0.030 y18 y24 0.2025 y26 1.5725 y27 0
w1 w 4 0 .010 w 6 0 .2852
0.3622 y1 0.3192 y2 0.3464 y3 0.2852 y4 0.1560 y5
w1 w 4 w 5 0 .105 w 6 0 .1560
0.2025 y6 20 y13 12 y14 3 y17 33.3285 y27 0
w1 w 3 0 .4 w 4 0 .030 w 6 0 .2025
25
w1 , w 2 , w 3 , w 4 , w 5 , w 6 0
i 1
y i 100 y 26 75 y 27 0
6
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
27 Thus
yi 1
i 1
Z 0.3622(4.8076) 0.3192(2.2220) 0.3464(5.7065)
yi 0
, i 1 , 2 , 3 ,..., 27
0.2852(2.5654) 0.1560(0.0303) 0.2025(3.9390)
3.3 Computational Procedure and Results
or Z 5.9613
Using the Karmarker methodology in section 3,
programming code was written in MATLAB using 4. DISCUSSION
a tolerance of 1.0 10 15 .
Table 3 shows the table of fund allocations to be
(IPentium M, 1.80GHz, 0.99GB RAM). The made by the management board of Capital bank
program converged at iteration 12,757 to as well as bad debt amount.
produce the final results shown below;
Using the above allocations, Capital Rural Bank
The appendix shows the programming code and
Ltd. could realize a turn-over of
manual calculation confirming the program
GH¢5,961,300.00 on loans as against GH¢
output.
3,653,570.00 made in the previous year. This
The results for the six (6) basic variables are: represents 61.3% increase in turn-over.
7
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
8
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
APPENDICES
APPENDIX A: Converting the LP Model of the Loan Optimization Problem Formulation into
Karmarkar’s Standard Form
Maximize
Z 0 . 3622 x1 0 . 3192 x 2 0 . 3464 x 3 0 . 2852 x 4 0 . 1560 x 5 0 . 2025 x 6
Subject to
x 1 x 2 x 3 x 4 x 5 x 6 20
x 1 x 2 x 3 12
0 .5 x 2 0 .5 x 3 x 6 0
0 .4 x1 x 4 x 5 0 .4 x 6 0
x2 x5 3
0 . 025 x 1 0 . 015 x 2 0 . 035 x 3 0 . 010 x 4 0 . 105 x 5 0 . 030 x 6 0
x1 , x 2 , x 3 , x 4 , x 5 , x 6 0
Minimize 20 w 1 12 w 2 3 w 5
Subject to :
w1 w 2 0 .4 w 4 0 .025 w 6 0 .3622
w1 w 2 0 .5 w 3 w 5 0 .015 w 6 0 .3192
w1 w 2 0 .5 w 3 0 .035 w 6 0 .3464
w1 w 4 0 .010 w 6 0 .2852
w1 w 4 w 5 0 .105 w 6 0 .1560
w1 w 3 0 .4 w 4 0 .030 w 6 0 .2025
w1 , w 2 , w 3 , w 4 , w 5 , w 6 0
Introduction of slack and surplus variables to the constraints of the primal and the dual
respectively and then combine them
x 1 x 2 x 3 x 4 x 5 x 6 x 7 20
x 1 x 2 x 3 x 8 12
0 .5 x 2 0 .5 x 3 x 6 x 9 0
0 . 4 x 1 x 4 x 5 0 . 4 x 6 x 10 0
x 2 x 5 x 11 3
0 .025 x1 0 .015 x 2 0 .035 x3 0 . 010 x 4 0 .105 x5 0 . 030 x 6 x12 0
i 1
xi i 1
wi s k
k 100
12 12
xi w i s 100
i 1 i 1
9
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
w 1 w 2 0 . 4 w 4 0 . 025 w 6 w 7 0 . 3622
w 1 w 2 0 . 5 w 3 w 5 0 . 015 w 6 w 8 0 . 3192
w 1 w 2 0 . 5 w 3 0 . 035 w 6 w 9 0 . 3464
w 1 w 4 0 . 010 w 6 w 10 0 . 2852
w 1 w 4 w 5 0 . 105 w 6 w 11 0 . 1560
w 1 w 3 0 . 4 w 4 0 . 030 w 6 w 12 0 . 2025
w i 0, xi 0 i 1 , 2 , 3 ,..., 12
x 1 x 2 x 3 x 4 x 5 x 6 x 7 20 d 0
x1 x 2 x 3 x 8 12 d 0
0 .5 x 2 0 .5 x 3 x 6 x 9 0
0 .4 x 1 x 4 x 5 0 . 4 x 6 x 10 0
x2 x5 x 11 3 d 0
0 . 025 x 1 0 . 015 x 2 0 . 035 x 3 0 . 010 x 4 0 . 105 x 5 0 . 030 x 6 x 12 0
w 1 w 2 0 . 4 w 4 0 . 025 w 6 w 7 0 . 3622 d 0
w 1 w 2 0 . 5 w 3 w 5 0 . 015 w 6 w 8 0 . 3192 d 0
w 1 w 2 0 . 5 w 3 0 . 035 w 6 w 9 0 . 3464 d 0
w 1 w 4 0 . 010 w 6 w 10 0 . 2852 d 0
w 1 w 4 w 5 0 . 105 w 6 w 11 0 . 1560 d 0
w 1 w 3 0 . 4 w 4 0 . 030 w 6 w 12 0 . 2025 d 0
12 12
i 1
xi
i 1
w i s 100 d 0
12 12
i 1
xi
i 1
w i s d 101
w i 0, xi 0 i 1 , 2 , 3 ,..., 12
Introduction of transformations:
x i ( k 1) y i x i 101 y i i 1, 2 ,3 ,..., 12
w i ( k 1) y 12 i w i 101 y 12 i i 1 , 2 , 3 ,..., 12
s ( k 1 ) y 25 s 101 y 25
d ( k 1) y 26 d 101 y 26
101( y1 y 2 y3 y 4 y5 y6 y 7 20 y 26 ) 0
101 ( y 1 y 2 y 3 y 8 12 y 26 ) 0
101 ( 0 . 5 y 2 0 . 5 y 3 y 6 y 9 ) 0
101 ( 0 . 4 y 1 y 4 y 5 0 . 4 y 6 y 10 ) 0
101 ( y 2 y 5 y 11 3 y 26 ) 0
101(0.025 y1 0.015 y 2 0.035 y 3 0.010 y 4 0.105 y 5 0.030 y 6 y12 ) 0
10
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
12 24
101 ( y i y i y 25 100 y 26 ) 0
i 1 i 13
12 24
101 ( y i y i y 25 y 26 ) 101
i 1 i 13
y1 y 2 y 3 y 4 y 5 y 6 y 7 20 y 26 0 y 1 y 2 y 3 y 8 12 y 26 0
0 .5 y 2 0 .5 y 3 y 6 y 9 0
0 . 4 y 1 y 4 y 5 0 . 4 y 6 y 10 0
y 2 y 5 y 11 3 y 26 0
0.025 y1 0.015 y 2 0.035 y 3 0.010 y 4 0.105 y 5
0.030 y 6 y12 0
y13 y14 0 .4 y16 0 .025 y18 y19 0 .3622 y 26 0
25
i 1
y i 100 y 26 0
26
i 1
yi 1
yi 0
, i 1, 2 , 3 ,..., 26
Minimize M y27
Subject to:
y 1 y 2 y 3 y 4 y 5 y 6 y 7 20 y 26 13 y 27 0 y 1 y 2 y 3 y 8 12 y 26 8 y 27 0
0 . 5 y 2 0 . 5 y 3 y 6 y 9 y 27 0
11
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
0 . 4 y 1 y 4 y 5 0 . 4 y 6 y 10 2 . 2 y 27 0
y 2 y 5 y 11 3 y 26 0
0.025 y1 0.015 y 2 0.035 y 3 0.010 y 4 0.105 y 5 0.030 y 6 y12 1.07 y 27 0
y13 y14 0.4 y16 0.025 y18 y19 0.3622y26 0.2128y27 0
y13 y14 0.5 y15 y17 0.015 y18 y20 0.3192y26 1.1658y27 0
0.3622 y1 0.3192y2 0.3464y3 0.2852y4 0.1560y5 0.2025y6 20 y13 12 y14 3 y17 33.3285y27 0
25
i 1
y i 100 y 26 75 y 27 0
27
i 1
yi 1
yi 0
, i 1 , 2 , 3 ,..., 27
12
Donkor et al.; JEMT, 21(5): 1-13, 2018; Article no.JEMT.40292
The following Matlab Code for Karmarkar’s Algorithm was written by the authors and was used to
solve the Karmarkar Formulation for the Loan Optimization Problem
% A is m x n matrix
% C is a column vector
% E is a row vector with 1’s as its entries
% k is the number of iterations
% tol is the tolerance
A=input(‘Enter the matrix A:’)
C=input(‘Enter C:’)
E=input(‘Enter E:’)
mn =size(A)
m=mn(1)
n=mn(2)
V1= ([E]/n)'
I=eye (n)
r=1/sqrt(n*(n-1))
α= (n-1)/(3*n)
V= ([E]/n)'
tol=10^(-15)
k=0
while(C'*V>tol)
D=diag(V)
T=A*D
P= [T; E]
Q=C'*D
R= (I-P'/(P*P' )*P)*Q'
RN=norm (R)
Y=V1-(r*α)*(R/RN)
V= (D*Y)/(E*D*Y)
M=C'*V
k=k+1
end
_________________________________________________________________________________
© 2018 Donkor et al.; This is an Open Access article distributed under the terms of the Creative Commons Attribution License
(http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium,
provided the original work is properly cited.
Peer-review history:
The peer review history for this paper can be accessed here:
http://www.sciencedomain.org/review-history/24824
13