pub unsafe extern "C" fn SCIPbranchVarVal(
scip: *mut SCIP,
var: *mut SCIP_VAR,
val: f64,
downchild: *mut *mut SCIP_NODE,
eqchild: *mut *mut SCIP_NODE,
upchild: *mut *mut SCIP_NODE,
) -> SCIP_RETCODEExpand description
branches on a variable x using a given value x’; for continuous variables with relative domain width larger epsilon, x’ must not be one of the bounds; two child nodes (x <= x’, x >= x’) are created; for integer variables, if solution value x’ is fractional, two child nodes are created (x <= floor(x’), x >= ceil(x’)), if x’ is integral, three child nodes are created (x <= x’-1, x == x’, x >= x’+1)
@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.