#[non_exhaustive]pub struct CobyqaResult {
pub x: Vec<f64>,
pub fun: f64,
pub maxcv: f64,
pub nfev: usize,
pub nit: usize,
pub success: bool,
pub status: CobyqaStatus,
pub fun_history: Vec<f64>,
pub maxcv_history: Vec<f64>,
}Expand description
The result of cobyqa.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.x: Vec<f64>The best point found: feasible if one was seen (the least objective), otherwise the least penalised merit.
fun: f64§maxcv: f64The largest constraint violation at x.
nfev: usize§nit: usize§success: bool§status: CobyqaStatus§fun_history: Vec<f64>The objective and violation at every evaluation (empty unless store_history).
maxcv_history: Vec<f64>Trait Implementations§
Source§impl Clone for CobyqaResult
impl Clone for CobyqaResult
Auto Trait Implementations§
impl Freeze for CobyqaResult
impl RefUnwindSafe for CobyqaResult
impl Send for CobyqaResult
impl Sync for CobyqaResult
impl Unpin for CobyqaResult
impl UnsafeUnpin for CobyqaResult
impl UnwindSafe for CobyqaResult
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