pub unsafe extern "C" fn SCIPincludeBenderscutBasic(
scip: *mut SCIP,
benders: *mut SCIP_BENDERS,
benderscutptr: *mut *mut SCIP_BENDERSCUT,
name: *const c_char,
desc: *const c_char,
priority: c_int,
islpcut: c_uint,
benderscutexec: Option<unsafe extern "C" fn(scip: *mut SCIP, benders: *mut SCIP_BENDERS, benderscut: *mut SCIP_BENDERSCUT, sol: *mut SCIP_SOL, probnumber: c_int, type_: SCIP_BENDERSENFOTYPE, result: *mut SCIP_RESULT) -> SCIP_RETCODE>,
benderscutdata: *mut SCIP_BENDERSCUTDATA,
) -> SCIP_RETCODEExpand description
creates a Benders’ cut and includes it an associated Benders’ decomposition with all non-fundamental callbacks set to NULL
If needed, the non-fundamental callbacks can be added afterwards via setter functions SCIPsetBenderscutCopy(), SCIPsetBenderscutFree(), SCIPsetBenderscutInit(), SCIPsetBenderscutExit(), SCIPsetBenderscutInitsol(), SCIPsetBenderscutExitsol().
This should be done during the problem creation stage.
@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 SCIP is in one of the following stages: - \ref SCIP_STAGE_INIT - \ref SCIP_STAGE_PROBLEM
@note if you want to set all callbacks with a single method call, consider using SCIPincludeBenders() instead