Function SCIPaddCut

Source
pub unsafe extern "C" fn SCIPaddCut(
    scip: *mut SCIP,
    sol: *mut SCIP_SOL,
    cut: *mut SCIP_ROW,
    forcecut: c_uint,
    infeasible: *mut c_uint,
) -> SCIP_RETCODE
Expand description

adds cut to separation storage

@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 @p scip is in one of the following stages: - \ref SCIP_STAGE_SOLVING

@deprecated Please use SCIPaddRow() instead, or, if the row is a global cut and it might be useful to keep it for future use, consider adding it to the global cutpool with SCIPaddPoolCut().