pub struct LowerBoundOptions<A = f64> {
pub sense: Sense,
pub max_iter: usize,
pub upper: Option<A>,
}Expand description
Settings for lower_bound, with A the cost accumulator (i64 or f64).
Fields§
§sense: SenseOptimization direction; maximization returns an upper bound.
max_iter: usizeMaximum subgradient updates per triple (default 300). Zero still evaluates the zero and pairwise-dual multiplier seeds.
upper: Option<A>Optional upper bound on the whole optimum, in the original sign. This is a numerical upper bound in either sense, including maximization. It only clamps the final result; minimization can also exit when the pairwise lower bound reaches it. Never used as a triple’s Polyak target. The caller is responsible for its validity.
Trait Implementations§
Source§impl<A: Clone> Clone for LowerBoundOptions<A>
impl<A: Clone> Clone for LowerBoundOptions<A>
impl<A: Copy> Copy for LowerBoundOptions<A>
Source§impl<A: Debug> Debug for LowerBoundOptions<A>
impl<A: Debug> Debug for LowerBoundOptions<A>
Auto Trait Implementations§
impl<A> Forget for LowerBoundOptions<A>
impl<A> Freeze for LowerBoundOptions<A>
impl<A> Move for LowerBoundOptions<A>
impl<A> RefUnwindSafe for LowerBoundOptions<A>where
Option<A>: RefUnwindSafe,
impl<A> Send for LowerBoundOptions<A>
impl<A> Sync for LowerBoundOptions<A>
impl<A> Unpin for LowerBoundOptions<A>
impl<A> UnsafeUnpin for LowerBoundOptions<A>where
Option<A>: UnsafeUnpin,
impl<A> UnwindSafe for LowerBoundOptions<A>where
Option<A>: UnwindSafe,
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