Question: Problem : You have to delivery some coins from one city to another city. There are 1 0 types of coin with some number and
Problem : You have to delivery some coins from one city to another city. There are types of coin with some number and weight of each coin. You have to use fractional knapsack algorithm to find the maximum value of coins and use Dijkstra's Algorithm to find the path from the given graph.
Condition :
Each type of coin, there are some number such as T coin has coins. When do fractional knapsack, you may end up with T coins. You have to floor to coins.
What to do :
Solve the knapsack manually with explanation in PDF or Word.
Solve Dijkstra's Algorithm manually with explanation in PDF or Word.
Write program to solve the problem by select one city as start city and one city as goal city. Show the solution of how many type of coin and its number with the maximum value. Show the path from start to goal.
Combine the first part and the source code with solution into PDF or Word. Also, Source code file.
Due date : October
Information :
tableCoin Type,tableValue percoin vitableWeight percoin wiCoins Available
Capacity : Gram
DTI FINAL EXAM
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
