Yeah that seemed a bit odd to me too, but from a physics perspective it does make sense: https://github.com/abrensch/brouter/issues/309#issuecomment-855833481
It doesn't make sense in practice, because one doesn't 'waste' energy in a descent. One can ride it down with 0 Watt. Nobody ever avoided a route because there was a downhill on the way :-)
The problem is going up. And the steeper the uphill is, the worst the problem is.
In the example I had taken, if I take the 12% road, I need to take a rest on top of the section (in the best case, otherwise I may even need another break in the middle). And I am pretty dead after the common section, and I carry that in following sections again (recovery is not my strong point :-)). If I take the 8% road, I can ride it in one go, then I may or may not struggle in the following sections because I am a bit burnt. If there was an hypothetical twice-as-long road at 4%, I would start the following sections as fresh as a daisy.
Note that going up can be decorrelated from going down. I absolutely don't care about which kind of gradient is exhibited by the descent that might come after.
In their logic, they also forget that even with a nice, flattish descent that they wouldn't penalise, it is always both faster and easier on the legs to ride around the hill than climbing up and down through a pass, even though the detour is a bit longer. Because the climb is what kills it all, it rarely works as an investment as they call it; it rather hurts your legs and diminishes your abilities for the rest of the route.
Basically it aims for energy efficiency by avoiding excessive wind drag.
Yeah, and I don't think that's the right metrics in most cases :-)
Personally, if we set aside true winds, the only situation in which I sometimes care about wind drag is over long downhill false-flat sections (and only when I am in a shape, for that's the only combination where the speed can have an impact on me). This situation is specifically the one case that they don't penalise...
Anyway, as you said, that piece of software is highly configurable, so one can configure it as one likes when one disagrees with their logic.
Edit : would you happen to know which Brouter parameter should be set/tweaked to avoid/limit the occurrence of U-turns? By "U-turn", I mean that when I set an intermediate waypoint, my intention is generally to go through it and then keep going on the same road or general direction, not turn back and come back the way I came.
See Example . You see how I engaged my intermediate waypoint on the D32 and D17, but the router goes to the waypoint, and then comes all the way backwards to take the D618.
Of course, in practice, I can move the waypoint or add new ones, that's how I always did so far with other, non configurable, routers. It's not a big deal.
Clouet : « Jaurès défendait le placement des caisses de retraites dans des rentes d'États et des rentes [valeurs dans le texte de Jaurès] industrielles : zéro fond de pension ! »
C'est pourtant bien la définition exacte d'un fond de pension : un fond de pension reçoit les cotisations retraite (salariales ou patronales) et les investit dans des obligations d'État et des actions d'entreprises pour en tirer des revenus abondant le capital versé via les cotisations.
Et voici l'article «Capitalisme et Capitalisation» de Jaurès sur le site de la BNF d'où les protagonistes tirent leurs arguments.