SlideShare a Scribd company logo
1 of 3
Download to read offline
Take Home Final Exam/Project
Aydin Ayanzadeh 
Department of Computer Engineering 
Email: ayanzadeh17@itu.edu.tr 
Scenario 1
Waste collecting process in scenario 1 is not very complicate. Actually, we have truck with that start
its mission and traverse each trash-bin every hour and collects the waste from them(we assume
that, the truck has hypothetical speed and end up its mission during the one hour). If we want to
simulate this problem to the algorithms or methods, it is easily predicted that, this is similar to
TSP(Travels salesman problem) that truck traverse all vertices and come back to its source. But
TSP algorithm is NP algorithm and has high complexity in during the execution with many number
of nodes, therefore i have to implement the code with greedy, approximation and heuristic method,
scenario 1 is the general model of of the scenario 2 that x=18. in scenario 1, i implement this
scenario by Dijkstra method (for calculating the shortest path between the S and D) and also, i
specialized and D to s). Moreover, The path (shortest path) from S to D is 24 and ta backward path
to the trash center based on dijkstra algorithm (dijkstra.m[1]) is 7 (red line in Fig1), P=240+70=310
Km, so the cost of truck in 24 hours with suggested path is cost=24*3.5*310=26040$ (minimum
cost for this path). Furthermore, this problem is not faced with overflow capacity of trash bin during
24 hours. I provide an greedy method besides the past method, number of edges is step and the
and height of rectangle is h=4, if rows of trash is odd the formula for this 24*3.5*320= 26880$.
Fig1,2. Result of scenario the left image represent the waste of trash bin in 21th hours of a day.
Right image shows the total cost of waste collection for 24 hours.
Scenario 2
In scenario 2, the problem is specialized in numbers of trash-bin, for solving this problem, I
use dijkstra algorithm for (n+1) times n=18 and store them in an (n+1)(n+1) matrix, each
rows of matrix represents the shortest path from vertex to all other vertices. I use the
BLG556E-Digital Solutions for Smart Cities, Spring 2017
shortest near neighbors in this problem, i start the path from trash collection center and find
the shortest path to all vertices and find them nearest one. Afterward, connect the neighbor
edges to the nearest one and keep this way. Nearest method shows the shortest path for
different x =2,4,6,8,10 (my method can not evaluate the cost of graph for different X,
because it has faced with syntax error that it could not solved, but it can shows the nearest
neighbor for each edges)
fig3.The architecture of trash bins and trash center fig4.The simple shape of problem in graph mode
red line shows the shortest backward way for
b) Discuss what will happen when the capacity of a truck is fixed. Write your solution suggestions.
If we assume that they have infinite waste collection capacity, we will not encounter the problem in
waste collection process. Conversely, when the truck has fixed capacity, the probability of lack of
capacity is high in this condition. fix capacity in the municipality trucks leads to use efficient methods
of waste collecting of trash-bin. The common solution to solve this problem is increasing the
number of truck for each hour. But, scheduling and planning technique is more proper way to solve
this problem in fix capacity condition. The more efficient way to solve this problem is using priority
method for each trash bin based on their waste collecting every hour and scheduling for eachλ
trash bin based on its . By this technique, it is possible that in each iteration of collecting theλ
amount of waste is reduced to half of normal condition based on scenario 2.
C) Discuss how the trash collection method explained in Scenario#2 could be enhanced.
BLG556E-Digital Solutions for Smart Cities, Spring 2017
The most important and significant issues in waste collection problem is avoiding from overflow of
the trash bins due to its additional financial loss to the municipality. For increase the efficiency of
waste collection, we should give priority for each trash-bin ​poisson random variable ​based on
its ( ). For example, the trash bin with trash_id (4.3) has =25 has more speed of increment ratherλ λ
than the speed of trash bin id 3.1 with =5; assume that trash bin with low is filled half of itsλ λ
capacity, in this condition the sensor send an alarm to the trash center, conversely, if the trash bin
with higher has the waste between 20-25, in this condition, sensor does not send any alarm to theλ
center despite of its high probability to have overflow in next hour and this deficiency in given
system brings extra financial loss for trash center. Hence, by reducing the overflow trash bin and
number of trash bin that send alarm to the center, related organization will reduce its addition cost
of waste collecting.
Reference
[1] ​mathwork File exchange official websites.By Kashif Shahzad,3rd June 2004(dijkstra algorithm).
BLG556E-Digital Solutions for Smart Cities, Spring 2017

More Related Content

Similar to Smart city take home question answers

SMART DUSTBIN FOR SMART CITIES
SMART DUSTBIN FOR SMART CITIESSMART DUSTBIN FOR SMART CITIES
SMART DUSTBIN FOR SMART CITIESVED PRAKASH
 
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmComparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmIOSR Journals
 
Traveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed EnvironmentTraveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed Environmentcsandit
 
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENTTRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENTcscpconf
 
A feasible solution algorithm for a primitive vehicle routing problem
A feasible solution algorithm for a primitive vehicle routing problemA feasible solution algorithm for a primitive vehicle routing problem
A feasible solution algorithm for a primitive vehicle routing problemCem Recai Çırak
 
ETCS262A-Analysis of design Algorithm.pptx
ETCS262A-Analysis of design Algorithm.pptxETCS262A-Analysis of design Algorithm.pptx
ETCS262A-Analysis of design Algorithm.pptxRahulSingh190790
 
A Minimum Spanning Tree Approach of Solving a Transportation Problem
A Minimum Spanning Tree Approach of Solving a Transportation ProblemA Minimum Spanning Tree Approach of Solving a Transportation Problem
A Minimum Spanning Tree Approach of Solving a Transportation Probleminventionjournals
 
Optimal Allocation Policy for Fleet Management
Optimal Allocation Policy for Fleet ManagementOptimal Allocation Policy for Fleet Management
Optimal Allocation Policy for Fleet ManagementYogeshIJTSRD
 
CS345-Algorithms-II-Lecture-1-CS345-2016.pdf
CS345-Algorithms-II-Lecture-1-CS345-2016.pdfCS345-Algorithms-II-Lecture-1-CS345-2016.pdf
CS345-Algorithms-II-Lecture-1-CS345-2016.pdfOpenWorld6
 
Linear Programming.pptx
Linear Programming.pptxLinear Programming.pptx
Linear Programming.pptxDrBabinDhasD
 
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.pptParallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.pptdakccse
 
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.pptParallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.pptBinayakMukherjee4
 
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemIRJET Journal
 

Similar to Smart city take home question answers (20)

SMART DUSTBIN FOR SMART CITIES
SMART DUSTBIN FOR SMART CITIESSMART DUSTBIN FOR SMART CITIES
SMART DUSTBIN FOR SMART CITIES
 
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmComparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
 
Traveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed EnvironmentTraveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed Environment
 
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENTTRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
 
Traveling Eco-Salesman
Traveling Eco-SalesmanTraveling Eco-Salesman
Traveling Eco-Salesman
 
A feasible solution algorithm for a primitive vehicle routing problem
A feasible solution algorithm for a primitive vehicle routing problemA feasible solution algorithm for a primitive vehicle routing problem
A feasible solution algorithm for a primitive vehicle routing problem
 
ETCS262A-Analysis of design Algorithm.pptx
ETCS262A-Analysis of design Algorithm.pptxETCS262A-Analysis of design Algorithm.pptx
ETCS262A-Analysis of design Algorithm.pptx
 
A Minimum Spanning Tree Approach of Solving a Transportation Problem
A Minimum Spanning Tree Approach of Solving a Transportation ProblemA Minimum Spanning Tree Approach of Solving a Transportation Problem
A Minimum Spanning Tree Approach of Solving a Transportation Problem
 
Optimal Allocation Policy for Fleet Management
Optimal Allocation Policy for Fleet ManagementOptimal Allocation Policy for Fleet Management
Optimal Allocation Policy for Fleet Management
 
Operations Research Project
Operations Research ProjectOperations Research Project
Operations Research Project
 
CS345-Algorithms-II-Lecture-1-CS345-2016.pdf
CS345-Algorithms-II-Lecture-1-CS345-2016.pdfCS345-Algorithms-II-Lecture-1-CS345-2016.pdf
CS345-Algorithms-II-Lecture-1-CS345-2016.pdf
 
Linear Programming.pptx
Linear Programming.pptxLinear Programming.pptx
Linear Programming.pptx
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.pptParallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
 
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.pptParallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
Parallel_Algorithms_In_Combinatorial_Optimization_Problems.ppt
 
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
 
bation-cs190-ieee
bation-cs190-ieeebation-cs190-ieee
bation-cs190-ieee
 
Operations Research
Operations ResearchOperations Research
Operations Research
 
Operations Research
Operations ResearchOperations Research
Operations Research
 
Operations Research
Operations ResearchOperations Research
Operations Research
 

More from Fellowship at Vodafone FutureLab

Cell Segmentation of 2D Phase-Contrast Microscopy Images with Deep Learning M...
Cell Segmentation of 2D Phase-Contrast Microscopy Images with Deep Learning M...Cell Segmentation of 2D Phase-Contrast Microscopy Images with Deep Learning M...
Cell Segmentation of 2D Phase-Contrast Microscopy Images with Deep Learning M...Fellowship at Vodafone FutureLab
 
Mreps efficient and flexible detection of tandem repeats in dna
Mreps  efficient and flexible detection of tandem repeats in dnaMreps  efficient and flexible detection of tandem repeats in dna
Mreps efficient and flexible detection of tandem repeats in dnaFellowship at Vodafone FutureLab
 
Deep Learning based Segmentation Pipeline for Label-Free Phase-Contrast Micro...
Deep Learning based Segmentation Pipeline for Label-Free Phase-Contrast Micro...Deep Learning based Segmentation Pipeline for Label-Free Phase-Contrast Micro...
Deep Learning based Segmentation Pipeline for Label-Free Phase-Contrast Micro...Fellowship at Vodafone FutureLab
 
Protein family specific models using deep neural networks and transfer learni...
Protein family specific models using deep neural networks and transfer learni...Protein family specific models using deep neural networks and transfer learni...
Protein family specific models using deep neural networks and transfer learni...Fellowship at Vodafone FutureLab
 
Semantic segmentation with Convolutional Neural Network Approaches
Semantic segmentation with Convolutional Neural Network ApproachesSemantic segmentation with Convolutional Neural Network Approaches
Semantic segmentation with Convolutional Neural Network ApproachesFellowship at Vodafone FutureLab
 
A machine learning based protocol for efficient routing in opportunistic netw...
A machine learning based protocol for efficient routing in opportunistic netw...A machine learning based protocol for efficient routing in opportunistic netw...
A machine learning based protocol for efficient routing in opportunistic netw...Fellowship at Vodafone FutureLab
 
Estimating Number of People in ITU-EEB as an Application of People Counting T...
Estimating Number of People in ITU-EEB as an Application of People Counting T...Estimating Number of People in ITU-EEB as an Application of People Counting T...
Estimating Number of People in ITU-EEB as an Application of People Counting T...Fellowship at Vodafone FutureLab
 
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)Fellowship at Vodafone FutureLab
 
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)Fellowship at Vodafone FutureLab
 
udacity Advance Lane identification (progress presentation)
udacity Advance Lane identification (progress presentation)udacity Advance Lane identification (progress presentation)
udacity Advance Lane identification (progress presentation)Fellowship at Vodafone FutureLab
 
Gaussian Three-Dimensional SVM for Edge Detection Applications
Gaussian Three-Dimensional SVM for Edge Detection ApplicationsGaussian Three-Dimensional SVM for Edge Detection Applications
Gaussian Three-Dimensional SVM for Edge Detection ApplicationsFellowship at Vodafone FutureLab
 

More from Fellowship at Vodafone FutureLab (20)

Cell Segmentation of 2D Phase-Contrast Microscopy Images with Deep Learning M...
Cell Segmentation of 2D Phase-Contrast Microscopy Images with Deep Learning M...Cell Segmentation of 2D Phase-Contrast Microscopy Images with Deep Learning M...
Cell Segmentation of 2D Phase-Contrast Microscopy Images with Deep Learning M...
 
Mreps efficient and flexible detection of tandem repeats in dna
Mreps  efficient and flexible detection of tandem repeats in dnaMreps  efficient and flexible detection of tandem repeats in dna
Mreps efficient and flexible detection of tandem repeats in dna
 
Deep Learning based Segmentation Pipeline for Label-Free Phase-Contrast Micro...
Deep Learning based Segmentation Pipeline for Label-Free Phase-Contrast Micro...Deep Learning based Segmentation Pipeline for Label-Free Phase-Contrast Micro...
Deep Learning based Segmentation Pipeline for Label-Free Phase-Contrast Micro...
 
Protein family specific models using deep neural networks and transfer learni...
Protein family specific models using deep neural networks and transfer learni...Protein family specific models using deep neural networks and transfer learni...
Protein family specific models using deep neural networks and transfer learni...
 
Spatial information Fuzzy C-mean(SFCM)
Spatial information Fuzzy C-mean(SFCM)Spatial information Fuzzy C-mean(SFCM)
Spatial information Fuzzy C-mean(SFCM)
 
CENTRALITY OF GRAPH ON DIFFERENT NETWORK TOPOLOGIES
CENTRALITY OF GRAPH ON DIFFERENT NETWORK TOPOLOGIESCENTRALITY OF GRAPH ON DIFFERENT NETWORK TOPOLOGIES
CENTRALITY OF GRAPH ON DIFFERENT NETWORK TOPOLOGIES
 
Fuzzy Clustering(C-means, K-means)
Fuzzy Clustering(C-means, K-means)Fuzzy Clustering(C-means, K-means)
Fuzzy Clustering(C-means, K-means)
 
Semantic segmentation with Convolutional Neural Network Approaches
Semantic segmentation with Convolutional Neural Network ApproachesSemantic segmentation with Convolutional Neural Network Approaches
Semantic segmentation with Convolutional Neural Network Approaches
 
A machine learning based protocol for efficient routing in opportunistic netw...
A machine learning based protocol for efficient routing in opportunistic netw...A machine learning based protocol for efficient routing in opportunistic netw...
A machine learning based protocol for efficient routing in opportunistic netw...
 
Estimating Number of People in ITU-EEB as an Application of People Counting T...
Estimating Number of People in ITU-EEB as an Application of People Counting T...Estimating Number of People in ITU-EEB as an Application of People Counting T...
Estimating Number of People in ITU-EEB as an Application of People Counting T...
 
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
 
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
AlexNet(ImageNet Classification with Deep Convolutional Neural Networks)
 
Possible Application for smart Airports
Possible Application for smart AirportsPossible Application for smart Airports
Possible Application for smart Airports
 
udacity Advance Lane identification
udacity Advance Lane identificationudacity Advance Lane identification
udacity Advance Lane identification
 
Kaggle Dog breed Identification
Kaggle Dog breed IdentificationKaggle Dog breed Identification
Kaggle Dog breed Identification
 
udacity Advance Lane identification (progress presentation)
udacity Advance Lane identification (progress presentation)udacity Advance Lane identification (progress presentation)
udacity Advance Lane identification (progress presentation)
 
Term project proposal image processing project
Term project proposal image processing projectTerm project proposal image processing project
Term project proposal image processing project
 
presntation about smart charging for the vehicles
presntation about smart charging for the  vehiclespresntation about smart charging for the  vehicles
presntation about smart charging for the vehicles
 
Report for Smart aiport application
Report for Smart aiport  applicationReport for Smart aiport  application
Report for Smart aiport application
 
Gaussian Three-Dimensional SVM for Edge Detection Applications
Gaussian Three-Dimensional SVM for Edge Detection ApplicationsGaussian Three-Dimensional SVM for Edge Detection Applications
Gaussian Three-Dimensional SVM for Edge Detection Applications
 

Recently uploaded

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 

Recently uploaded (20)

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 

Smart city take home question answers

  • 1. Take Home Final Exam/Project Aydin Ayanzadeh  Department of Computer Engineering  Email: ayanzadeh17@itu.edu.tr  Scenario 1 Waste collecting process in scenario 1 is not very complicate. Actually, we have truck with that start its mission and traverse each trash-bin every hour and collects the waste from them(we assume that, the truck has hypothetical speed and end up its mission during the one hour). If we want to simulate this problem to the algorithms or methods, it is easily predicted that, this is similar to TSP(Travels salesman problem) that truck traverse all vertices and come back to its source. But TSP algorithm is NP algorithm and has high complexity in during the execution with many number of nodes, therefore i have to implement the code with greedy, approximation and heuristic method, scenario 1 is the general model of of the scenario 2 that x=18. in scenario 1, i implement this scenario by Dijkstra method (for calculating the shortest path between the S and D) and also, i specialized and D to s). Moreover, The path (shortest path) from S to D is 24 and ta backward path to the trash center based on dijkstra algorithm (dijkstra.m[1]) is 7 (red line in Fig1), P=240+70=310 Km, so the cost of truck in 24 hours with suggested path is cost=24*3.5*310=26040$ (minimum cost for this path). Furthermore, this problem is not faced with overflow capacity of trash bin during 24 hours. I provide an greedy method besides the past method, number of edges is step and the and height of rectangle is h=4, if rows of trash is odd the formula for this 24*3.5*320= 26880$. Fig1,2. Result of scenario the left image represent the waste of trash bin in 21th hours of a day. Right image shows the total cost of waste collection for 24 hours. Scenario 2 In scenario 2, the problem is specialized in numbers of trash-bin, for solving this problem, I use dijkstra algorithm for (n+1) times n=18 and store them in an (n+1)(n+1) matrix, each rows of matrix represents the shortest path from vertex to all other vertices. I use the BLG556E-Digital Solutions for Smart Cities, Spring 2017
  • 2. shortest near neighbors in this problem, i start the path from trash collection center and find the shortest path to all vertices and find them nearest one. Afterward, connect the neighbor edges to the nearest one and keep this way. Nearest method shows the shortest path for different x =2,4,6,8,10 (my method can not evaluate the cost of graph for different X, because it has faced with syntax error that it could not solved, but it can shows the nearest neighbor for each edges) fig3.The architecture of trash bins and trash center fig4.The simple shape of problem in graph mode red line shows the shortest backward way for b) Discuss what will happen when the capacity of a truck is fixed. Write your solution suggestions. If we assume that they have infinite waste collection capacity, we will not encounter the problem in waste collection process. Conversely, when the truck has fixed capacity, the probability of lack of capacity is high in this condition. fix capacity in the municipality trucks leads to use efficient methods of waste collecting of trash-bin. The common solution to solve this problem is increasing the number of truck for each hour. But, scheduling and planning technique is more proper way to solve this problem in fix capacity condition. The more efficient way to solve this problem is using priority method for each trash bin based on their waste collecting every hour and scheduling for eachλ trash bin based on its . By this technique, it is possible that in each iteration of collecting theλ amount of waste is reduced to half of normal condition based on scenario 2. C) Discuss how the trash collection method explained in Scenario#2 could be enhanced. BLG556E-Digital Solutions for Smart Cities, Spring 2017
  • 3. The most important and significant issues in waste collection problem is avoiding from overflow of the trash bins due to its additional financial loss to the municipality. For increase the efficiency of waste collection, we should give priority for each trash-bin ​poisson random variable ​based on its ( ). For example, the trash bin with trash_id (4.3) has =25 has more speed of increment ratherλ λ than the speed of trash bin id 3.1 with =5; assume that trash bin with low is filled half of itsλ λ capacity, in this condition the sensor send an alarm to the trash center, conversely, if the trash bin with higher has the waste between 20-25, in this condition, sensor does not send any alarm to theλ center despite of its high probability to have overflow in next hour and this deficiency in given system brings extra financial loss for trash center. Hence, by reducing the overflow trash bin and number of trash bin that send alarm to the center, related organization will reduce its addition cost of waste collecting. Reference [1] ​mathwork File exchange official websites.By Kashif Shahzad,3rd June 2004(dijkstra algorithm). BLG556E-Digital Solutions for Smart Cities, Spring 2017