pub enum BsdeMode {
Decoupled,
Coupled {
max_picard_iterations: usize,
tolerance: f64,
continuation_steps: usize,
},
}Expand description
BSDE Solver Mode
Configures how the Forward-Backward Stochastic Differential Equation is solved.
Decoupled: For systems where the Forward SDE (price dynamics) does NOT depend on the solution $Y_t$ (Value Function) or $Z_t$ (Control). This is the standard case for utility maximization where asset prices are exogenous. Solves backwards in one pass.Coupled: For systems where asset dynamics depend on the control (e.g. Large Trader / Price Impact models). Requires Picard iteration to find a fixed point for $(X, Y, Z)$.
Variants§
Auto Trait Implementations§
impl Freeze for BsdeMode
impl RefUnwindSafe for BsdeMode
impl Send for BsdeMode
impl Sync for BsdeMode
impl Unpin for BsdeMode
impl UnsafeUnpin for BsdeMode
impl UnwindSafe for BsdeMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more