methods for concurrent solver type plugins
Functions | |
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) |
SCIP_CONCSOLVERTYPE * | SCIPfindConcsolverType (SCIP *scip, const char *name) |
SCIP_CONCSOLVERTYPE ** | SCIPgetConcsolverTypes (SCIP *scip) |
int | SCIPgetNConcsolverTypes (SCIP *scip) |
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 7948 of file scip.c.
References checkStage(), FALSE, Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPconcsolverTypeCreate(), SCIPerrorMessage, SCIPfindConcsolverType(), SCIPsetIncludeConcsolverType(), Scip::set, SCIP_Mem::setmem, 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 7987 of file scip.c.
References SCIPsetFindConcsolverType(), and Scip::set.
Referenced by SCIPincludeConcsolverType().
SCIP_CONCSOLVERTYPE** SCIPgetConcsolverTypes | ( | SCIP * | scip | ) |
returns the array of included concurrent solver types
scip | SCIP data structure |
Definition at line 8000 of file scip.c.
References SCIP_Set::concsolvertypes, and Scip::set.
Referenced by SCIPsolveConcurrent().
int SCIPgetNConcsolverTypes | ( | SCIP * | scip | ) |
returns the number of included concurrent solver types
scip | SCIP data structure |
Definition at line 8011 of file scip.c.
References SCIP_Set::nconcsolvertypes, and Scip::set.
Referenced by SCIPsolveConcurrent().