methods for concurrent solver type plugins
SCIP_RETCODE SCIPincludeConcsolverType | ( | SCIP * | scip, |
const char * | name, | ||
SCIP_Real | prefpriodefault, | ||
SCIP_DECL_CONCSOLVERCREATEINST((*concsolvercreateinst)) | , | ||
SCIP_DECL_CONCSOLVERDESTROYINST((*concsolverdestroyinst)) | , | ||
SCIP_DECL_CONCSOLVERINITSEEDS((*concsolverinitseeds)) | , | ||
SCIP_DECL_CONCSOLVEREXEC((*concsolverexec)) | , | ||
SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA((*concsolvercopysolvdata)) | , | ||
SCIP_DECL_CONCSOLVERSTOP((*concsolverstop)) | , | ||
SCIP_DECL_CONCSOLVERSYNCWRITE((*concsolversyncwrite)) | , | ||
SCIP_DECL_CONCSOLVERSYNCREAD((*concsolversyncread)) | , | ||
SCIP_DECL_CONCSOLVERTYPEFREEDATA((*concsolvertypefreedata)) | , | ||
SCIP_CONCSOLVERTYPEDATA * | data ) |
creates a concurrent solver type and includes it in SCIP.
scip
is in one of the following stages:
scip | SCIP data structure |
name | name of concurrent_solver |
prefpriodefault | the default preferred priority of this concurrent solver type |
data | the concurent solver type's data |
Definition at line 64 of file scip_concurrent.c.
References FALSE, i, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPcheckStage(), SCIPconcsolverTypeCreate(), SCIPerrorMessage, SCIPfindConcsolverType(), SCIPsetIncludeConcsolverType(), and TRUE.
Referenced by SCIPincludeConcurrentScipSolvers().
SCIP_CONCSOLVERTYPE * SCIPfindConcsolverType | ( | SCIP * | scip, |
const char * | name ) |
returns the concurrent solver type with the given name, or NULL if not existing
scip | SCIP data structure |
name | name of concurrent_solver |
Definition at line 103 of file scip_concurrent.c.
References assert(), NULL, and SCIPsetFindConcsolverType().
Referenced by SCIPincludeConcsolverType().
SCIP_CONCSOLVERTYPE ** SCIPgetConcsolverTypes | ( | SCIP * | scip | ) |
returns the array of included concurrent solver types
scip | SCIP data structure |
Definition at line 116 of file scip_concurrent.c.
References assert(), and NULL.
Referenced by SCIPsolveConcurrent().
int SCIPgetNConcsolverTypes | ( | SCIP * | scip | ) |
returns the number of included concurrent solver types
scip | SCIP data structure |
Definition at line 127 of file scip_concurrent.c.
References assert(), and NULL.
Referenced by SCIPsolveConcurrent().