pub unsafe extern "C" fn SCIPgetNLPI(
scip: *mut SCIP,
nlpi: *mut *mut SCIP_NLPI,
nlpiproblem: *mut *mut SCIP_NLPIPROBLEM,
) -> SCIP_RETCODEExpand description
gets the NLP interface and problem used by the SCIP NLP
@warning With the NLPI and its problem, all methods defined in \ref scip_nlpi.h and \ref pub_nlpi.h can be used. It needs to be ensured that the full internal state of the NLPI does not change or is recovered completely after the end of the method that uses the NLPI. In particular, if the NLP or its solution is manipulated (e.g. by calling one of the SCIPaddNlpi…() or the SCIPsolveNlpi() method), one has to check in advance whether the NLP is currently solved. If this is the case, one has to make sure that the internal solution status is recovered completely again. Additionally one has to resolve the NLP with SCIPsolveNlpi() in order to reinstall the internal solution status.
@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