Find Jobs
Hire Freelancers

Scheduling

$10-30 USD

In Progress
Posted over 4 years ago

$10-30 USD

Paid on delivery
Create a scheduling algorithm for a central SQL server that responds to database queries from many different clients. The queries can only be run one at a time, but can be run in any order. We know in advance what the queries are and what their running times will be. We want to choose how to schedule query such that the overall waiting time is minimized. The *waiting time* of a query is how long it must wait in a queue before it is executed. For example, if the running times of the queries are (2, 5, 1, 3) and we schedule the queries in that order, then the total waiting time is 0 + (2) + (2+5) + (2+5+1) = 17. If we scheduled them in the reverse order, then the total waiting time is 0 + (3) + (1+3) + (5+1+3) = 16, which is slightly better. However, the minimum possible waiting time for this example is 10. Implement the function scheduling(times), which is given a list of query times and returns the optimal (minimum) total waiting time. EXAMPLES scheduling([2, 5, 1, 3]) # 10 scheduling([3, 4, 4, 4, 4, 2]) # 46 scheduling([3, 1, 4, 3]) # 12 scheduling([7, 3, 7, 3, 3, 1]) # 39 scheduling([2, 6, 2, 6, 3, 6]) # 45 And use this to start the code: def scheduling(times): pass
Project ID: 22727340

About the project

9 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
9 freelancers are bidding on average $80 USD for this job
User Avatar
Hello! I'd like to help you with this theory of algorithms assignment! I'm familiar with various data structures as well search ones. I can do the job blazingly fast. Please, give me a try!
$448 USD in 1 day
5.0 (3 reviews)
4.3
4.3
User Avatar
Hello, this is a kind of optimization task. It will require to test all (n!) permutations or use a kind of optimization algorithm say Branch and Bound method or Genetic algorithms. The last algorithms is only check the reduced set of permutations and may stop at local minimum. Can you please drop me a messages so will discuss the goals of project before I will send to you my detailed offer? It would be best to get a few real data sets for testing. No python. C#, java, php, c++, javascript, but not the python. I’m full stack .NET/SQL software developer with more than 15 years experience. I’m flexible with requirements change at development stage. I will provide support after the development of the project will be finished. Best regards, Yurii
$30 USD in 3 days
5.0 (1 review)
4.3
4.3
User Avatar
I have read your project and I am an expert in this field. I can do this for you within due time and honestly. I also have a few questions to discuss. Kindly contact me and we will discuss time and budget. Thanks
$20 USD in 7 days
4.9 (16 reviews)
4.0
4.0
User Avatar
Hello sir, i can complete this function very easily within 30 minutes. It will return minimum required time, giving waiting time for all the schedule. drop a message and lets discuss about it
$15 USD in 1 day
5.0 (8 reviews)
4.0
4.0
User Avatar
hello sir I am a full time freelancer and have 10 years of experience in web and window development in asp.net c#, javascript, . i can do work as per your requarment pls inbox me so that we can talk. Thanks
$50 USD in 7 days
5.0 (1 review)
3.4
3.4
User Avatar
I know how to implement described solution. You could accept me and i will share my expertise with you. About me: Senior SQL Developer with 10+ years experience, worked during this time with several automation systems, Business Intelligence tools. Five years working within scrum team in USA product company. Also during my professional activity i gathered expertise and experience in several areas of IT from configuration development environment to delivery of developed product. Areas of specialization: ● MS SQL Server DB Engine ● T-SQL ● MS Reporting Services ● DWH ● MS Integration Services ● ETL Processes ● MS Analysis Services
$25 USD in 2 days
5.0 (13 reviews)
3.5
3.5
User Avatar
I am a python developer with 3 year experience. I make a point to write my code in a consistent style adhering to the PEP8 style document. Reply me as soon as possible so we can discuss further details. Thank you!
$90 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I had BSc and MSc degree in Applied Mathematics and Informatics (gpa 4.8). Also undertaken postgraduate studies in Information and Navigation Systems (PhD candidate). I had solid experience in Python, C backgrounding by past positions in EMC, Nokia and others. Developed software on Linux, AIX and Windows platforms. Target areas were DBMS, storage-systems and circular networks. Available for both software engineering and research (10+ papers and patents). Linkedin profile: www. linkedin. com/in/apovalyaev/
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello customer. I understood all details of your project. I have enough experience about optimization such as your project. As you can see, I am C, Python and C++ language expert. I think that it requires high algorithm knowledge. I can start work right now. please contact me. Thanks. -addition scheduling([7, 3, 7, 3, 3, 1]) # min:39 max:81 scheduling([3, 4, 4, 4, 4, 2]) # min:46 max:59
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
mankato, United States
5.0
3
Payment method verified
Member since Oct 22, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.