Thought problem - working on a fantasy baseball lineup optimizer

sampjennings

New Member
Joined
Sep 17, 2015
Messages
2
So, guys and gals, I have no idea if this is possible using Excel. I play a historical fantasy baseball game called Diamond Mind, which uses historical statistics of players to and pits them against each other. I'm working on ways to optimize my roster construction using Excel spreadsheets, and have gotten pretty far, but haven't been able to push it to the next step.

I've got this boiled down to player name, salary, and total runs contributed from offensive and defensive statistics - in other words, the value in "runs" that a player will contribute in total, both from hitting and fielding. Each player, of course, has a different salary, and each league has a different budget.

What I'd like to do is figure out a way to get the computer to analyze my worksheet and test different lineups, finding the one that is optimized for total runs created for a given budget. Say, you input a budget of $60 million, computer tests every lineup combination and comes up with the best lineup given the available players and budget.

Anyone have an idea of where to start here? I can think of ways to do this with C++, but I'm pretty rusty on that and don't know how to export data from Excel to the program I would create.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top