SCIPcalcNodeselPriority

Function SCIPcalcNodeselPriority 

Source
pub unsafe extern "C" fn SCIPcalcNodeselPriority(
    scip: *mut SCIP,
    var: *mut SCIP_VAR,
    branchdir: SCIP_BRANCHDIR,
    targetvalue: f64,
) -> f64
Expand description

calculates the node selection priority for moving the given variable’s LP value to the given target value; this node selection priority can be given to the SCIPcreateChild() call

@return the node selection priority for moving the given variable’s LP value to the given target value.

@pre This method can be called if @p scip is in one of the following stages: - \ref SCIP_STAGE_SOLVING

See \ref SCIP_Stage “SCIP_STAGE” for a complete list of all possible solving stages.