Skip to content

Commit

Permalink
core: stdcm: ignore mareco discontinity and fallback on linear
Browse files Browse the repository at this point in the history
Signed-off-by: Eloi Charpentier <eloi.charpentier.42@gmail.com>
  • Loading branch information
eckter committed Oct 1, 2024
1 parent f2926f3 commit 904491e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ fun buildFinalEnvelope(
"Can't slow down enough to match the given standard allowance"
)
break
} else if (e.osrdErrorType == ErrorType.AllowanceConvergenceDiscontinuity) {
// May be caused by this bug:
// https://github.com/OpenRailAssociation/osrd/issues/9037
// It's quite difficult to fix this issue for now, but we can
// still fallback on linear allowance to have a result
postProcessingLogger.warn("Discontinuity in mareco search space")
break
} else throw e
}
}
Expand Down

0 comments on commit 904491e

Please sign in to comment.