There is a 15 days tour of visiting 5 national parks. There is a stay of two day at each park. So, 2 multiplied by 5 = 10 days are spent at staying in those 5 parks. Now the remaining days left are 15 - 10 = 5 days which have to be spent on
There is a 15 days tour of visiting 5 national parks. There is a stay of two day at each park. So, 2 multiplied by 5 = 10 days are spent at staying in those 5 parks. Now the remaining days left are 15 - 10 = 5 days which have to be spent on travelling on visiting these parks. Mode of travel will be : Travel by car from SF to YO = $ 130 which is one way cost. It will take half day in travelling from SF to YO. Travel by air from YO to YE = $ 400 . It will take half day in travelling. Now, the total days left for travelling is 4 days. Travel by car from YE to GT = $ 70 . It will take whole one day in travelling. Travel by car from GT to MR will take two days and will cost $ 100 . Travel from MR to back to SF = $ 450 by air. It will take half day for this air travel. This is the best economical travel incurring traveeling cost of $ 1150 .
Table 1.
Need code in python using PULP and linear
Trending now
This is a popular solution!
Step by step
Solved in 2 steps