Function SCIPgetExternBranchCands

Source
pub unsafe extern "C" fn SCIPgetExternBranchCands(
    scip: *mut SCIP,
    externcands: *mut *mut *mut SCIP_VAR,
    externcandssol: *mut *mut f64,
    externcandsscore: *mut *mut f64,
    nexterncands: *mut c_int,
    nprioexterncands: *mut c_int,
    nprioexternbins: *mut c_int,
    nprioexternints: *mut c_int,
    nprioexternimpls: *mut c_int,
) -> SCIP_RETCODE
Expand description

gets external branching candidates along with solution values, scores, and number of branching candidates; these branching candidates can be used by relaxations or nonlinear constraint handlers; branching rules should always select the branching candidate among the first nprioexterncands of the candidate list

@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

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

@note Candidate variables with maximal priority are ordered: binaries first, then integers, implicit integers and continuous last.