Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need the formulation in Rstudio to obtain the optimal values of the variables and objective function. The objective function is: maxz = Total interest

I need the formulation in Rstudio to obtain the optimal values of the variables and objective function.
The objective function is:
maxz= Total interest - Bad debt
=.026x1+.0509x2+.0864x3+.06875x4+.078x5
There are five constraints:
Total funds less than $12(million):
x1+x2+x3+x4+x512.
Farm and commercial loans equal at least 40% of all loans:
x4+x5.4(x1+x2+x3+x4+x5).
Home loans equal at least 50% of person, car, and home loans:
x3.5(x1+x2+x3).
Bad debts can not exceed 4% of all loans:
.1x1+.07x2+.03x3+.05x4+.02x5.04(x1+x2+x3+x4+x5).
Nonnegativity:
x1,x2,x3,x4,x50.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Public Finance

Authors: Harvey S Rosen

6th Edition

0072374055, 978-0072374056

More Books

Students also viewed these Finance questions