Find Jobs
Hire Freelancers

Scheduling

$10-30 USD

进行中
已发布超过 4 年前

$10-30 USD

货到付款
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
项目 ID: 22727340

关于此项目

9提案
远程项目
活跃4 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
9威客以平均价$80 USD来参与此工作竞价
用户头像
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 在1天之内
5.0 (3条评论)
4.3
4.3
用户头像
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 在3天之内
5.0 (1条评论)
4.3
4.3
用户头像
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 在7天之内
4.9 (16条评论)
4.0
4.0
用户头像
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 在1天之内
5.0 (8条评论)
4.0
4.0
用户头像
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 在7天之内
5.0 (1条评论)
3.4
3.4
用户头像
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 在2天之内
5.0 (13条评论)
3.5
3.5
用户头像
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 在7天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在7天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
mankato, United States
5.0
3
付款方式已验证
会员自10月 22, 2019起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。