SCIPdelConsLocal

Function SCIPdelConsLocal 

Source
pub unsafe extern "C" fn SCIPdelConsLocal(
    scip: *mut SCIP,
    cons: *mut SCIP_CONS,
) -> SCIP_RETCODE
Expand description

disables constraint’s separation, enforcing, and propagation capabilities at the current node (and all subnodes); if the method is called during problem modification or at the root node, the constraint is globally deleted from the problem; the constraint deletion is being remembered at the current node, s.t. after leaving the current subtree, the constraint is automatically enabled again, and after reentering the current node’s subtree, it is automatically disabled again; this may improve performance because redundant checks on this constraint are avoided, but it consumes memory; alternatively, use SCIPdisableCons()

@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_PROBLEM - \ref SCIP_STAGE_INITPRESOLVE - \ref SCIP_STAGE_PRESOLVING - \ref SCIP_STAGE_EXITPRESOLVE - \ref SCIP_STAGE_SOLVING

@note SCIP stage does not get changed