Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!