In Progress

Update R script that uses LP Solve and reshape. Currently works perfectly

This is a script I am currently using and it works perfectly. However, I want to make some changes. This script helps me create my fantasy basketball teams. It is currently designed to create a team of 6 players composed of one Captain (CPT), and five FLEX players for a total of 6. The output is designed so the information on the Captain is always to the far left set of columns.

I want the updated script to create a team of 8 and the positions will be PG, SG, SF, PF, C, UTIL. The constraints will remain the same as the original script with the exception of the new positions. The following constraints will need to be added.

PG = or between 1 and 3

SG = or between 1 and 3

SF = or between 1 and 3

PF = or between 1 and 3

C = or between 1 and 2

PG+SG = at least 3

SF+PF = at least 3

The output will need to be organized the following order:

Far left, PG info

then SG

then SF

then PF

then C

then PG or SG

then SF or PF

then whatever is left

Players can't repeat. For example, Michael Jordan can't occupy two positions on the same team however this script already addresses that.

I've included the script and a sample dataset. Thank you for your consideration.

Skills: R Programming Language, Linear Programming

See more: update php script example, auto update wordpress script, dynamic update java script ajax, optimization in r tutorial, lpsolve package in r install, optimization in r example, lpsolve r example, solver in r, optimization in r lpsolve, r lp control example, lp solver c++, access update records script, email update subscription script, mysql update users script, pricing update php script, stock update php script, dynamic update java script, need someone update socialenginenet script, reduce amount cpu script uses php, write update data script access table

About the Employer:
( 7 reviews ) Signal Hill, United States

Project ID: #22984461

13 freelancers are bidding on average $220 for this job


Hi I am a very experienced statistician, data scientist and academic writer. I have completed several PhD level thesis projects involving advanced statistical analysis of data. I have worked with data from several comp More

$500 USD in 7 days
(18 Reviews)

Hi. I am interested in the project. I am a mathematician. I have experience with linear programming and R. Let's talk in the chat box..

$250 USD in 7 days
(2 Reviews)

Hi, I'm an experienced Data Scientist and I've done all sorts of data ETL and processing in both R and Python. I can do this quickly and accurately. Let me know if you're interested via chat. thanks

$250 USD in 3 days
(10 Reviews)

Dear Prospective Client, I've been solving LP problems using R for several years and would like to work on your project. I assure you that you will be impressed by the quality of my work as did every single client o More

$300 USD in 7 days
(2 Reviews)

Hello! Reviewed your R code. Will update it as per your requirements. Please message details. Thanks.

$130 USD in 4 days
(4 Reviews)

I have solved many linear and non-linear optimizations, ranging from simple to complex and I ever did football analysis but that was statistical, I understand football match problem, I did not check current script, how More

$200 USD in 7 days
(2 Reviews)

Hello,sir.I read your project description. I can perfectly complete your project in a short time. I am strong in Math and Algorithms and Machine learning.I am a ACM competitor.I am prophicient in Matlab and R programmi More

$250 USD in 7 days
(1 Review)
$155 USD in 3 days
(0 Reviews)

Hello, I have read your job description carefully and I am confident I can finish your job without fail. I have full experience in R and MATLAB and have expertise in statistical analysis and machine learning data proc More

$200 USD in 7 days
(0 Reviews)

Hello, Hope you are having a good weekend. :) I just carefully went through your description and dataset. I can update your R script just like your requirements. I will add new constraints and rules that will be set on More

$200 USD in 7 days
(0 Reviews)

Dear sir. I read your project description very carefully. I've really rich experience in Linear Programming, so your project is very interesting to me. I'm really confident about your project, and very eager to join it More

$140 USD in 7 days
(0 Reviews)

Hello. I've just read your note carefully. As far as i am concerned i am appropriate for you. I am a new freelancer but I've developing apps with c asm and java and web sites using php and jsp frameworks. Waiting fo More

$140 USD in 7 days
(0 Reviews)

Hello,dear! Nice to meet you! I have read your requirements carefully and I am very interesting for your project. I am confident of this project as I'm a professional R and Linear Programming expert with over 5 years More

$150 USD in 3 days
(0 Reviews)