Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
What's your research strategy?

The is certainly no optimal solution here and there are multiple trade-offs involved. For the simpler goal of maximizing the bonus in the case that the available BC always exceeds the 7.5% of the amount already invested, it is clear that the excess should go to the project with the maximum expected lifetime. The rationale is that the longer a project lasts, the more compound interest bonus any additional BC will accrue. So the allocation strategy for the excess is to minimize the maximum expected duration d of the available projects under the assumption that future investments will exactly match the 7.5% threshold. d is of the form d = -ln(f)/ln(1.225) + t_pop, with f being the fraction of completion such the f=1 is the lightbulb being exactly full and t_pop is the expected time it will take from completion to breakthrough.

So basically, the strategy is, to use the excess money to equalize the lightbulbs. But maximizing the research bonus is not the goal in play. Why? Because spending BC (beyond the 1st to keep the investment from decaying, which we will ignore from now on) on a project already in the percentages, even if it gets tripled, is not always the best course of action, as you can get the tech for free just by waiting, with the expected waiting time t_pop = 1/(f-1). (This assumes chance to pop p=f-1; might in fact be twice that, not sure). So here, we have a time/BC tradeoff at hand.

Assuming a fixed research budget, the goal is not to maximize the research bonus (and thus the total research investment), but to minimize the time to get the techs we need. So after having spent our 7.5% on all projects in the lightbulb phase (f<1), we should consider to invest the remaining BCs where they will buy us the most time. For a project with a base cost c, an additional BC will buy us (x is cost in BC and f'=df/dx)

  -d' = f'/(f*ln(1.225)) = 1/(c*f*ln(1.225)) years for a project in the lightbulb phase (f<1, f'=1/c, no bonus)
  (-1/(f-1))' = 3/(c*(f-1)^2) years for a project in the percentage phase (f>1, f'=3/c, triple bonus)

However, time on a cheap project is clearly worth less than time on an expensive project. If we assume the the value of the saved time is proportional to the base cost c, then our allocation depends only on f, the fraction of completion. Both marginal utility functions are strictly decreasing with f, so we will again fill up from below, allocating each additional BC to the project with the darkest lightbulb or lowest pop-percentage p=f-1 resp.

For the regime described above i.e. the LEDs of all lightbulb projects are off (no additional bonus), and the LEDs of all percentage projects are on (triple bonus), we get the indifference equation p = 0.78*sqrt(f). So assume, we have put our 7.5% into all lightbulb projects, and put all percentage projects on hold (1 BC) and let A and B be the lowest-completion lightbulb (f) and percentage project (p), then out next BC should go to A if p>0.78*sqrt(f) and to B if p<0.78*sqrt(f).

Let B be at 25% to pop, then we should fill up all lightbulb projects to 10% completion (even without bonus) before we start putting BC into B (even if it would get tripled). OTOH if A is already 40% complete, we are better off bonus-boosting our about to pop projects up to 50%, before investing more than the bonus amount into A.

Obviously, this analysis completely disregards opportunity costs, the relative value and urgency of techs and the dependencies of the tech ladder.

ignatius
Reply

That was altogether more maths than I was expecting my day to contain. smile
Reply

And then I hit the = key and get on with the game.

Seriously though. This was a fascinating analysis of the research mechanism and really the rationale behind it. This just goes to show that there are factors behind a research strategy that can't simply be factored into a spreadsheet formula. Almost like some sort of strategy game...
Reply

I rechecked the chance-to-pop (p) formula and found out that p = 1/2 (f-1) instead of the p = (f-1) which I wrongly assumed above. That is, three times the base cost gives 100% chance to pop. The updated indifference equations are thus:

case 1: all LEDs are on (we get no further bonus for neither bulb nor finished projects)

  p = 0.32 * sqrt(f)

This case is rare and can only happen if we suddenly increase tech spending dramatically.

case 2: bulb LEDS are on, percentage LEDs are off (no bonus for bulb and full bonus for finished projects)

  p = 0.55 * sqrt(f)

case 3: some bulb LEDs are still off. i.e. we are so short on tech that we cannot even claim the interest bonus for the bulb projects.

In that case, our growth assumptions (namely that our bulb projects always grow at least 22.5% p.a.) are not met and the mathematical model breaks down, so no indifference equation can be given. So we will only handle case 1 and 2.

From the reactions, I realized the need for further simplification, so I took a close look at the lightbulbs and found out, that 1 bright line in the bulb sprite equals an invested amount of 12.5% of the project base cost. Also, the interface has the nice feature that it shows us the state after the planned allocation (i.e. LEDs, bulbs and percentages react to the slider), which is exactly what we want. So I came up with a simple table:

bulb   % compl.  % pop   % pop
lines  no bonus  bonus   no bonus
0 (~1/3)  4       11       6
0 (~2/3)  8       16       9
1        12.5     20      11
2        25       28      16
3        37.5     34      20
4        50       39      23
5        62.5     44      25
6        75       48      28
7        87.5     51      30

How to use this table?

1. First, you fill up all bulb projects such that the LEDs are on while giving the finished projects only a single tick. If this in not possible, the method cannot be applied (see below).

2. Then you count the lines in the dimmest bulb and see if the minimum %pop (bonus) is above or below the threshold. If it's above, you fill the the dimmest bulb(s) up to the next line and repeat from 2. with the next threshold.

3. If it's below, you bring the pop percentage up to the threshold or until you claimed the bonus (LED goes on). In the latter case, you will use the lower %pop (no bonus) threshold for further allocation for this project.

4. Repeat from 2. until all BCs are allocated. Practically, you will use the weapons slider as your BC reservoir, so you will work down there, and up in the other 5 fields until the indifference equations are met.

An approximate rule of thumb would be: fill up all bulb projects such that the LEDs are on. If you have projects to seed (empty bulb), halt (i.e. single tick) all finished projects in the double digits and seed the new ones. Don't go above 30% unless all bulbs have at least 3 bright lines and never go above 50%.

What to do, if you are so short on tech, that you cannot even claim the full interest bonus on your bulb projects (i.e. you still have unlit LEDs there)? In that case, you are resource bound. Obviously, you will try to operate within the max bonus envelope (i.e. keep all LEDs off), unless you have a very important project you need to push. Ignoring this, you still have to allocate BCs between bulb and finished projects. Here, you can still use the (lower) %pop (no bonus) thresholds as a hard upper limit (mathematically having bonus for both or for neither leads to the same equation), realizing that the actual values are lower still (and tend to zero for very low funding). A better mathematical model could be given in theory, but it would depend heavily on the assessment of future tech funding.

In practice, it can absolutely make sense, to vary your tech spending in phase with the maturity of your projects, so that you always operate in the case 2 regime, provided that you have some reasonable investment alternatives.

ignatius

PS: in the original post, I got the LED indicator wrong. Should be fixed now. Sorry for the confusion.
Reply



Forum Jump: