#[repr(C)]pub struct SCIP_NlpParam {
pub lobjlimit: f64,
pub feastol: f64,
pub opttol: f64,
pub solvertol: f64,
pub timelimit: f64,
pub iterlimit: c_int,
pub verblevel: c_ushort,
pub fastfail: SCIP_NLPPARAM_FASTFAIL,
pub expectinfeas: c_uint,
pub warmstart: c_uint,
pub caller: *const c_char,
}Expand description
parameters for NLP solve
Fields§
§lobjlimit: f64< lower objective limit (cutoff)
feastol: f64< feasibility tolerance (maximal allowed absolute violation of constraints and variable bounds)
opttol: f64< optimality tolerance (maximal allowed absolute violation of optimality conditions)
solvertol: f64< solver-specific tolerance on accuracy, e.g., maximal violation of feasibility and optimality in scaled problem (0.0: use solver default)
timelimit: f64< time limit in seconds: use SCIP_REAL_MAX to use remaining time available for SCIP solve (limits/time - currenttime)
iterlimit: c_int< iteration limit
verblevel: c_ushort< verbosity level of output of NLP solver to the screen: 0 off, 1 normal, 2 debug, > 2 more debug
fastfail: SCIP_NLPPARAM_FASTFAIL< whether the NLP solver should stop early if convergence is slow
expectinfeas: c_uint< whether to expect an infeasible problem
warmstart: c_uint< whether to try to use solution of previous solve as starting point (if available)
caller: *const c_char< name of file from which NLP is solved (it’s fine to set this to NULL)
Trait Implementations§
Source§impl Clone for SCIP_NlpParam
impl Clone for SCIP_NlpParam
Source§fn clone(&self) -> SCIP_NlpParam
fn clone(&self) -> SCIP_NlpParam
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SCIP_NlpParam
impl Debug for SCIP_NlpParam
impl Copy for SCIP_NlpParam
Auto Trait Implementations§
impl Freeze for SCIP_NlpParam
impl RefUnwindSafe for SCIP_NlpParam
impl !Send for SCIP_NlpParam
impl !Sync for SCIP_NlpParam
impl Unpin for SCIP_NlpParam
impl UnwindSafe for SCIP_NlpParam
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)