45 assert(banditvtable != NULL);
54 banditfree, banditselect, banditupdate, banditreset) );
58 *banditvtable = vtableptr;
83 assert(bandit != NULL);
97 assert(bandit != NULL);
98 assert(*bandit != NULL);
SCIP_RETCODE SCIPbanditvtableCreate(SCIP_BANDITVTABLE **banditvtable, const char *name, SCIP_DECL_BANDITFREE((*banditfree)), SCIP_DECL_BANDITSELECT((*banditselect)), SCIP_DECL_BANDITUPDATE((*banditupdate)), SCIP_DECL_BANDITRESET((*banditreset)))
SCIP_RETCODE SCIPsetIncludeBanditvtable(SCIP_SET *set, SCIP_BANDITVTABLE *banditvtable)
internal methods for bandit algorithms
enum SCIP_Retcode SCIP_RETCODE
SCIP_RETCODE SCIPbanditReset(BMS_BUFMEM *bufmem, SCIP_BANDIT *bandit, SCIP_Real *priorities, unsigned int seed)
SCIP_BANDITVTABLE * SCIPfindBanditvtable(SCIP *scip, const char *name)
BMS_BUFMEM * SCIPbuffer(SCIP *scip)
SCIP_BANDITVTABLE * SCIPsetFindBanditvtable(SCIP_SET *set, const char *name)
methods for block memory pools and memory buffers
#define SCIP_DECL_BANDITRESET(x)
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
internal methods for global SCIP settings
SCIP main data structure.
unsigned int SCIPinitializeRandomSeed(SCIP *scip, int initialseedvalue)
SCIP_RETCODE SCIPbanditFree(BMS_BLKMEM *blkmem, SCIP_BANDIT **bandit)
SCIP_RETCODE SCIPfreeBandit(SCIP *scip, SCIP_BANDIT **bandit)
SCIP_RETCODE SCIPresetBandit(SCIP *scip, SCIP_BANDIT *bandit, SCIP_Real *priorities, unsigned int seed)
#define SCIP_DECL_BANDITFREE(x)
SCIP_RETCODE SCIPincludeBanditvtable(SCIP *scip, SCIP_BANDITVTABLE **banditvtable, const char *name, SCIP_DECL_BANDITFREE((*banditfree)), SCIP_DECL_BANDITSELECT((*banditselect)), SCIP_DECL_BANDITUPDATE((*banditupdate)), SCIP_DECL_BANDITRESET((*banditreset)))
#define SCIP_DECL_BANDITUPDATE(x)
#define SCIP_DECL_BANDITSELECT(x)
datastructures for global SCIP settings