60 assert(relaxdata != NULL);
61 assert(relaxdata->objrelax != NULL);
62 assert(relaxdata->objrelax->scip_ !=
scip);
64 if( relaxdata->objrelax->iscloneable() )
83 assert(relaxdata != NULL);
84 assert(relaxdata->objrelax != NULL);
85 assert(relaxdata->objrelax->scip_ ==
scip);
91 if( relaxdata->deleteobject )
92 delete relaxdata->objrelax;
109 assert(relaxdata != NULL);
110 assert(relaxdata->objrelax != NULL);
111 assert(relaxdata->objrelax->scip_ ==
scip);
127 assert(relaxdata != NULL);
128 assert(relaxdata->objrelax != NULL);
144 assert(relaxdata != NULL);
145 assert(relaxdata->objrelax != NULL);
161 assert(relaxdata != NULL);
162 assert(relaxdata->objrelax != NULL);
178 assert(relaxdata != NULL);
179 assert(relaxdata->objrelax != NULL);
182 SCIP_CALL( relaxdata->objrelax->scip_exec(
scip, relax, lowerbound, result) );
203 assert(scip != NULL);
204 assert(objrelax != NULL);
208 relaxdata->objrelax = objrelax;
209 relaxdata->deleteobject = deleteobject;
214 relaxFreeObj, relaxInitObj, relaxExitObj,
215 relaxInitsolObj, relaxExitsolObj, relaxExecObj,
235 assert(relaxdata != NULL);
237 return relaxdata->objrelax;
249 assert(relaxdata != NULL);
251 return relaxdata->objrelax;
static SCIP_DECL_RELAXEXEC(relaxExecObj)
enum SCIP_Retcode SCIP_RETCODE
SCIP_RETCODE SCIPincludeRelax(SCIP *scip, const char *name, const char *desc, int priority, int freq, SCIP_DECL_RELAXCOPY((*relaxcopy)), SCIP_DECL_RELAXFREE((*relaxfree)), SCIP_DECL_RELAXINIT((*relaxinit)), SCIP_DECL_RELAXEXIT((*relaxexit)), SCIP_DECL_RELAXINITSOL((*relaxinitsol)), SCIP_DECL_RELAXEXITSOL((*relaxexitsol)), SCIP_DECL_RELAXEXEC((*relaxexec)), SCIP_RELAXDATA *relaxdata)
static SCIP_DECL_RELAXCOPY(relaxCopyObj)
static SCIP_DECL_RELAXFREE(relaxFreeObj)
scip::ObjRelax * SCIPfindObjRelax(SCIP *scip, const char *name)
SCIP_RELAXDATA * SCIPrelaxGetData(SCIP_RELAX *relax)
SCIP_RETCODE SCIPincludeObjRelax(SCIP *scip, scip::ObjRelax *objrelax, SCIP_Bool deleteobject)
static SCIP_DECL_RELAXINIT(relaxInitObj)
void SCIPrelaxSetData(SCIP_RELAX *relax, SCIP_RELAXDATA *relaxdata)
static SCIP_DECL_RELAXINITSOL(relaxInitsolObj)
static SCIP_DECL_RELAXEXITSOL(relaxExitsolObj)
struct SCIP_RelaxData SCIP_RELAXDATA
scip::ObjRelax * SCIPgetObjRelax(SCIP *scip, SCIP_RELAX *relax)
C++ wrapper for relaxation handlers.
static SCIP_DECL_RELAXEXIT(relaxExitObj)
C++ wrapper for relaxation handlers.
SCIP_RELAX * SCIPfindRelax(SCIP *scip, const char *name)