pub struct ObjectiveScalingInfo {
pub factor: Option<f64>,
pub total_factor: Option<f64>,
pub start_gradient_max: Option<f64>,
pub certificate_refused: bool,
pub acceptable_certificate_refused: bool,
}Expand description
The objective-scaling decision (gh#990 item 13).
Fields§
§factor: Option<f64>The solver-computed objective scaling factor the run ended with
(excluding the caller’s own obj_scaling_factor); 1 when none was
applied.
total_factor: Option<f64>gh#1001. |obj_scaling_factor · factor · audit upscale|: the whole
multiplier on the objective the returned run’s IPM minimized, so
statistics.final_scaled_objective and each iteration’s mu are in
units of total_factor · f. Differs from factor when the caller
set obj_scaling_factor or the gh#983 audit re-solved with the
objective scaled up.
start_gradient_max: Option<f64>max |grad f| at the starting point, as gradient-based scaling
measured it.
certificate_refused: boolA strict termination certificate was refused because the objective scaling masked it (gh#200), and the solve kept iterating.
acceptable_certificate_refused: boolSame, for an acceptable-level certificate.
Trait Implementations§
Source§impl Clone for ObjectiveScalingInfo
impl Clone for ObjectiveScalingInfo
Source§fn clone(&self) -> ObjectiveScalingInfo
fn clone(&self) -> ObjectiveScalingInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ObjectiveScalingInfo
impl Debug for ObjectiveScalingInfo
Source§impl<'de> Deserialize<'de> for ObjectiveScalingInfo
impl<'de> Deserialize<'de> for ObjectiveScalingInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectiveScalingInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectiveScalingInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ObjectiveScalingInfo
impl Serialize for ObjectiveScalingInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for ObjectiveScalingInfo
impl RefUnwindSafe for ObjectiveScalingInfo
impl Send for ObjectiveScalingInfo
impl Sync for ObjectiveScalingInfo
impl Unpin for ObjectiveScalingInfo
impl UnsafeUnpin for ObjectiveScalingInfo
impl UnwindSafe for ObjectiveScalingInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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