Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please show me how to use LINDO to do integer programming to make change using as few coins as possible. For example, V = [1,
Please show me how to use LINDO to do integer programming to make change using as few coins as possible.
For example, V = [1, 5, 10, 25] and A = 202. V represents the denominations and A is the amount.
The total amount is 202. The answer, using as few coins as possible:
V1 = 2 coins
V5 = 0 coins
V10 = 0 coins
V25 = 8 coins
For a total of 10 coins.
I understand the problem but am not sure how to code it into LINDO software. Excel would be ok too.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started