Question

In a country whose currency is dinars, 1,5,10,20,25 and 50 dinars coins are used. In this...

In a country whose currency is dinars, 1,5,10,20,25 and 50 dinars coins are used. In this country, a market employee must pay 91 dinars to his customer as a change. Develop an integer programming model so that the money can be paid with the least number of coins.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Ans:

Defining the decision variables:

x1 = No. of currency with denomination of 1 Dinar

x2= No. of currency with denomination of 5 Dinar

x3= No. of currency with denomination of 10 Dinar

x4= No. of currency with denomination of 20 Dinar

x5= No. of currency with denomination of 25 Dinar

x6= No. of currency with denomination of 50 Dinar

Constraints:

x1,x2,x3,,x4,x5,x6must be an integer

x1+5x2+10x3+20x4+25x5+50x6 = 91

Objective:

x1+x2+x3+x4+x5+x6 should be minimum

Integer programming model in excel is as follows:

1. Before running the ILP in excel using Solver

Variables
x1 0
x2 0
x3 0
x4 0
x5 0
x6 0
Objctive
Minimize =J3+J4+J5+J6+J7+J8
Constraints Inequalities
z =J3+5*J4+10*J5+20*J6+25*J7+50*J8 = 91
x1 =J3 >= 0
x2 =J4 >= 0
x3 =J5 >= 0
x4 =J6 >= 0
x5 =J7 >= 0
x6 =J8 >= 0

2. Now after running the solver using the solver parameters as below:

Solver Parameters Set Objective: SC511 То: oMax o Min O Value Of: By Changing Variable Cells: SC53:5C58 Add Subject to the Co

Result is as mentioned below:

Variables
x1 1
x2 0
x3 0
x4 2
x5 0
x6 1
Objctive
Minimize 4
Constraints LHS Inequalities RHS
z 91 = 91
x1 1 >= 0
x2 0 >= 0
x3 0 >= 0
x4 2 >= 0
x5 0 >= 0
x6 1 >= 0

Hence minim no. of coins are 4 using 1 coin of 1 , 2 coins of 20 and 1 coin of 50.

Note: Here in constraints plz select variables x1,x2.x3.x4.x5.x6 as integer.

To add Solver, add by going through file>option>add-in>solver

Add a comment
Know the answer?
Add Answer to:
In a country whose currency is dinars, 1,5,10,20,25 and 50 dinars coins are used. In this...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Zugar Company is domiciled in a country whose currency is the dinar. Zugar begins 2017 with three...

    Zugar Company is domiciled in a country whose currency is the dinar. Zugar begins 2017 with three assets: cash of 30,800 dinars accounts receivable of 82,500 dinars, and land that cost 225,000 dinars when acquired on April 1, 2016. On January 1, 2017, Zugar has a 175,000 dinar note payable, and no other liabilities. On May 1, 2017, Zugar renders services to a customer for 145,000 dinars, which was immediately paid in cash. On June 1, 2017, Zugar incurred a...

  • Zugar Company is domiciled in a country whose currency is the dinar. Zugar begins 2017 with...

    Zugar Company is domiciled in a country whose currency is the dinar. Zugar begins 2017 with three assets: cash of 25,200 dinars accounts receivable of 81,400 dinars, and land that cost 214,000 dinars when acquired on April 1, 2016. On January 1, 2017, Zugar has a 164,000 dinar note payable, and no other liabilities. On May 1, 2017, Zugar renders services to a customer for 134,000 dinars, which was immediately paid in cash. On June 1, 2017, Zugar incurred a...

  • 1. An allowance paid to an employee for using his personal automobile for employment purposes must...

    1. An allowance paid to an employee for using his personal automobile for employment purposes must be based on kilometers in order to be considered reasonable True False 2. Employer payments to private healthcare plans are not taxable benefits and any benefits received under such plans are also non-taxable. Question 9 options: True False 3. A table benefit assessed to employees whose employers pay the operating costs of an automobile provided to the employee. Operating Cost Benefit, In-The Money, Out-Of-The-Money...

  • Abigail Henderson has $2480.00 budgeted for spending money on an upcoming trip to Country A and C...

    Abigail Henderson has $2480.00 budgeted for spending money on an upcoming trip to Country A and Country B. Country A's currency is trading at $1.20 per currency A, and Country B's currency is trading at $1.40 per currency B. She plans to spend more time in Country A so she wants to have four times as much of currency A as currency B. Set up and solve a system of equations to model this problem, and explain what the answer...

  • implement a class called PiggyBank that will be used to represent a collection of coins. Functionality...

    implement a class called PiggyBank that will be used to represent a collection of coins. Functionality will be added to the class so that coins can be added to the bank and output operations can be performed. A driver program is provided to test the methods. class PiggyBank The PiggyBank class definition and symbolic constants should be placed at the top of the driver program source code file while the method implementation should be done after the closing curly brace...

  • The gold system is a monetary system where a country’s currency is directly linked to gold. A country that uses the gold standard sets a fixed price for gold and that price determines the value of the...

    The gold system is a monetary system where a country’s currency is directly linked to gold. A country that uses the gold standard sets a fixed price for gold and that price determines the value of the currency.  The gold standard was first put into operation in the UK in 1821. The UK stopped using it in 1931 and the US followed suit in 1933. The gold standard is currently not used by any government.  The appeal of the gold...

  • Write in C language CEO's Problem Every CEO has their own unique problem, they say. The...

    Write in C language CEO's Problem Every CEO has their own unique problem, they say. The same goes to Jajo. Determining the fate of his newbom company is super tough. Every year, las board committee present him with S denoting the number of customers that use his company's services out of total M customers already in the market. And every year, C number of new customers will enter the market, and all of them will use his company's services Other...

  • implement a class called PiggyBank that will be used to represent a collection of coins. Functionality...

    implement a class called PiggyBank that will be used to represent a collection of coins. Functionality will be added to the class so that coins can be added to the bank and output operations can be performed. A driver program is provided to test the methods. class PiggyBank The PiggyBank class definition and symbolic constants should be placed at the top of the driver program source code file while the method implementation should be done after the closing curly brace...

  • Part I: Create an Entity-Relationship Diagram (ERD) based on the REA Model During an internship with...

    Part I: Create an Entity-Relationship Diagram (ERD) based on the REA Model During an internship with James Merchant, CPA, you were asked to create a database for the firm to help with billing and cash receipts. Merchant employs one staff accountant, a bookkeeper and one intern. Currently, Merchant uses a paper-based system to keep up with customer billing. He feels that he would have better control over the billing and cash receipts if used a computerized system. Merchant specializes in...

  • Use program control statements in the following exercises: Question 1 . Write pseudocode for the following:...

    Use program control statements in the following exercises: Question 1 . Write pseudocode for the following: • Input a time in seconds. • Convert this time to hours, minutes, and seconds and print the result as shown in the following example: 2 300 seconds converts to 0 hours, 38 minutes, 20 seconds. Question 2. The voting for a company chairperson is recorded by entering the numbers 1 to 5 at the keyboard, depending on which of the five candidates secured...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT