What do you want to optimize?
People seem to throw around the term "optimal betting strategy" a lot. Unfortunately, this term isn't really well-defined... exactly what is it that you are trying to optimize?
To optimize your EV (ie, the expected value of your bankroll after the bet) you bet the minimum when the house has the edge, and your entire bankroll when you have the edge. The problem with this is that your risk of ruin is 100%, which is, ummm.... problematic.
The much-used (and much-misused) Kelly Criterion optimizes the EV of the log of your bankroll after the bet. It's an interesting idea because the log of 0 is negative infinity (sort of) so a TRUE Kelly bettor would have a risk of ruin of 0, since he would never bet his entire bankroll on anything but a sure thing, since a non-zero probability of losing a bet of your entire bankroll would bring the EV of the log of your bankroll down to negative infinity... the Kelly Bettor would prefer not to make this bet.
Now, it has been determined that for a game WITH EVEN MONEY PAYOFFS (which blackjack is not), the correct "Kelly-sized" bet is equivalent to the fraction of your bankroll which matches your edge. For example, in Kelly's original paper (if I remember it correctly... I have it kicking around somewhere) he uses the example of being able to bet on the result of a baseball game after it has been played, but before the result is "common knowledge". You have a data line, on which you receive a stream of data, with each peice of data representing the result of a particular game. However, there are errors on this line, and each "result" only has a probability p of being corect. So if there is a 25% error rate on your line (so p=75%) and you were able to make even-money bets, your edge here is 50%, and so betting 50% of your bankroll would maximize the EV of the log of your bankroll.
The problem with applying this to blackjack is that a blackjack bet is not an even money bet. Even when you have the edge, you still usually lose more hands than you win. You edge comes from the fact that a blackjack pays 3:2, and you can increase your bet (by splitting/doubling) in many favourable situations. I think I read somewhere (very possibly on this web site... I don't remember) that a "true Kelly bet" for blackjack (ie a bet that maximizes the EV of the log of your bankroll) is something around 75% of your edge multiplied times your bankroll. So, with a 2% edge, it would be about 1.5% of your bankroll.
Another problem with applying Kelly Betting to any blackjack (or pretty much any real-world situation) is that for this whole "risk of ruin = 0" thing you need the ability to make arbitrarily small bets if necessary, which, of course, you can't do, because of things like table minimums. I mean, if your bankroll is down to $100 and the table minimums are $5, you aren't technically "ruined" since your bankroll is non-zero, but you also can't make any more bets if you want to stick to the Kelly Criterion (unless it's an even money bet where you edge is 5% or more)
Anyway, I've babbled enough, and haven't really given you an answer. My point here is that when someone talks about "optimal betting" or an "optimal betting ramp", your first question should be, what is it that's being optimized?
Keith