SCIP_BranchruleData
69assert(branchruledata !=
NULL);
70assert(branchruledata->objbranchrule !=
NULL);
71assert(branchruledata->objbranchrule->scip_ !=
scip);
73 if( branchruledata->objbranchrule->iscloneable() )
92assert(branchruledata !=
NULL);
93assert(branchruledata->objbranchrule !=
NULL);
94assert(branchruledata->objbranchrule->scip_ ==
scip);
97 SCIP_CALL( branchruledata->objbranchrule->scip_free(
scip, branchrule) );
100 if( branchruledata->deleteobject )
101 deletebranchruledata->objbranchrule;
104 deletebranchruledata;
118assert(branchruledata !=
NULL);
119assert(branchruledata->objbranchrule !=
NULL);
120assert(branchruledata->objbranchrule->scip_ ==
scip);
123 SCIP_CALL( branchruledata->objbranchrule->scip_init(
scip, branchrule) );
136assert(branchruledata !=
NULL);
137assert(branchruledata->objbranchrule !=
NULL);
140 SCIP_CALL( branchruledata->objbranchrule->scip_exit(
scip, branchrule) );
153assert(branchruledata !=
NULL);
154assert(branchruledata->objbranchrule !=
NULL);
157 SCIP_CALL( branchruledata->objbranchrule->scip_initsol(
scip, branchrule) );
170assert(branchruledata !=
NULL);
171assert(branchruledata->objbranchrule !=
NULL);
174 SCIP_CALL( branchruledata->objbranchrule->scip_exitsol(
scip, branchrule) );
187assert(branchruledata !=
NULL);
188assert(branchruledata->objbranchrule !=
NULL);
191 SCIP_CALL( branchruledata->objbranchrule->scip_execlp(
scip, branchrule, allowaddcons, result) );
204assert(branchruledata !=
NULL);
205assert(branchruledata->objbranchrule !=
NULL);
208 SCIP_CALL( branchruledata->objbranchrule->scip_execext(
scip, branchrule, allowaddcons, result) );
221assert(branchruledata !=
NULL);
222assert(branchruledata->objbranchrule !=
NULL);
225 SCIP_CALL( branchruledata->objbranchrule->scip_execps(
scip, branchrule, allowaddcons, result) );
247assert(objbranchrule !=
NULL);
251branchruledata->objbranchrule = objbranchrule;
252branchruledata->deleteobject = deleteobject;
258branchFreeObj, branchInitObj, branchExitObj, branchInitsolObj, branchExitsolObj,
259branchExeclpObj, branchExecextObj, branchExecpsObj,
276 if( branchrule ==
NULL)
280assert(branchruledata !=
NULL);
282 returnbranchruledata->objbranchrule;
295assert(branchruledata !=
NULL);
297 returnbranchruledata->objbranchrule;
C++ wrapper for branching rules.
const SCIP_Real scip_maxbounddist_
SCIP_BRANCHRULE * SCIPfindBranchrule(SCIP *scip, const char *name)
SCIP_BRANCHRULEDATA * SCIPbranchruleGetData(SCIP_BRANCHRULE *branchrule)
void SCIPbranchruleSetData(SCIP_BRANCHRULE *branchrule, SCIP_BRANCHRULEDATA *branchruledata)
SCIP_RETCODE SCIPincludeBranchrule(SCIP *scip, const char *name, const char *desc, int priority, int maxdepth, SCIP_Real maxbounddist, SCIP_DECL_BRANCHCOPY((*branchcopy)), SCIP_DECL_BRANCHFREE((*branchfree)), SCIP_DECL_BRANCHINIT((*branchinit)), SCIP_DECL_BRANCHEXIT((*branchexit)), SCIP_DECL_BRANCHINITSOL((*branchinitsol)), SCIP_DECL_BRANCHEXITSOL((*branchexitsol)), SCIP_DECL_BRANCHEXECLP((*branchexeclp)), SCIP_DECL_BRANCHEXECEXT((*branchexecext)), SCIP_DECL_BRANCHEXECPS((*branchexecps)), SCIP_BRANCHRULEDATA *branchruledata)
static SCIP_DECL_BRANCHEXECLP(branchExeclpObj)
static SCIP_DECL_BRANCHEXIT(branchExitObj)
static SCIP_DECL_BRANCHEXITSOL(branchExitsolObj)
SCIP_RETCODE SCIPincludeObjBranchrule(SCIP *scip, scip::ObjBranchrule *objbranchrule, SCIP_Bool deleteobject)
scip::ObjBranchrule * SCIPfindObjBranchrule(SCIP *scip, const char *name)
static SCIP_DECL_BRANCHINITSOL(branchInitsolObj)
static SCIP_DECL_BRANCHEXECEXT(branchExecextObj)
static SCIP_DECL_BRANCHEXECPS(branchExecpsObj)
scip::ObjBranchrule * SCIPgetObjBranchrule(SCIP *scip, SCIP_BRANCHRULE *branchrule)
static SCIP_DECL_BRANCHCOPY(branchCopyObj)
static SCIP_DECL_BRANCHINIT(branchInitObj)
static SCIP_DECL_BRANCHFREE(branchFreeObj)
C++ wrapper for branching rules.
struct SCIP_BranchruleData SCIP_BRANCHRULEDATA
enum SCIP_Retcode SCIP_RETCODE
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4