Expand description
Definition of an optimisation problem
The definition of an optimisation problem involves:
- the gradient of the cost function
- the cost function
- the set of constraints, which is described by implementations of
Constraint
Construct a new instance of an optimisation problem
constraints
constraints
cost_gradient
gradient of the cost function
cost
cost function
New instance of Problem
impl<'a, GradientType, ConstraintType, CostType> Send for Problem<'a, GradientType, ConstraintType, CostType> where
ConstraintType: Sync,
CostType: Send,
GradientType: Send,
impl<'a, GradientType, ConstraintType, CostType> Sync for Problem<'a, GradientType, ConstraintType, CostType> where
ConstraintType: Sync,
CostType: Sync,
GradientType: Sync,
impl<'a, GradientType, ConstraintType, CostType> Unpin for Problem<'a, GradientType, ConstraintType, CostType> where
CostType: Unpin,
GradientType: Unpin,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.