pub unsafe extern "C" fn SCIPsolveNLPParam(
scip: *mut SCIP,
param: SCIP_NLPPARAM,
) -> SCIP_RETCODEExpand description
solves the current NLP (or diving NLP if in diving mode) with given parameters
Typical use is
SCIP_NLPPARAM nlparam = { SCIP_NLPPARAM_DEFAULT(scip); }
nlpparam.iterlimit = 42;
SCIP_CALL( SCIPsolveNLPParam(scip, nlpparam) );or, in one line:
SCIP_CALL( SCIPsolveNLPParam(scip, (SCIP_NLPPARAM){ SCIP_NLPPARAM_DEFAULT(scip), .iterlimit = 42 }) );To get the latter, also \ref SCIPsolveNLP can be used.
@return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref SCIP_Retcode “SCIP_RETCODE” for a complete list of error codes.
@pre This method can be called if SCIP is in one of the following stages: - \ref SCIP_STAGE_INITSOLVE - \ref SCIP_STAGE_SOLVING