XSLPmsaddpreset
XSLPmsaddpreset |
int XSLP_CC XSLPmsaddpreset( XSLPprob Prob, const char *sDescription, const int Preset, const int Count, void *pJobObject);
Prob
|
The current SLP problem.
|
sDescription
|
Text description of the preset. Used for messaging, may be NULL if not required.
|
Preset
|
Which preset to load.
|
Count
|
Maximum number of jobs to be added to the multistart pool.
|
pJobObject
|
Job specific user context pointer to be passed to the multistart callbacks.
|
The following presets are defined:
XSLP_MSSET_INITIALVALUES: generate Count number of random base points.
XSLP_MSPRESET_SOLVERS: load all solvers.
XSLP_MSPRESET_SLPCONTROLSBASIC: load the most typical SLP tuning settings. A maximum of Count jobs are loaded.
XSLP_MSPRESET_SLPCONROLSEXTENSIVE: load a comprehensive set of SLP tuning settings. A maximum of Count jobs are loaded.
XSLP_MSPRESET_KNITROBASIC: load the most typical Knitro tuning settings. A maximum of Count jobs are loaded.
XSLP_MSPRESET_KNITROEXTENSIVE: load a comprehensive set of Knitro tuning settings. A maximum of Count jobs are loaded.
XSLP_MSSET_INITIALFILTERED: generate Count number of random base points, filtered by a merit function centred on initial feasibility.
XSLP_MSSET_INITIALDYNAMIC: generate Count number of random base points, that are then refined and combined further by any solution found during the search.
See XSLP_MSMAXBOUNDRANGE for controlling the range in which initial values are generated.