Function scip_sys::SCIPaddConflict
source · pub unsafe extern "C" fn SCIPaddConflict(
scip: *mut SCIP,
node: *mut SCIP_NODE,
cons: *mut SCIP_CONS,
validnode: *mut SCIP_NODE,
conftype: SCIP_CONFTYPE,
iscutoffinvolved: c_uint
) -> SCIP_RETCODEExpand description
adds a conflict to a given node or globally to the problem if @p node == NULL.
@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 in one of the following stages of the SCIP solving process: - \ref SCIP_STAGE_INITPRESOLVE - \ref SCIP_STAGE_PRESOLVING - \ref SCIP_STAGE_EXITPRESOLVE - \ref SCIP_STAGE_SOLVING
@note this method will release the constraint