SCIPgetLPBranchCands

Function SCIPgetLPBranchCands 

Source
pub unsafe extern "C" fn SCIPgetLPBranchCands(
    scip: *mut SCIP,
    lpcands: *mut *mut *mut SCIP_VAR,
    lpcandssol: *mut *mut f64,
    lpcandsfrac: *mut *mut f64,
    nlpcands: *mut c_int,
    npriolpcands: *mut c_int,
    nfracimplvars: *mut c_int,
) -> SCIP_RETCODE
Expand description

gets branching candidates for LP solution branching (fractional variables) along with solution values, fractionalities, and number of branching candidates; the number of branching candidates does not account for fractional continuous implied integral variables, which should not be used for branching

fractional continuous implied integral variables are stored from *nlpcands to *nlpcands + *nfracimplvars - 1

branching rules should always select the branching candidate among the first npriolpcands 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.