SCIPnodeAddCons

Function SCIPnodeAddCons 

Source
pub unsafe extern "C" fn SCIPnodeAddCons(
    node: *mut SCIP_NODE,
    blkmem: *mut BMS_BLKMEM,
    set: *mut SCIP_SET,
    stat: *mut SCIP_STAT,
    tree: *mut SCIP_TREE,
    cons: *mut SCIP_CONS,
) -> SCIP_RETCODE
Expand description

adds constraint locally to the node and captures it; activates constraint, if node is active; if a local constraint is added to the root node, it is automatically upgraded into a global constraint