Function SCIPtranslateSubSol

Source
pub unsafe extern "C" fn SCIPtranslateSubSol(
    scip: *mut SCIP,
    subscip: *mut SCIP,
    subsol: *mut SCIP_SOL,
    heur: *mut SCIP_HEUR,
    subvars: *mut *mut SCIP_VAR,
    newsol: *mut *mut SCIP_SOL,
) -> SCIP_RETCODE
Expand description

translates a solution from a subscip to the main 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 \p subvars array.

@note This method allocates a new solution of the main \p scip that needs to be freed by the user.