47 scip::ObjCutsel* objcutsel;
74 if( cutseldata->objcutsel->iscloneable() )
101 if( cutseldata->deleteobject )
102 delete cutseldata->objcutsel;
158 SCIP_CALL( cutseldata->objcutsel->scip_initsol(
scip, cutsel) );
175 SCIP_CALL( cutseldata->objcutsel->scip_exitsol(
scip, cutsel) );
192 SCIP_CALL( cutseldata->objcutsel->scip_select(
scip, cutsel, cuts, ncuts, forcedcuts, nforcedcuts,
193 root, maxnselectedcuts, nselectedcuts,
result) );
219 cutseldata->objcutsel = objcutsel;
220 cutseldata->deleteobject = deleteobject;
226 cutselFreeObj, cutselInitObj, cutselExitObj,
227 cutselInitsolObj, cutselExitsolObj, cutselSelectObj,
249 return cutseldata->objcutsel;
264 return cutseldata->objcutsel;
C++ wrapper for cut selectors.
SCIP_CUTSELDATA * SCIPcutselGetData(SCIP_CUTSEL *cutsel)
SCIP_CUTSEL * SCIPfindCutsel(SCIP *scip, const char *name)
void SCIPcutselSetData(SCIP_CUTSEL *cutsel, SCIP_CUTSELDATA *cutseldata)
SCIP_RETCODE SCIPincludeCutsel(SCIP *scip, const char *name, const char *desc, int priority, SCIP_DECL_CUTSELCOPY((*cutselcopy)), SCIP_DECL_CUTSELFREE((*cutselfree)), SCIP_DECL_CUTSELINIT((*cutselinit)), SCIP_DECL_CUTSELEXIT((*cutselexit)), SCIP_DECL_CUTSELINITSOL((*cutselinitsol)), SCIP_DECL_CUTSELEXITSOL((*cutselexitsol)), SCIP_DECL_CUTSELSELECT((*cutselselect)), SCIP_CUTSELDATA *cutseldata)
assert(minobj< SCIPgetCutoffbound(scip))
scip::ObjCutsel * SCIPgetObjCutsel(SCIP *scip, SCIP_CUTSEL *cutsel)
SCIP_RETCODE SCIPincludeObjCutsel(SCIP *scip, scip::ObjCutsel *objcutsel, SCIP_Bool deleteobject)
scip::ObjCutsel * SCIPfindObjCutsel(SCIP *scip, const char *name)
C++ wrapper for cut selectors.
#define SCIP_DECL_CUTSELEXIT(x)
#define SCIP_DECL_CUTSELEXITSOL(x)
#define SCIP_DECL_CUTSELSELECT(x)
#define SCIP_DECL_CUTSELFREE(x)
struct SCIP_Cutsel SCIP_CUTSEL
#define SCIP_DECL_CUTSELINITSOL(x)
struct SCIP_CutselData SCIP_CUTSELDATA
#define SCIP_DECL_CUTSELINIT(x)
#define SCIP_DECL_CUTSELCOPY(x)
enum SCIP_Retcode SCIP_RETCODE