[−][src]Struct optimization_engine::continuation::HomotopyProblem
Homotopy problem definition
Definition of a parametric optimization problem to be solved with the homotopy method
Methods
impl<ParametricPenaltyFunctionType, ParametricGradientType, ConstraintType, ParametricCostType> HomotopyProblem<ParametricPenaltyFunctionType, ParametricGradientType, ConstraintType, ParametricCostType> where
ParametricPenaltyFunctionType: Fn(&[f64], &[f64], &mut [f64]) -> Result<(), SolverError>,
ParametricGradientType: Fn(&[f64], &[f64], &mut [f64]) -> Result<(), SolverError>,
ParametricCostType: Fn(&[f64], &[f64], &mut f64) -> Result<(), SolverError>,
ConstraintType: Constraint, [src]
ParametricPenaltyFunctionType: Fn(&[f64], &[f64], &mut [f64]) -> Result<(), SolverError>,
ParametricGradientType: Fn(&[f64], &[f64], &mut [f64]) -> Result<(), SolverError>,
ParametricCostType: Fn(&[f64], &[f64], &mut f64) -> Result<(), SolverError>,
ConstraintType: Constraint,
pub fn new(
constraints: ConstraintType,
parametric_gradient: ParametricGradientType,
parametric_cost: ParametricCostType,
penalty_function: ParametricPenaltyFunctionType,
num_penalty_constraints: usize
) -> HomotopyProblem<ParametricPenaltyFunctionType, ParametricGradientType, ConstraintType, ParametricCostType>[src]
constraints: ConstraintType,
parametric_gradient: ParametricGradientType,
parametric_cost: ParametricCostType,
penalty_function: ParametricPenaltyFunctionType,
num_penalty_constraints: usize
) -> HomotopyProblem<ParametricPenaltyFunctionType, ParametricGradientType, ConstraintType, ParametricCostType>
Constructs instances of Homotopy problem
Arguments
constraints: hard constraintsparametric_gradient: gradient of the parametric cost function, df(u; p)parametric_cost: parametric cost function, f(u; p)penalty_function: parametric penalty function: c(u; p)num_penalty_constraints: number of penalty-type constraints. This is the range dimension of c(u; p)
Auto Trait Implementations
impl<ParametricPenaltyFunctionType, ParametricGradientType, ConstraintType, ParametricCostType> Send for HomotopyProblem<ParametricPenaltyFunctionType, ParametricGradientType, ConstraintType, ParametricCostType> where
ConstraintType: Send,
ParametricCostType: Send,
ParametricGradientType: Send,
ParametricPenaltyFunctionType: Send,
ConstraintType: Send,
ParametricCostType: Send,
ParametricGradientType: Send,
ParametricPenaltyFunctionType: Send,
impl<ParametricPenaltyFunctionType, ParametricGradientType, ConstraintType, ParametricCostType> Sync for HomotopyProblem<ParametricPenaltyFunctionType, ParametricGradientType, ConstraintType, ParametricCostType> where
ConstraintType: Sync,
ParametricCostType: Sync,
ParametricGradientType: Sync,
ParametricPenaltyFunctionType: Sync,
ConstraintType: Sync,
ParametricCostType: Sync,
ParametricGradientType: Sync,
ParametricPenaltyFunctionType: Sync,
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,