Struct scip_sys::SCIP_NlpParam
source · #[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 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more