SCIPtranslateSubSols

Function SCIPtranslateSubSols 

Source
pub unsafe extern "C" fn SCIPtranslateSubSols(
    scip: *mut SCIP,
    subscip: *mut SCIP,
    heur: *mut SCIP_HEUR,
    subvars: *mut *mut SCIP_VAR,
    success: *mut c_uint,
    solindex: *mut c_int,
) -> SCIP_RETCODE
Expand description

checks the solutions from the subscip and adds the first one that is found feasible to the master SCIP

Variables that are relaxation-only in the master SCIP are set to 0 or the bound closest to 0. Such variables are represented as NULL entry in the subvars array.