SCIP Doxygen Documentation
Loading...
Searching...
No Matches

Detailed Description

methods for handling parameter settings

Author
Tobias Achterberg
Timo Berthold
Stefan Heinz
Gerald Gamrath
Marc Pfetsch

Definition in file paramset.c.

#include <strings.h>
#include "scip/scip.h"
#include "scip/set.h"
#include "scip/paramset.h"
#include "scip/struct_paramset.h"

Go to the source code of this file.

Macros

#define NEXPENSIVEHEURFREQS   12

Functions

static SCIP_DECL_HASHGETKEY (hashGetKeyParam)
static SCIP_RETCODE paramTestFixed (SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr)
static SCIP_RETCODE paramTestBool (SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool value)
static SCIP_RETCODE paramTestInt (SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, int value)
static SCIP_RETCODE paramTestLongint (SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Longint value)
static SCIP_RETCODE paramTestReal (SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Real value)
static SCIP_RETCODE paramTestChar (SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, char value)
static SCIP_RETCODE paramTestString (SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, const char *value)
static SCIP_RETCODE paramWrite (SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, FILE *file, SCIP_Bool comments, SCIP_Bool onlychanged)
static SCIP_RETCODE paramSetBool (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, SCIP_Bool value, SCIP_Bool quiet)
static SCIP_RETCODE paramSetChar (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, char value, SCIP_Bool quiet)
static SCIP_RETCODE paramSetInt (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, int value, SCIP_Bool quiet)
static SCIP_RETCODE paramSetLongint (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, SCIP_Longint value, SCIP_Bool quiet)
static SCIP_RETCODE paramSetReal (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, SCIP_Real value, SCIP_Bool quiet)
static SCIP_RETCODE paramCopyBool (SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
static SCIP_RETCODE paramCopyInt (SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
static SCIP_RETCODE paramCopyLongint (SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
static SCIP_RETCODE paramCopyReal (SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
static SCIP_RETCODE paramCopyChar (SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
static SCIP_RETCODE paramCopyString (SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_PARAMTYPE SCIPparamGetType (SCIP_PARAM *param)
const char * SCIPparamGetName (SCIP_PARAM *param)
const char * SCIPparamGetDesc (SCIP_PARAM *param)
SCIP_PARAMDATASCIPparamGetData (SCIP_PARAM *param)
SCIP_Bool SCIPparamIsAdvanced (SCIP_PARAM *param)
SCIP_Bool SCIPparamIsFixed (SCIP_PARAM *param)
SCIP_Bool SCIPparamGetBool (SCIP_PARAM *param)
SCIP_Bool SCIPparamGetBoolDefault (SCIP_PARAM *param)
int SCIPparamGetInt (SCIP_PARAM *param)
int SCIPparamGetIntMin (SCIP_PARAM *param)
int SCIPparamGetIntMax (SCIP_PARAM *param)
int SCIPparamGetIntDefault (SCIP_PARAM *param)
SCIP_Longint SCIPparamGetLongint (SCIP_PARAM *param)
SCIP_Longint SCIPparamGetLongintMin (SCIP_PARAM *param)
SCIP_Longint SCIPparamGetLongintMax (SCIP_PARAM *param)
SCIP_Longint SCIPparamGetLongintDefault (SCIP_PARAM *param)
SCIP_Real SCIPparamGetReal (SCIP_PARAM *param)
SCIP_Real SCIPparamGetRealMin (SCIP_PARAM *param)
SCIP_Real SCIPparamGetRealMax (SCIP_PARAM *param)
SCIP_Real SCIPparamGetRealDefault (SCIP_PARAM *param)
char SCIPparamGetChar (SCIP_PARAM *param)
char * SCIPparamGetCharAllowedValues (SCIP_PARAM *param)
char SCIPparamGetCharDefault (SCIP_PARAM *param)
char * SCIPparamGetString (SCIP_PARAM *param)
char * SCIPparamGetStringDefault (SCIP_PARAM *param)
SCIP_Bool SCIPparamIsDefault (SCIP_PARAM *param)
static SCIP_RETCODE paramCreate (SCIP_PARAM **param, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata, SCIP_Bool isadvanced)
static SCIP_RETCODE paramCreateBool (SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static SCIP_RETCODE paramCreateInt (SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static SCIP_RETCODE paramCreateLongint (SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Longint *valueptr, SCIP_Bool isadvanced, SCIP_Longint defaultvalue, SCIP_Longint minvalue, SCIP_Longint maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static SCIP_RETCODE paramCreateReal (SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static SCIP_RETCODE paramCreateChar (SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char *valueptr, SCIP_Bool isadvanced, char defaultvalue, const char *allowedvalues, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static SCIP_RETCODE paramCreateString (SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char **valueptr, SCIP_Bool isadvanced, const char *defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static void paramFree (SCIP_PARAM **param, BMS_BLKMEM *blkmem)
static SCIP_RETCODE paramParseBool (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
static SCIP_RETCODE paramParseInt (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
static SCIP_RETCODE paramParseLongint (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
static SCIP_RETCODE paramParseReal (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
static SCIP_RETCODE paramParseChar (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
static SCIP_RETCODE paramParseString (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
SCIP_RETCODE SCIPparamsetCreate (SCIP_PARAMSET **paramset, BMS_BLKMEM *blkmem)
void SCIPparamsetFree (SCIP_PARAMSET **paramset, BMS_BLKMEM *blkmem)
static SCIP_RETCODE paramsetAdd (SCIP_PARAMSET *paramset, SCIP_PARAM *param)
SCIP_RETCODE SCIPparamsetAddBool (SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPparamsetAddInt (SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPparamsetAddLongint (SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Longint *valueptr, SCIP_Bool isadvanced, SCIP_Longint defaultvalue, SCIP_Longint minvalue, SCIP_Longint maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPparamsetAddReal (SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPparamsetAddChar (SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char *valueptr, SCIP_Bool isadvanced, char defaultvalue, const char *allowedvalues, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPparamsetAddString (SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char **valueptr, SCIP_Bool isadvanced, const char *defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static const char * paramtypeGetName (SCIP_PARAMTYPE paramtype)
SCIP_Bool SCIPparamsetIsFixed (SCIP_PARAMSET *paramset, const char *name)
SCIP_PARAMSCIPparamsetGetParam (SCIP_PARAMSET *paramset, const char *name)
SCIP_RETCODE SCIPparamsetGetBool (SCIP_PARAMSET *paramset, const char *name, SCIP_Bool *value)
SCIP_RETCODE SCIPparamsetGetInt (SCIP_PARAMSET *paramset, const char *name, int *value)
SCIP_RETCODE SCIPparamsetGetLongint (SCIP_PARAMSET *paramset, const char *name, SCIP_Longint *value)
SCIP_RETCODE SCIPparamsetGetReal (SCIP_PARAMSET *paramset, const char *name, SCIP_Real *value)
SCIP_RETCODE SCIPparamsetGetChar (SCIP_PARAMSET *paramset, const char *name, char *value)
SCIP_RETCODE SCIPparamsetGetString (SCIP_PARAMSET *paramset, const char *name, char **value)
SCIP_RETCODE SCIPparamsetFix (SCIP_PARAMSET *paramset, const char *name, SCIP_Bool fixed)
SCIP_RETCODE SCIPparamsetSetBool (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Bool value)
SCIP_RETCODE SCIPparamsetSetInt (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, int value)
SCIP_RETCODE SCIPparamsetSetLongint (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Longint value)
SCIP_RETCODE SCIPparamsetSetReal (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Real value)
SCIP_RETCODE SCIPparamsetSetChar (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, char value)
SCIP_RETCODE SCIPparamsetSetString (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, const char *value)
SCIP_RETCODE SCIPparamsetSet (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, const char *value, SCIP_Bool fix)
SCIP_RETCODE SCIPparamsetSetDefaultBool (SCIP_PARAMSET *paramset, const char *name, SCIP_Bool defaultvalue)
SCIP_RETCODE SCIPparamsetSetDefaultInt (SCIP_PARAMSET *paramset, const char *name, int defaultvalue)
SCIP_RETCODE SCIPparamsetSetDefaultLongint (SCIP_PARAMSET *paramset, const char *name, SCIP_Longint defaultvalue)
SCIP_RETCODE SCIPparamsetSetDefaultReal (SCIP_PARAMSET *paramset, const char *name, SCIP_Real defaultvalue)
SCIP_RETCODE SCIPparamsetSetDefaultChar (SCIP_PARAMSET *paramset, const char *name, char defaultvalue)
SCIP_RETCODE SCIPparamsetSetDefaultString (SCIP_PARAMSET *paramset, const char *name, const char *defaultvalue)
static SCIP_RETCODE emphasisParse (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *line)
static SCIP_RETCODE paramsetParse (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *line, SCIP_Bool *foundnormalparam)
SCIP_RETCODE SCIPparamsetRead (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *filename)
SCIP_RETCODE SCIPparamsetWrite (SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, const char *filename, SCIP_Bool comments, SCIP_Bool onlychanged)
SCIP_RETCODE SCIPparamsetSetToDefaults (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_RETCODE SCIPparamsetSetToDefault (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname)
static SCIP_RETCODE paramsetSetHeuristicsDefault (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetHeuristicsAggressive (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetHeuristicsFast (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetHeuristicsOff (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetPresolvingDefault (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetPresolvingAggressive (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetPresolvingFast (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetPresolvingOff (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetSeparatingDefault (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetSeparatingAggressive (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetSeparatingFast (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetSeparatingOff (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetSetEmphasis (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMEMPHASIS paramemphasis, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetSetToSubscipsOff (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetSetHeuristics (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetSetPresolving (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetSetSeparating (SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
SCIP_PARAM ** SCIPparamsetGetParams (SCIP_PARAMSET *paramset)
int SCIPparamsetGetNParams (SCIP_PARAMSET *paramset)
SCIP_RETCODE SCIPparamsetCopyParams (SCIP_PARAMSET *sourceparamset, SCIP_PARAMSET *targetparamset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
static SCIP_DECL_SORTPTRCOMP (SCIPsortCompPtr)
SCIP_RETCODE SCIPparamsetCheckValuePtrUnique (SCIP_PARAMSET *paramset, SCIP_SET *set)
void SCIPparamSetFixed (SCIP_PARAM *param, SCIP_Bool fixed)
SCIP_Bool SCIPparamIsValidBool (SCIP_PARAM *param, SCIP_Bool value)
SCIP_Bool SCIPparamIsValidInt (SCIP_PARAM *param, int value)
SCIP_Bool SCIPparamIsValidLongint (SCIP_PARAM *param, SCIP_Longint value)
SCIP_Bool SCIPparamIsValidReal (SCIP_PARAM *param, SCIP_Real value)
SCIP_Bool SCIPparamIsValidChar (SCIP_PARAM *param, const char value)
SCIP_Bool SCIPparamIsValidString (SCIP_PARAM *param, const char *value)
SCIP_RETCODE SCIPparamSetBool (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool value, SCIP_Bool initialize, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamSetInt (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, int value, SCIP_Bool initialize, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamSetLongint (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Longint value, SCIP_Bool initialize, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamSetReal (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Real value, SCIP_Bool initialize, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamSetChar (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char value, SCIP_Bool initialize, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamSetString (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *value, SCIP_Bool initialize, SCIP_Bool quiet)
void SCIPparamSetDefaultBool (SCIP_PARAM *param, SCIP_Bool defaultvalue)
void SCIPparamSetDefaultInt (SCIP_PARAM *param, int defaultvalue)
void SCIPparamSetDefaultLongint (SCIP_PARAM *param, SCIP_Longint defaultvalue)
void SCIPparamSetDefaultReal (SCIP_PARAM *param, SCIP_Real defaultvalue)
void SCIPparamSetDefaultChar (SCIP_PARAM *param, char defaultvalue)
void SCIPparamSetDefaultString (SCIP_PARAM *param, const char *defaultvalue)
SCIP_RETCODE SCIPparamSetToDefault (SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_RETCODE SCIPparamWrite (SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, const char *filename, SCIP_Bool comments, SCIP_Bool onlychanged)

Macro Definition Documentation

◆ NEXPENSIVEHEURFREQS

#define NEXPENSIVEHEURFREQS   12

Function Documentation

◆ SCIP_DECL_HASHGETKEY()

SCIP_DECL_HASHGETKEY ( hashGetKeyParam )
static

hash key retrieval function for parameters

Definition at line 55 of file paramset.c.

References assert(), SCIP_Param::name, NULL, and SCIP_DECL_HASHGETKEY.

◆ paramTestFixed()

SCIP_RETCODE paramTestFixed ( SCIP_PARAM * param,
SCIP_MESSAGEHDLR * messagehdlr )
static

tests whether parameter can be changed and issues an error message if it is fixed

Parameters
paramparameter
messagehdlrmessage handler

Definition at line 67 of file paramset.c.

References assert(), SCIP_Param::isfixed, SCIP_Param::name, NULL, paramTestFixed(), SCIP_OKAY, SCIP_PARAMETERWRONGVAL, and SCIPerrorMessage.

Referenced by paramTestFixed(), SCIPparamSetBool(), SCIPparamSetChar(), SCIPparamSetInt(), SCIPparamSetLongint(), SCIPparamSetReal(), and SCIPparamSetString().

◆ paramTestBool()

SCIP_RETCODE paramTestBool ( SCIP_PARAM * param,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool value )
static

tests parameter value according to the given feasible domain; issues an error message if value was invalid

Parameters
paramparameter
messagehdlrmessage handler
valuevalue to test

Definition at line 86 of file paramset.c.

References assert(), FALSE, SCIP_Param::name, NULL, paramTestBool(), SCIP_Param::paramtype, SCIP_Bool, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIP_PARAMTYPE_BOOL, SCIPerrorMessage, and TRUE.

Referenced by paramTestBool(), and SCIPparamSetBool().

◆ paramTestInt()

SCIP_RETCODE paramTestInt ( SCIP_PARAM * param,
SCIP_MESSAGEHDLR * messagehdlr,
int value )
static

tests parameter value according to the given feasible domain; issues an error message if value was invalid

Parameters
paramparameter
messagehdlrmessage handler
valuevalue to test

Definition at line 107 of file paramset.c.

References assert(), SCIP_Param::data, SCIP_Param::name, NULL, paramTestInt(), SCIP_Param::paramtype, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIP_PARAMTYPE_INT, and SCIPerrorMessage.

Referenced by paramTestInt(), and SCIPparamSetInt().

◆ paramTestLongint()

SCIP_RETCODE paramTestLongint ( SCIP_PARAM * param,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Longint value )
static

tests parameter value according to the given feasible domain; issues an error message if value was invalid

Parameters
paramparameter
messagehdlrmessage handler
valuevalue to test

Definition at line 129 of file paramset.c.

References assert(), SCIP_Param::data, SCIP_Param::name, NULL, paramTestLongint(), SCIP_Param::paramtype, SCIP_Longint, SCIP_LONGINT_FORMAT, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIP_PARAMTYPE_LONGINT, and SCIPerrorMessage.

Referenced by paramTestLongint(), and SCIPparamSetLongint().

◆ paramTestReal()

SCIP_RETCODE paramTestReal ( SCIP_PARAM * param,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Real value )
static

tests parameter value according to the given feasible domain; issues an error message if value was invalid

Parameters
paramparameter
messagehdlrmessage handler
valuevalue to test

Definition at line 151 of file paramset.c.

References assert(), SCIP_Param::data, SCIP_Param::name, NULL, paramTestReal(), SCIP_Param::paramtype, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIP_PARAMTYPE_REAL, SCIP_Real, and SCIPerrorMessage.

Referenced by paramTestReal(), and SCIPparamSetReal().

◆ paramTestChar()

SCIP_RETCODE paramTestChar ( SCIP_PARAM * param,
SCIP_MESSAGEHDLR * messagehdlr,
char value )
static

tests parameter value according to the given feasible domain; issues an error message if value was invalid

Parameters
paramparameter
messagehdlrmessage handler
valuevalue to test

Definition at line 173 of file paramset.c.

References assert(), c, SCIP_Param::data, SCIP_Param::name, NULL, paramTestChar(), SCIP_Param::paramtype, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIP_PARAMTYPE_CHAR, and SCIPerrorMessage.

Referenced by paramTestChar(), and SCIPparamSetChar().

◆ paramTestString()

SCIP_RETCODE paramTestString ( SCIP_PARAM * param,
SCIP_MESSAGEHDLR * messagehdlr,
const char * value )
static

tests parameter value according to the given feasible domain; issues an error message if value was invalid

Parameters
paramparameter
messagehdlrmessage handler
valuevalue to test

Definition at line 210 of file paramset.c.

References assert(), i, SCIP_Param::name, NULL, paramTestString(), SCIP_Param::paramtype, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIP_PARAMTYPE_STRING, and SCIPerrorMessage.

Referenced by paramTestString(), and SCIPparamSetString().

◆ paramWrite()

SCIP_RETCODE paramWrite ( SCIP_PARAM * param,
SCIP_MESSAGEHDLR * messagehdlr,
FILE * file,
SCIP_Bool comments,
SCIP_Bool onlychanged )
static

◆ paramSetBool()

SCIP_RETCODE paramSetBool ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * paramname,
SCIP_Bool value,
SCIP_Bool quiet )
static

if a bool parameter exits with the given parameter name it is set to the new value

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramnameparameter name
valuenew value of the parameter
quietshould the parameter be set quietly (no output)?

Definition at line 341 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, SCIP_Param::name, NULL, paramSetBool(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_BOOL, SCIPhashtableRetrieve(), SCIPmessagePrintWarning(), SCIPparamGetType(), SCIPparamIsFixed(), SCIPparamSetBool(), and SCIPsetDebugMsg.

Referenced by paramSetBool(), paramsetSetHeuristicsAggressive(), paramsetSetPresolvingAggressive(), paramsetSetPresolvingFast(), paramsetSetSeparatingAggressive(), and SCIPparamsetSetEmphasis().

◆ paramSetChar()

SCIP_RETCODE paramSetChar ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * paramname,
char value,
SCIP_Bool quiet )
static

if an char parameter exits with the given parameter name it is set to the new value

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramnameparameter name
valuenew value of the parameter
quietshould the parameter be set quietly (no output)?

Definition at line 377 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, SCIP_Param::name, NULL, paramSetChar(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_CHAR, SCIPhashtableRetrieve(), SCIPmessagePrintWarning(), SCIPparamGetType(), SCIPparamIsFixed(), SCIPparamSetChar(), and SCIPsetDebugMsg.

Referenced by paramSetChar(), and SCIPparamsetSetEmphasis().

◆ paramSetInt()

SCIP_RETCODE paramSetInt ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * paramname,
int value,
SCIP_Bool quiet )
static

if an integer parameter exits with the given parameter name it is set to the new value

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramnameparameter name
valuenew value of the parameter
quietshould the parameter be set quietly (no output)?

Definition at line 413 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, SCIP_Param::name, NULL, paramSetInt(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_INT, SCIPhashtableRetrieve(), SCIPmessagePrintWarning(), SCIPparamGetType(), SCIPparamIsFixed(), SCIPparamSetInt(), and SCIPsetDebugMsg.

Referenced by paramSetInt(), paramsetSetHeuristicsAggressive(), paramsetSetHeuristicsFast(), paramsetSetHeuristicsOff(), paramsetSetPresolvingAggressive(), paramsetSetPresolvingFast(), paramsetSetPresolvingOff(), paramsetSetSeparatingAggressive(), paramsetSetSeparatingFast(), paramsetSetSeparatingOff(), SCIPparamsetSetEmphasis(), and SCIPparamsetSetToSubscipsOff().

◆ paramSetLongint()

SCIP_RETCODE paramSetLongint ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * paramname,
SCIP_Longint value,
SCIP_Bool quiet )
static

if a long integer parameter exits with the given parameter name it is set to the new value

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramnameparameter name
valuenew value of the parameter
quietshould the parameter be set quietly (no output)?

Definition at line 449 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, SCIP_Param::name, NULL, paramSetLongint(), SCIP_Bool, SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIP_PARAMTYPE_LONGINT, SCIPhashtableRetrieve(), SCIPmessagePrintWarning(), SCIPparamGetType(), SCIPparamIsFixed(), SCIPparamSetLongint(), and SCIPsetDebugMsg.

Referenced by paramSetLongint(), and paramsetSetHeuristicsAggressive().

◆ paramSetReal()

SCIP_RETCODE paramSetReal ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * paramname,
SCIP_Real value,
SCIP_Bool quiet )
static

if a real parameter exits with the given parameter name it is set to the new value

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramnameparameter name
valuenew value of the parameter
quietshould the parameter be set quietly (no output)?

Definition at line 485 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, SCIP_Param::name, NULL, paramSetReal(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_REAL, SCIP_Real, SCIPhashtableRetrieve(), SCIPmessagePrintWarning(), SCIPparamGetType(), SCIPparamIsFixed(), SCIPparamSetReal(), and SCIPsetDebugMsg.

Referenced by paramSetReal(), paramsetSetHeuristicsAggressive(), paramsetSetPresolvingAggressive(), paramsetSetSeparatingAggressive(), paramsetSetSeparatingFast(), and SCIPparamsetSetEmphasis().

◆ paramCopyBool()

SCIP_RETCODE paramCopyBool ( SCIP_PARAM * sourceparam,
SCIP_PARAM * targetparam,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr )
static

copies value of source Bool parameter to target Bool parameter

Parameters
sourceparamsource Bool parameter
targetparamtarget Bool parameter
setglobal SCIP settings of target SCIP
messagehdlrmessage handler of target SCIP

Definition at line 521 of file paramset.c.

References assert(), FALSE, NULL, paramCopyBool(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPparamGetBool(), SCIPparamSetBool(), and TRUE.

Referenced by paramCopyBool(), and SCIPparamsetCopyParams().

◆ paramCopyInt()

SCIP_RETCODE paramCopyInt ( SCIP_PARAM * sourceparam,
SCIP_PARAM * targetparam,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr )
static

copies value of source int parameter to target int parameter

Parameters
sourceparamsource int parameter
targetparamtarget int parameter
setglobal SCIP settings of target SCIP
messagehdlrmessage handler of target SCIP

Definition at line 542 of file paramset.c.

References assert(), FALSE, NULL, paramCopyInt(), SCIP_CALL, SCIP_OKAY, SCIPparamGetInt(), SCIPparamSetInt(), and TRUE.

Referenced by paramCopyInt(), and SCIPparamsetCopyParams().

◆ paramCopyLongint()

SCIP_RETCODE paramCopyLongint ( SCIP_PARAM * sourceparam,
SCIP_PARAM * targetparam,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr )
static

copies value of source longint parameter to target longint parameter

Parameters
sourceparamsource longint parameter
targetparamtarget longint parameter
setglobal SCIP settings of target SCIP
messagehdlrmessage handler of target SCIP

Definition at line 563 of file paramset.c.

References assert(), FALSE, NULL, paramCopyLongint(), SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIPparamGetLongint(), SCIPparamSetLongint(), and TRUE.

Referenced by paramCopyLongint(), and SCIPparamsetCopyParams().

◆ paramCopyReal()

SCIP_RETCODE paramCopyReal ( SCIP_PARAM * sourceparam,
SCIP_PARAM * targetparam,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr )
static

copies value of source real parameter to target real parameter

Parameters
sourceparamsource real parameter
targetparamtarget real parameter
setglobal SCIP settings of target SCIP
messagehdlrmessage handler of target SCIP

Definition at line 584 of file paramset.c.

References assert(), FALSE, NULL, paramCopyReal(), SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPparamGetReal(), SCIPparamSetReal(), and TRUE.

Referenced by paramCopyReal(), and SCIPparamsetCopyParams().

◆ paramCopyChar()

SCIP_RETCODE paramCopyChar ( SCIP_PARAM * sourceparam,
SCIP_PARAM * targetparam,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr )
static

copies value of source char parameter to target char parameter

Parameters
sourceparamsource char parameter
targetparamtarget char parameter
setglobal SCIP settings of target SCIP
messagehdlrmessage handler of target SCIP

Definition at line 605 of file paramset.c.

References assert(), FALSE, NULL, paramCopyChar(), SCIP_CALL, SCIP_OKAY, SCIPparamGetChar(), SCIPparamSetChar(), and TRUE.

Referenced by paramCopyChar(), and SCIPparamsetCopyParams().

◆ paramCopyString()

SCIP_RETCODE paramCopyString ( SCIP_PARAM * sourceparam,
SCIP_PARAM * targetparam,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr )
static

copies value of source string parameter to target string parameter

Parameters
sourceparamsource string parameter
targetparamtarget string parameter
setglobal SCIP settings of target SCIP
messagehdlrmessage handler of target SCIP

Definition at line 626 of file paramset.c.

References assert(), FALSE, NULL, paramCopyString(), SCIP_CALL, SCIP_OKAY, SCIPparamGetString(), SCIPparamSetString(), and TRUE.

Referenced by paramCopyString(), and SCIPparamsetCopyParams().

◆ SCIPparamGetType()

◆ SCIPparamGetName()

◆ SCIPparamGetDesc()

const char * SCIPparamGetDesc ( SCIP_PARAM * param)

returns description of parameter

Parameters
paramparameter

Definition at line 666 of file paramset.c.

References assert(), SCIP_Param::desc, NULL, and SCIPparamGetDesc().

Referenced by addFixParamDialog(), addSetParamDialog(), SCIP_DECL_DIALOGDESC(), SCIP_DECL_DIALOGDESC(), and SCIPparamGetDesc().

◆ SCIPparamGetData()

◆ SCIPparamIsAdvanced()

SCIP_Bool SCIPparamIsAdvanced ( SCIP_PARAM * param)

returns whether parameter is advanced

Parameters
paramparameter

Definition at line 686 of file paramset.c.

References assert(), SCIP_Param::isadvanced, NULL, SCIP_Bool, and SCIPparamIsAdvanced().

Referenced by addFixParamDialog(), addSetParamDialog(), paramWrite(), and SCIPparamIsAdvanced().

◆ SCIPparamIsFixed()

◆ SCIPparamGetBool()

◆ SCIPparamGetBoolDefault()

SCIP_Bool SCIPparamGetBoolDefault ( SCIP_PARAM * param)

returns default value of SCIP_Bool parameter

Parameters
paramparameter

Definition at line 720 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_Bool, SCIP_PARAMTYPE_BOOL, and SCIPparamGetBoolDefault().

Referenced by SCIPparamGetBoolDefault(), SCIPparamIsDefault(), and SCIPparamSetToDefault().

◆ SCIPparamGetInt()

◆ SCIPparamGetIntMin()

int SCIPparamGetIntMin ( SCIP_PARAM * param)

returns minimal value of int parameter

Parameters
paramparameter

Definition at line 745 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_INT, and SCIPparamGetIntMin().

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPparamGetIntMin().

◆ SCIPparamGetIntMax()

int SCIPparamGetIntMax ( SCIP_PARAM * param)

returns maximal value of int parameter

Parameters
paramparameter

Definition at line 756 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_INT, and SCIPparamGetIntMax().

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPparamGetIntMax().

◆ SCIPparamGetIntDefault()

◆ SCIPparamGetLongint()

◆ SCIPparamGetLongintMin()

SCIP_Longint SCIPparamGetLongintMin ( SCIP_PARAM * param)

returns minimal value of longint parameter

Parameters
paramparameter

Definition at line 792 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_Longint, SCIP_PARAMTYPE_LONGINT, and SCIPparamGetLongintMin().

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPparamGetLongintMin().

◆ SCIPparamGetLongintMax()

SCIP_Longint SCIPparamGetLongintMax ( SCIP_PARAM * param)

returns maximal value of longint parameter

Parameters
paramparameter

Definition at line 803 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_Longint, SCIP_PARAMTYPE_LONGINT, and SCIPparamGetLongintMax().

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPparamGetLongintMax().

◆ SCIPparamGetLongintDefault()

SCIP_Longint SCIPparamGetLongintDefault ( SCIP_PARAM * param)

returns default value of SCIP_Longint parameter

Parameters
paramparameter

Definition at line 814 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_Longint, SCIP_PARAMTYPE_LONGINT, and SCIPparamGetLongintDefault().

Referenced by SCIPparamGetLongintDefault(), SCIPparamIsDefault(), and SCIPparamSetToDefault().

◆ SCIPparamGetReal()

◆ SCIPparamGetRealMin()

SCIP_Real SCIPparamGetRealMin ( SCIP_PARAM * param)

returns minimal value of real parameter

Parameters
paramparameter

Definition at line 839 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_REAL, SCIP_Real, and SCIPparamGetRealMin().

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPparamGetRealMin().

◆ SCIPparamGetRealMax()

SCIP_Real SCIPparamGetRealMax ( SCIP_PARAM * param)

returns maximal value of real parameter

Parameters
paramparameter

Definition at line 850 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_REAL, SCIP_Real, and SCIPparamGetRealMax().

Referenced by copyMemoryAndTimeLimits(), SCIP_DECL_DIALOGEXEC(), and SCIPparamGetRealMax().

◆ SCIPparamGetRealDefault()

SCIP_Real SCIPparamGetRealDefault ( SCIP_PARAM * param)

returns default value of SCIP_Real parameter

Parameters
paramparameter

Definition at line 861 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_REAL, SCIP_Real, and SCIPparamGetRealDefault().

Referenced by paramsetSetHeuristicsAggressive(), SCIPparamGetRealDefault(), SCIPparamIsDefault(), and SCIPparamSetToDefault().

◆ SCIPparamGetChar()

char SCIPparamGetChar ( SCIP_PARAM * param)

◆ SCIPparamGetCharAllowedValues()

char * SCIPparamGetCharAllowedValues ( SCIP_PARAM * param)

returns allowed values of char parameter, or NULL if everything is allowed

Parameters
paramparameter

Definition at line 886 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_CHAR, and SCIPparamGetCharAllowedValues().

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPparamGetCharAllowedValues().

◆ SCIPparamGetCharDefault()

char SCIPparamGetCharDefault ( SCIP_PARAM * param)

returns default value of char parameter

Parameters
paramparameter

Definition at line 897 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_CHAR, and SCIPparamGetCharDefault().

Referenced by SCIPparamGetCharDefault(), SCIPparamIsDefault(), and SCIPparamSetToDefault().

◆ SCIPparamGetString()

char * SCIPparamGetString ( SCIP_PARAM * param)

◆ SCIPparamGetStringDefault()

char * SCIPparamGetStringDefault ( SCIP_PARAM * param)

returns default value of String parameter

Parameters
paramparameter

Definition at line 922 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_STRING, and SCIPparamGetStringDefault().

Referenced by SCIPparamGetStringDefault(), SCIPparamIsDefault(), and SCIPparamSetToDefault().

◆ SCIPparamIsDefault()

◆ paramCreate()

SCIP_RETCODE paramCreate ( SCIP_PARAM ** param,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata,
SCIP_Bool isadvanced )
static

creates a parameter with name and description, does not set the type specific parameter values themselves

Parameters
parampointer to the parameter
blkmemblock memory
namename of the parameter
descdescription of the parameter
-change information method of parameter
paramdatalocally defined parameter specific data
isadvancedis the parameter advanced?

Definition at line 968 of file paramset.c.

References assert(), BMSallocBlockMemory, BMSduplicateMemoryArray, FALSE, NULL, paramCreate(), SCIP_ALLOC, SCIP_Bool, SCIP_DECL_PARAMCHGD, and SCIP_OKAY.

Referenced by paramCreate(), paramCreateBool(), paramCreateChar(), paramCreateInt(), paramCreateLongint(), paramCreateReal(), and paramCreateString().

◆ paramCreateBool()

SCIP_RETCODE paramCreateBool ( SCIP_PARAM ** param,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
SCIP_Bool * valueptr,
SCIP_Bool isadvanced,
SCIP_Bool defaultvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )
static

creates a SCIP_Bool parameter, and sets its value to default

Parameters
parampointer to the parameter
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 997 of file paramset.c.

References assert(), NULL, paramCreate(), paramCreateBool(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, SCIP_PARAMTYPE_BOOL, SCIPparamSetBool(), and TRUE.

Referenced by paramCreateBool(), and SCIPparamsetAddBool().

◆ paramCreateInt()

SCIP_RETCODE paramCreateInt ( SCIP_PARAM ** param,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
int * valueptr,
SCIP_Bool isadvanced,
int defaultvalue,
int minvalue,
int maxvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )
static

creates a int parameter, and sets its value to default

Parameters
parampointer to the parameter
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
minvalueminimum value for parameter
maxvaluemaximum value for parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1026 of file paramset.c.

References assert(), NULL, paramCreate(), paramCreateInt(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, SCIP_PARAMTYPE_INT, SCIPparamSetInt(), and TRUE.

Referenced by paramCreateInt(), and SCIPparamsetAddInt().

◆ paramCreateLongint()

SCIP_RETCODE paramCreateLongint ( SCIP_PARAM ** param,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
SCIP_Longint * valueptr,
SCIP_Bool isadvanced,
SCIP_Longint defaultvalue,
SCIP_Longint minvalue,
SCIP_Longint maxvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )
static

creates a SCIP_Longint parameter, and sets its value to default

Parameters
parampointer to the parameter
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
minvalueminimum value for parameter
maxvaluemaximum value for parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1059 of file paramset.c.

References assert(), NULL, paramCreate(), paramCreateLongint(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_Longint, SCIP_OKAY, SCIP_PARAMTYPE_LONGINT, SCIPparamSetLongint(), and TRUE.

Referenced by paramCreateLongint(), and SCIPparamsetAddLongint().

◆ paramCreateReal()

SCIP_RETCODE paramCreateReal ( SCIP_PARAM ** param,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
SCIP_Real * valueptr,
SCIP_Bool isadvanced,
SCIP_Real defaultvalue,
SCIP_Real minvalue,
SCIP_Real maxvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )
static

creates a SCIP_Real parameter, and sets its value to default

Parameters
parampointer to the parameter
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
minvalueminimum value for parameter
maxvaluemaximum value for parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1092 of file paramset.c.

References assert(), NULL, paramCreate(), paramCreateReal(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, SCIP_PARAMTYPE_REAL, SCIP_Real, SCIPparamSetReal(), and TRUE.

Referenced by paramCreateReal(), and SCIPparamsetAddReal().

◆ paramCreateChar()

SCIP_RETCODE paramCreateChar ( SCIP_PARAM ** param,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
char * valueptr,
SCIP_Bool isadvanced,
char defaultvalue,
const char * allowedvalues,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )
static

creates a char parameter, and sets its value to default

Parameters
parampointer to the parameter
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
allowedvaluesarray with possible parameter values, or NULL if not restricted
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1125 of file paramset.c.

References assert(), BMSduplicateMemoryArray, NULL, paramCreate(), paramCreateChar(), SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, SCIP_PARAMTYPE_CHAR, SCIPparamSetChar(), and TRUE.

Referenced by paramCreateChar(), and SCIPparamsetAddChar().

◆ paramCreateString()

SCIP_RETCODE paramCreateString ( SCIP_PARAM ** param,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
char ** valueptr,
SCIP_Bool isadvanced,
const char * defaultvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )
static

creates a string parameter, and sets its value to default

Parameters
parampointer to the parameter
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1161 of file paramset.c.

References assert(), BMSduplicateMemoryArray, NULL, paramCreate(), paramCreateString(), SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, SCIP_PARAMTYPE_STRING, SCIPparamSetString(), and TRUE.

Referenced by paramCreateString(), and SCIPparamsetAddString().

◆ paramFree()

void paramFree ( SCIP_PARAM ** param,
BMS_BLKMEM * blkmem )
static

frees a single parameter

Parameters
parampointer to the parameter
blkmemblock memory

Definition at line 1193 of file paramset.c.

References assert(), BMSfreeBlockMemory, BMSfreeMemoryArray, BMSfreeMemoryArrayNull, NULL, paramFree(), SCIP_PARAMTYPE_BOOL, SCIP_PARAMTYPE_CHAR, SCIP_PARAMTYPE_INT, SCIP_PARAMTYPE_LONGINT, SCIP_PARAMTYPE_REAL, SCIP_PARAMTYPE_STRING, SCIPABORT, and SCIPerrorMessage.

Referenced by paramFree(), and SCIPparamsetFree().

◆ paramParseBool()

SCIP_RETCODE paramParseBool ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
char * valuestr )
static

sets SCIP_Bool parameter according to the value of the given string

Parameters
paramparameter
setglobal SCIP settings
messagehdlrmessage handler
valuestrvalue in string format (may be modified during parse)

Definition at line 1235 of file paramset.c.

References assert(), FALSE, SCIP_Param::name, NULL, paramParseBool(), SCIP_Param::paramtype, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_BOOL, SCIP_READERROR, SCIPerrorMessage, SCIPparamSetBool(), SCIPstrcasecmp(), and TRUE.

Referenced by paramParseBool(), and SCIPparamsetSet().

◆ paramParseInt()

SCIP_RETCODE paramParseInt ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
char * valuestr )
static

sets int parameter according to the value of the given string

Parameters
paramparameter
setglobal SCIP settings
messagehdlrmessage handler
valuestrvalue in string format (may be modified during parse)

Definition at line 1266 of file paramset.c.

References assert(), FALSE, SCIP_Param::name, NULL, paramParseInt(), SCIP_Param::paramtype, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_INT, SCIP_READERROR, SCIPerrorMessage, SCIPparamSetInt(), and TRUE.

Referenced by paramParseInt(), and SCIPparamsetSet().

◆ paramParseLongint()

SCIP_RETCODE paramParseLongint ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
char * valuestr )
static

sets SCIP_Longint parameter according to the value of the given string

Parameters
paramparameter
setglobal SCIP settings
messagehdlrmessage handler
valuestrvalue in string format (may be modified during parse)

Definition at line 1296 of file paramset.c.

References assert(), FALSE, SCIP_Param::name, NULL, paramParseLongint(), SCIP_Param::paramtype, SCIP_CALL, SCIP_Longint, SCIP_LONGINT_FORMAT, SCIP_OKAY, SCIP_PARAMTYPE_LONGINT, SCIP_READERROR, SCIPerrorMessage, SCIPparamSetLongint(), and TRUE.

Referenced by paramParseLongint(), and SCIPparamsetSet().

◆ paramParseReal()

SCIP_RETCODE paramParseReal ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
char * valuestr )
static

sets SCIP_Real parameter according to the value of the given string

Parameters
paramparameter
setglobal SCIP settings
messagehdlrmessage handler
valuestrvalue in string format (may be modified during parse)

Definition at line 1326 of file paramset.c.

References assert(), FALSE, SCIP_Param::name, NULL, paramParseReal(), SCIP_Param::paramtype, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_REAL, SCIP_READERROR, SCIP_Real, SCIP_REAL_FORMAT, SCIPerrorMessage, SCIPparamSetReal(), and TRUE.

Referenced by paramParseReal(), and SCIPparamsetSet().

◆ paramParseChar()

SCIP_RETCODE paramParseChar ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
char * valuestr )
static

sets Char parameter according to the value of the given string

Parameters
paramparameter
setglobal SCIP settings
messagehdlrmessage handler
valuestrvalue in string format (may be modified during parse)

Definition at line 1356 of file paramset.c.

References assert(), FALSE, SCIP_Param::name, NULL, paramParseChar(), SCIP_Param::paramtype, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_CHAR, SCIP_READERROR, SCIPerrorMessage, SCIPparamSetChar(), and TRUE.

Referenced by paramParseChar(), and SCIPparamsetSet().

◆ paramParseString()

SCIP_RETCODE paramParseString ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
char * valuestr )
static

sets string parameter according to the value of the given string

Parameters
paramparameter
setglobal SCIP settings
messagehdlrmessage handler
valuestrvalue in string format (may be modified during parse)

Definition at line 1386 of file paramset.c.

References assert(), FALSE, SCIP_Param::name, NULL, paramParseString(), SCIP_Param::paramtype, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_STRING, SCIP_READERROR, SCIPerrorMessage, SCIPparamSetString(), and TRUE.

Referenced by paramParseString(), and SCIPparamsetSet().

◆ SCIPparamsetCreate()

SCIP_RETCODE SCIPparamsetCreate ( SCIP_PARAMSET ** paramset,
BMS_BLKMEM * blkmem )

creates parameter set

Parameters
paramsetpointer to store the parameter set
blkmemblock memory

Definition at line 1423 of file paramset.c.

References assert(), BMSallocMemory, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_HASHSIZE_PARAMS, SCIP_OKAY, SCIPhashtableCreate(), and SCIPparamsetCreate().

Referenced by SCIPparamsetCreate().

◆ SCIPparamsetFree()

void SCIPparamsetFree ( SCIP_PARAMSET ** paramset,
BMS_BLKMEM * blkmem )

frees parameter set

Parameters
paramsetpointer to the parameter set
blkmemblock memory

Definition at line 1443 of file paramset.c.

References assert(), BMSfreeMemory, BMSfreeMemoryArrayNull, i, NULL, paramFree(), SCIPhashtableFree(), and SCIPparamsetFree().

Referenced by SCIPparamsetFree().

◆ paramsetAdd()

◆ SCIPparamsetAddBool()

SCIP_RETCODE SCIPparamsetAddBool ( SCIP_PARAMSET * paramset,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
SCIP_Bool * valueptr,
SCIP_Bool isadvanced,
SCIP_Bool defaultvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )

creates a SCIP_Bool parameter, sets it to its default value, and adds it to the parameter set

creates a bool parameter, sets it to its default value, and adds it to the parameter set

Parameters
paramsetparameter set
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1496 of file paramset.c.

References assert(), NULL, paramCreateBool(), paramsetAdd(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, and SCIPparamsetAddBool().

Referenced by SCIPparamsetAddBool().

◆ SCIPparamsetAddInt()

SCIP_RETCODE SCIPparamsetAddInt ( SCIP_PARAMSET * paramset,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
int * valueptr,
SCIP_Bool isadvanced,
int defaultvalue,
int minvalue,
int maxvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )

creates a int parameter, sets it to its default value, and adds it to the parameter set

Parameters
paramsetparameter set
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
minvalueminimum value for parameter
maxvaluemaximum value for parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1523 of file paramset.c.

References assert(), NULL, paramCreateInt(), paramsetAdd(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, and SCIPparamsetAddInt().

Referenced by SCIPparamsetAddInt().

◆ SCIPparamsetAddLongint()

SCIP_RETCODE SCIPparamsetAddLongint ( SCIP_PARAMSET * paramset,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
SCIP_Longint * valueptr,
SCIP_Bool isadvanced,
SCIP_Longint defaultvalue,
SCIP_Longint minvalue,
SCIP_Longint maxvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )

creates a SCIP_Longint parameter, sets it to its default value, and adds it to the parameter set

Parameters
paramsetparameter set
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
minvalueminimum value for parameter
maxvaluemaximum value for parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1553 of file paramset.c.

References assert(), NULL, paramCreateLongint(), paramsetAdd(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_Longint, SCIP_OKAY, and SCIPparamsetAddLongint().

Referenced by SCIPparamsetAddLongint().

◆ SCIPparamsetAddReal()

SCIP_RETCODE SCIPparamsetAddReal ( SCIP_PARAMSET * paramset,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
SCIP_Real * valueptr,
SCIP_Bool isadvanced,
SCIP_Real defaultvalue,
SCIP_Real minvalue,
SCIP_Real maxvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )

creates a SCIP_Real parameter, sets it to its default value, and adds it to the parameter set

Parameters
paramsetparameter set
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
minvalueminimum value for parameter
maxvaluemaximum value for parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1583 of file paramset.c.

References assert(), NULL, paramCreateReal(), paramsetAdd(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, SCIP_Real, and SCIPparamsetAddReal().

Referenced by SCIPparamsetAddReal().

◆ SCIPparamsetAddChar()

SCIP_RETCODE SCIPparamsetAddChar ( SCIP_PARAMSET * paramset,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
char * valueptr,
SCIP_Bool isadvanced,
char defaultvalue,
const char * allowedvalues,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )

creates a char parameter, sets it to its default value, and adds it to the parameter set

Parameters
paramsetparameter set
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
allowedvaluesarray with possible parameter values, or NULL if not restricted
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1613 of file paramset.c.

References assert(), NULL, paramCreateChar(), paramsetAdd(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, and SCIPparamsetAddChar().

Referenced by SCIPparamsetAddChar().

◆ SCIPparamsetAddString()

SCIP_RETCODE SCIPparamsetAddString ( SCIP_PARAMSET * paramset,
SCIP_MESSAGEHDLR * messagehdlr,
BMS_BLKMEM * blkmem,
const char * name,
const char * desc,
char ** valueptr,
SCIP_Bool isadvanced,
const char * defaultvalue,
SCIP_DECL_PARAMCHGD((*paramchgd)) ,
SCIP_PARAMDATA * paramdata )

creates a string parameter, sets it to its default value, and adds it to the parameter set

Parameters
paramsetparameter set
messagehdlrmessage handler
blkmemblock memory
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
-change information method of parameter
paramdatalocally defined parameter specific data

Definition at line 1642 of file paramset.c.

References assert(), NULL, paramCreateString(), paramsetAdd(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PARAMCHGD, SCIP_OKAY, and SCIPparamsetAddString().

Referenced by SCIPparamsetAddString().

◆ paramtypeGetName()

◆ SCIPparamsetIsFixed()

SCIP_Bool SCIPparamsetIsFixed ( SCIP_PARAMSET * paramset,
const char * name )

returns whether an existing parameter is fixed

Parameters
paramsetparameter set
namename of the parameter

Definition at line 1687 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, NULL, SCIP_Bool, SCIPABORT, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamIsFixed(), and SCIPparamsetIsFixed().

Referenced by SCIPparamsetIsFixed(), and SCIPparamsetSetToSubscipsOff().

◆ SCIPparamsetGetParam()

SCIP_PARAM * SCIPparamsetGetParam ( SCIP_PARAMSET * paramset,
const char * name )

returns the pointer to an existing SCIP parameter

Parameters
paramsetparameter set
namename of the parameter

Definition at line 1709 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIPhashtableRetrieve(), and SCIPparamsetGetParam().

Referenced by SCIPparamsetGetParam().

◆ SCIPparamsetGetBool()

SCIP_RETCODE SCIPparamsetGetBool ( SCIP_PARAMSET * paramset,
const char * name,
SCIP_Bool * value )

gets the value of an existing SCIP_Bool parameter

Parameters
paramsetparameter set
namename of the parameter
valuepointer to store the parameter

Definition at line 1721 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_Bool, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_BOOL, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamGetBool(), and SCIPparamsetGetBool().

Referenced by SCIPparamsetGetBool().

◆ SCIPparamsetGetInt()

SCIP_RETCODE SCIPparamsetGetInt ( SCIP_PARAMSET * paramset,
const char * name,
int * value )

gets the value of an existing int parameter

Parameters
paramsetparameter set
namename of the parameter
valuepointer to store the parameter

Definition at line 1753 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_INT, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamGetInt(), and SCIPparamsetGetInt().

Referenced by SCIPparamsetGetInt(), and SCIPparamsetSetToSubscipsOff().

◆ SCIPparamsetGetLongint()

SCIP_RETCODE SCIPparamsetGetLongint ( SCIP_PARAMSET * paramset,
const char * name,
SCIP_Longint * value )

gets the value of an existing SCIP_Longint parameter

Parameters
paramsetparameter set
namename of the parameter
valuepointer to store the parameter

Definition at line 1785 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_Longint, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_LONGINT, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamGetLongint(), and SCIPparamsetGetLongint().

Referenced by SCIPparamsetGetLongint().

◆ SCIPparamsetGetReal()

SCIP_RETCODE SCIPparamsetGetReal ( SCIP_PARAMSET * paramset,
const char * name,
SCIP_Real * value )

gets the value of an existing SCIP_Real parameter

Parameters
paramsetparameter set
namename of the parameter
valuepointer to store the parameter

Definition at line 1817 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_REAL, SCIP_Real, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamGetReal(), and SCIPparamsetGetReal().

Referenced by SCIPparamsetGetReal().

◆ SCIPparamsetGetChar()

SCIP_RETCODE SCIPparamsetGetChar ( SCIP_PARAMSET * paramset,
const char * name,
char * value )

gets the value of an existing char parameter

Parameters
paramsetparameter set
namename of the parameter
valuepointer to store the parameter

Definition at line 1849 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_CHAR, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamGetChar(), and SCIPparamsetGetChar().

Referenced by SCIPparamsetGetChar().

◆ SCIPparamsetGetString()

SCIP_RETCODE SCIPparamsetGetString ( SCIP_PARAMSET * paramset,
const char * name,
char ** value )

gets the value of an existing string parameter

Parameters
paramsetparameter set
namename of the parameter
valuepointer to store the parameter

Definition at line 1881 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_STRING, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamGetString(), and SCIPparamsetGetString().

Referenced by SCIPparamsetGetString().

◆ SCIPparamsetFix()

SCIP_RETCODE SCIPparamsetFix ( SCIP_PARAMSET * paramset,
const char * name,
SCIP_Bool fixed )

changes the fixing status of an existing parameter

Parameters
paramsetparameter set
namename of the parameter
fixednew fixing status of the parameter

Definition at line 1913 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Bool, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamsetFix(), and SCIPparamSetFixed().

Referenced by SCIPparamsetFix(), and SCIPparamsetSetToSubscipsOff().

◆ SCIPparamsetSetBool()

SCIP_RETCODE SCIPparamsetSetBool ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * name,
SCIP_Bool value )

changes the value of an existing SCIP_Bool parameter

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
namename of the parameter
valuenew value of the parameter

Definition at line 1937 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_BOOL, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetBool(), SCIPparamsetSetBool(), and TRUE.

Referenced by SCIPparamsetCopyParams(), and SCIPparamsetSetBool().

◆ SCIPparamsetSetInt()

SCIP_RETCODE SCIPparamsetSetInt ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * name,
int value )

changes the value of an existing int parameter

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
namename of the parameter
valuenew value of the parameter

Definition at line 1971 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_CALL, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_INT, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetInt(), SCIPparamsetSetInt(), and TRUE.

Referenced by SCIPparamsetSetInt().

◆ SCIPparamsetSetLongint()

SCIP_RETCODE SCIPparamsetSetLongint ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * name,
SCIP_Longint value )

changes the value of an existing SCIP_Longint parameter

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
namename of the parameter
valuenew value of the parameter

Definition at line 2005 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_LONGINT, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetLongint(), SCIPparamsetSetLongint(), and TRUE.

Referenced by SCIPparamsetSetLongint().

◆ SCIPparamsetSetReal()

SCIP_RETCODE SCIPparamsetSetReal ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * name,
SCIP_Real value )

changes the value of an existing SCIP_Real parameter

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
namename of the parameter
valuenew value of the parameter

Definition at line 2039 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_CALL, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_REAL, SCIP_Real, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetReal(), SCIPparamsetSetReal(), and TRUE.

Referenced by SCIPparamsetSetReal().

◆ SCIPparamsetSetChar()

SCIP_RETCODE SCIPparamsetSetChar ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * name,
char value )

changes the value of an existing char parameter

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
namename of the parameter
valuenew value of the parameter

Definition at line 2073 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_CALL, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_CHAR, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetChar(), SCIPparamsetSetChar(), and TRUE.

Referenced by SCIPparamsetSetChar().

◆ SCIPparamsetSetString()

SCIP_RETCODE SCIPparamsetSetString ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * name,
const char * value )

changes the value of an existing string parameter

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
namename of the parameter
valuenew value of the parameter

Definition at line 2107 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_CALL, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_STRING, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamsetSetString(), SCIPparamSetString(), and TRUE.

Referenced by SCIPparamsetSetString().

◆ SCIPparamsetSet()

SCIP_RETCODE SCIPparamsetSet ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * name,
const char * value,
SCIP_Bool fix )

changes the value of an existing parameter

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
namename of the parameter
valuenew value of the parameter as string
fixwhether to fix parameter

Definition at line 2141 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, NULL, paramParseBool(), paramParseChar(), paramParseInt(), paramParseLongint(), paramParseReal(), paramParseString(), SCIP_Param::paramtype, SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PARAMTYPE_BOOL, SCIP_PARAMTYPE_CHAR, SCIP_PARAMTYPE_INT, SCIP_PARAMTYPE_LONGINT, SCIP_PARAMTYPE_REAL, SCIP_PARAMTYPE_STRING, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPmessagePrintWarning(), SCIPparamSetFixed(), SCIPparamsetSet(), and TRUE.

Referenced by paramsetParse(), and SCIPparamsetSet().

◆ SCIPparamsetSetDefaultBool()

SCIP_RETCODE SCIPparamsetSetDefaultBool ( SCIP_PARAMSET * paramset,
const char * name,
SCIP_Bool defaultvalue )

changes the default value of an existing SCIP_Bool parameter

Parameters
paramsetparameter set
namename of the parameter
defaultvaluenew default value of the parameter

Definition at line 2200 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_Bool, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_BOOL, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetDefaultBool(), and SCIPparamsetSetDefaultBool().

Referenced by SCIPparamsetSetDefaultBool().

◆ SCIPparamsetSetDefaultInt()

SCIP_RETCODE SCIPparamsetSetDefaultInt ( SCIP_PARAMSET * paramset,
const char * name,
int defaultvalue )

changes the default value of an existing int parameter

Parameters
paramsetparameter set
namename of the parameter
defaultvaluenew default value of the parameter

Definition at line 2231 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_INT, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetDefaultInt(), and SCIPparamsetSetDefaultInt().

Referenced by SCIPparamsetSetDefaultInt().

◆ SCIPparamsetSetDefaultLongint()

SCIP_RETCODE SCIPparamsetSetDefaultLongint ( SCIP_PARAMSET * paramset,
const char * name,
SCIP_Longint defaultvalue )

changes the default value of an existing SCIP_Longint parameter

Parameters
paramsetparameter set
namename of the parameter
defaultvaluenew default value of the parameter

Definition at line 2262 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_Longint, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_LONGINT, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetDefaultLongint(), and SCIPparamsetSetDefaultLongint().

Referenced by SCIPparamsetSetDefaultLongint().

◆ SCIPparamsetSetDefaultReal()

SCIP_RETCODE SCIPparamsetSetDefaultReal ( SCIP_PARAMSET * paramset,
const char * name,
SCIP_Real defaultvalue )

changes the default value of an existing SCIP_Real parameter

Parameters
paramsetparameter set
namename of the parameter
defaultvaluenew default value of the parameter

Definition at line 2293 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_REAL, SCIP_Real, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetDefaultReal(), and SCIPparamsetSetDefaultReal().

Referenced by SCIPparamsetSetDefaultReal().

◆ SCIPparamsetSetDefaultChar()

SCIP_RETCODE SCIPparamsetSetDefaultChar ( SCIP_PARAMSET * paramset,
const char * name,
char defaultvalue )

changes the default value of an existing char parameter

Parameters
paramsetparameter set
namename of the parameter
defaultvaluenew default value of the parameter

Definition at line 2324 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_CHAR, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetDefaultChar(), and SCIPparamsetSetDefaultChar().

Referenced by SCIPparamsetSetDefaultChar().

◆ SCIPparamsetSetDefaultString()

SCIP_RETCODE SCIPparamsetSetDefaultString ( SCIP_PARAMSET * paramset,
const char * name,
const char * defaultvalue )

changes the default value of an existing string parameter

Parameters
paramsetparameter set
namename of the parameter
defaultvaluenew default value of the parameter

Definition at line 2355 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, SCIP_Param::paramtype, paramtypeGetName(), SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMTYPE_STRING, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamSetDefaultString(), and SCIPparamsetSetDefaultString().

Referenced by SCIPparamsetSetDefaultString().

◆ emphasisParse()

◆ paramsetParse()

SCIP_RETCODE paramsetParse ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
char * line,
SCIP_Bool * foundnormalparam )
static

parses a parameter file line "paramname = paramvalue" and sets parameter accordingly

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
lineline to parse (is modified during parse, but not freed)
foundnormalparampointer to store whether a normal parameter (not emphasis setting) has been found

Definition at line 2549 of file paramset.c.

References assert(), emphasisParse(), FALSE, NULL, paramsetParse(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_READERROR, SCIPerrorMessage, SCIPparamsetSet(), and TRUE.

Referenced by paramsetParse(), and SCIPparamsetRead().

◆ SCIPparamsetRead()

SCIP_RETCODE SCIPparamsetRead ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * filename )

reads parameters from a file

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
filenamefile name

Definition at line 2666 of file paramset.c.

References assert(), FALSE, NULL, paramsetParse(), SCIP_Bool, SCIP_CALL, SCIP_NOFILE, SCIP_OKAY, SCIP_READERROR, SCIPerrorMessage, SCIPparamsetRead(), and SCIPprintSysError().

Referenced by SCIPparamsetRead().

◆ SCIPparamsetWrite()

SCIP_RETCODE SCIPparamsetWrite ( SCIP_PARAMSET * paramset,
SCIP_MESSAGEHDLR * messagehdlr,
const char * filename,
SCIP_Bool comments,
SCIP_Bool onlychanged )

writes all parameters in the parameter set to a file

Parameters
paramsetparameter set
messagehdlrmessage handler
filenamefile name, or NULL for stdout
commentsshould parameter descriptions be written as comments?
onlychangedshould only the parameters been written, that are changed from default?

Definition at line 2716 of file paramset.c.

References assert(), FALSE, i, SCIP_ParamSet::nparams, NULL, SCIP_ParamSet::params, paramWrite(), SCIP_Bool, SCIP_CALL, SCIP_FILECREATEERROR, SCIP_OKAY, SCIPerrorMessage, SCIPmessageFPrintInfo(), SCIPmessagehdlrIsQuiet(), SCIPmessagehdlrSetQuiet(), SCIPparamsetWrite(), and SCIPprintSysError().

Referenced by SCIPparamsetWrite().

◆ SCIPparamsetSetToDefaults()

SCIP_RETCODE SCIPparamsetSetToDefaults ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr )

installs default values for all parameters

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler

Definition at line 2794 of file paramset.c.

References i, SCIP_ParamSet::nparams, SCIP_ParamSet::params, SCIP_CALL, SCIP_OKAY, SCIPparamsetSetToDefaults(), and SCIPparamSetToDefault().

Referenced by SCIPparamsetSetEmphasis(), and SCIPparamsetSetToDefaults().

◆ SCIPparamsetSetToDefault()

SCIP_RETCODE SCIPparamsetSetToDefault ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * paramname )

installs default value for a single parameter

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramnamename of the parameter

Definition at line 2812 of file paramset.c.

References SCIP_ParamSet::hashtable, NULL, SCIP_CALL, SCIP_OKAY, SCIPhashtableRetrieve(), SCIPparamsetSetToDefault(), and SCIPparamSetToDefault().

Referenced by paramsetSetHeuristicsDefault(), paramsetSetPresolvingDefault(), paramsetSetSeparatingDefault(), and SCIPparamsetSetToDefault().

◆ paramsetSetHeuristicsDefault()

SCIP_RETCODE paramsetSetHeuristicsDefault ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

resets parameters changed by SCIPparamsetSetHeuristicsXyz functions to their default values

Note
fixed parameters stay as they are; you need to unfix them first if they should be changed, too
Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 2836 of file paramset.c.

References i, paramsetSetHeuristicsDefault(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPheurGetName(), SCIPparamsetSetToDefault(), and SCIPsnprintf().

Referenced by paramsetSetHeuristicsAggressive(), paramsetSetHeuristicsDefault(), paramsetSetHeuristicsFast(), paramsetSetHeuristicsOff(), and SCIPparamsetSetHeuristics().

◆ paramsetSetHeuristicsAggressive()

SCIP_RETCODE paramsetSetHeuristicsAggressive ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

◆ paramsetSetHeuristicsFast()

SCIP_RETCODE paramsetSetHeuristicsFast ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

sets heuristics to fast

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 3018 of file paramset.c.

References SCIP_ParamSet::hashtable, i, NEXPENSIVEHEURFREQS, NULL, paramSetInt(), paramsetSetHeuristicsDefault(), paramsetSetHeuristicsFast(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPgetHeurs(), SCIPgetNHeurs(), SCIPhashtableRetrieve(), SCIPheurGetName(), SCIPheurUsesSubscip(), and SCIPsnprintf().

Referenced by paramsetSetHeuristicsFast(), SCIPparamsetSetEmphasis(), and SCIPparamsetSetHeuristics().

◆ paramsetSetHeuristicsOff()

SCIP_RETCODE paramsetSetHeuristicsOff ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

turns all heuristics off

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 3073 of file paramset.c.

References i, paramSetInt(), paramsetSetHeuristicsDefault(), paramsetSetHeuristicsOff(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPheurGetName(), and SCIPsnprintf().

Referenced by paramsetSetHeuristicsOff(), SCIPparamsetSetEmphasis(), and SCIPparamsetSetHeuristics().

◆ paramsetSetPresolvingDefault()

SCIP_RETCODE paramsetSetPresolvingDefault ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

resets all parameters that start with "presolving" in their name to their default value; additionally set the parameters which might have previously been changed by the methods SCIPparamsetSetToPresolving{Off,Fast,Aggressive} to their default value

Note
fixed parameters stay as they are; you need to unfix them first if they should be changed, too
Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 3111 of file paramset.c.

References i, paramsetSetPresolvingDefault(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPconshdlrGetName(), SCIPparamsetSetToDefault(), SCIPpresolGetName(), SCIPpropGetName(), and SCIPsnprintf().

Referenced by paramsetSetPresolvingAggressive(), paramsetSetPresolvingDefault(), paramsetSetPresolvingFast(), paramsetSetPresolvingOff(), and SCIPparamsetSetPresolving().

◆ paramsetSetPresolvingAggressive()

SCIP_RETCODE paramsetSetPresolvingAggressive ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

sets presolving to aggressive

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 3196 of file paramset.c.

References assert(), SCIP_ParamSet::hashtable, NULL, paramSetBool(), paramSetInt(), paramSetReal(), paramsetSetPresolvingAggressive(), paramsetSetPresolvingDefault(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PARAMTYPE_INT, SCIPhashtableRetrieve(), SCIPparamGetIntDefault(), SCIPparamGetType(), SCIPpresolGetName(), SCIPsetFindConshdlr(), SCIPsnprintf(), and TRUE.

Referenced by paramsetSetPresolvingAggressive(), and SCIPparamsetSetPresolving().

◆ paramsetSetPresolvingFast()

SCIP_RETCODE paramsetSetPresolvingFast ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

◆ paramsetSetPresolvingOff()

SCIP_RETCODE paramsetSetPresolvingOff ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

turns all presolving off

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 3387 of file paramset.c.

References i, paramSetInt(), paramsetSetPresolvingDefault(), paramsetSetPresolvingOff(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPconshdlrGetName(), SCIPpresolGetName(), SCIPpropGetName(), and SCIPsnprintf().

Referenced by paramsetSetPresolvingOff(), and SCIPparamsetSetPresolving().

◆ paramsetSetSeparatingDefault()

SCIP_RETCODE paramsetSetSeparatingDefault ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

reset parameters that may have been changed by other SCIPparamsetSetSeparatingXyz to their default values

Note
fixed parameters stay as they are; you need to unfix them first if they should be changed, too
Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 3465 of file paramset.c.

References SCIP_ParamSet::hashtable, i, NULL, paramsetSetSeparatingDefault(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPconshdlrGetName(), SCIPhashtableRetrieve(), SCIPparamsetSetToDefault(), SCIPsepaGetName(), and SCIPsnprintf().

Referenced by paramsetSetSeparatingAggressive(), paramsetSetSeparatingDefault(), paramsetSetSeparatingFast(), paramsetSetSeparatingOff(), and SCIPparamsetSetSeparating().

◆ paramsetSetSeparatingAggressive()

SCIP_RETCODE paramsetSetSeparatingAggressive ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

◆ paramsetSetSeparatingFast()

SCIP_RETCODE paramsetSetSeparatingFast ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

sets separating to fast

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 3719 of file paramset.c.

References NULL, paramSetInt(), paramSetReal(), paramsetSetSeparatingDefault(), paramsetSetSeparatingFast(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPsetFindConshdlr(), and SCIPsetFindSepa().

Referenced by paramsetSetSeparatingFast(), SCIPparamsetSetEmphasis(), and SCIPparamsetSetSeparating().

◆ paramsetSetSeparatingOff()

SCIP_RETCODE paramsetSetSeparatingOff ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )
static

turns all cuts off

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 3776 of file paramset.c.

References i, paramSetInt(), paramsetSetSeparatingDefault(), paramsetSetSeparatingOff(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPconshdlrGetName(), SCIPsepaGetName(), and SCIPsnprintf().

Referenced by paramsetSetSeparatingOff(), SCIPparamsetSetEmphasis(), and SCIPparamsetSetSeparating().

◆ SCIPparamsetSetEmphasis()

SCIP_RETCODE SCIPparamsetSetEmphasis ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_PARAMEMPHASIS paramemphasis,
SCIP_Bool quiet )

sets parameters to

sets parameters to

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramemphasisparameter emphasis
quietshould the parameters be set quietly (no output)?

Definition at line 3839 of file paramset.c.

References FALSE, h, SCIP_ParamSet::hashtable, NULL, paramSetBool(), paramSetChar(), paramSetInt(), paramSetReal(), paramsetSetHeuristicsAggressive(), paramsetSetHeuristicsFast(), paramsetSetHeuristicsOff(), paramsetSetPresolvingFast(), paramsetSetSeparatingAggressive(), paramsetSetSeparatingFast(), paramsetSetSeparatingOff(), SCIP_Bool, SCIP_CALL, SCIP_INVALIDCALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PARAMEMPHASIS_BENCHMARK, SCIP_PARAMEMPHASIS_COUNTER, SCIP_PARAMEMPHASIS_CPSOLVER, SCIP_PARAMEMPHASIS_DEFAULT, SCIP_PARAMEMPHASIS_EASYCIP, SCIP_PARAMEMPHASIS_FEASIBILITY, SCIP_PARAMEMPHASIS_HARDLP, SCIP_PARAMEMPHASIS_NUMERICS, SCIP_PARAMEMPHASIS_OPTIMALITY, SCIP_PARAMEMPHASIS_PHASEFEAS, SCIP_PARAMEMPHASIS_PHASEIMPROVE, SCIP_PARAMEMPHASIS_PHASEPROOF, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPheurGetName(), SCIPheurUsesSubscip(), SCIPparamsetSetEmphasis(), SCIPparamsetSetToDefaults(), SCIPsetFindConshdlr(), SCIPsnprintf(), and TRUE.

Referenced by emphasisParse(), SCIPparamsetSetEmphasis(), and SCIPsetSetEmphasis().

◆ SCIPparamsetSetToSubscipsOff()

SCIP_RETCODE SCIPparamsetSetToSubscipsOff ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool quiet )

sets parameters to deactivate separators and heuristics that use auxiliary SCIP instances; should be called for auxiliary SCIP instances to avoid recursion

Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameters be set quietly (no output)?

Definition at line 4110 of file paramset.c.

References FALSE, i, NULL, paramSetInt(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPheurGetName(), SCIPheurUsesSubscip(), SCIPmessageFPrintInfo(), SCIPparamsetFix(), SCIPparamsetGetInt(), SCIPparamsetIsFixed(), SCIPparamsetSetToSubscipsOff(), SCIPsepaGetName(), SCIPsepaUsesSubscip(), SCIPsetFindConshdlr(), SCIPsnprintf(), and TRUE.

Referenced by SCIPparamsetSetToSubscipsOff(), and SCIPsetSetSubscipsOff().

◆ SCIPparamsetSetHeuristics()

SCIP_RETCODE SCIPparamsetSetHeuristics ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_PARAMSETTING paramsetting,
SCIP_Bool quiet )

sets heuristic parameters values to

  • SCIP_PARAMSETTING_DEFAULT which are the default values of all heuristic parameters
  • SCIP_PARAMSETTING_FAST such that the time spent on heuristics is decreased
  • SCIP_PARAMSETTING_AGGRESSIVE such that the heuristics are called more aggressively
  • SCIP_PARAMSETTING_OFF which turn off all heuristics

sets heuristic parameters values to

  • SCIP_PARAMSETTING_DEFAULT which are the default values of all heuristic parameters
  • SCIP_PARAMSETTING_FAST such that the time spend for heuristic is decreased
  • SCIP_PARAMSETTING_AGGRESSIVE such that the heuristic are called more aggregative
  • SCIP_PARAMSETTING_OFF which turn off all heuristics
Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramsettingparameter settings
quietshould the parameters be set quietly (no output)?

Definition at line 4215 of file paramset.c.

References paramsetSetHeuristicsAggressive(), paramsetSetHeuristicsDefault(), paramsetSetHeuristicsFast(), paramsetSetHeuristicsOff(), SCIP_Bool, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIP_PARAMSETTING_DEFAULT, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIPerrorMessage, and SCIPparamsetSetHeuristics().

Referenced by SCIPparamsetSetHeuristics(), and SCIPsetSetHeuristics().

◆ SCIPparamsetSetPresolving()

SCIP_RETCODE SCIPparamsetSetPresolving ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_PARAMSETTING paramsetting,
SCIP_Bool quiet )

sets presolving parameters to

  • SCIP_PARAMSETTING_DEFAULT which are the default values of all presolving parameters
  • SCIP_PARAMSETTING_FAST such that the time spent on presolving is decreased
  • SCIP_PARAMSETTING_AGGRESSIVE such that the presolving is more aggressive
  • SCIP_PARAMSETTING_OFF which turn off all presolving

sets presolving parameters to

  • SCIP_PARAMSETTING_DEFAULT which are the default values of all presolving parameters
  • SCIP_PARAMSETTING_FAST such that the time spend for presolving is decreased
  • SCIP_PARAMSETTING_AGGRESSIVE such that the presolving is more aggregative
  • SCIP_PARAMSETTING_OFF which turn off all presolving
Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramsettingparameter settings
quietshould the parameters be set quietly (no output)?

Definition at line 4251 of file paramset.c.

References paramsetSetPresolvingAggressive(), paramsetSetPresolvingDefault(), paramsetSetPresolvingFast(), paramsetSetPresolvingOff(), SCIP_Bool, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIP_PARAMSETTING_DEFAULT, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIPerrorMessage, and SCIPparamsetSetPresolving().

Referenced by SCIPparamsetSetPresolving(), and SCIPsetSetPresolving().

◆ SCIPparamsetSetSeparating()

SCIP_RETCODE SCIPparamsetSetSeparating ( SCIP_PARAMSET * paramset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_PARAMSETTING paramsetting,
SCIP_Bool quiet )

sets separating parameters to

  • SCIP_PARAMSETTING_DEFAULT which are the default values of all separating parameters
  • SCIP_PARAMSETTING_FAST such that the time spent on separating is decreased
  • SCIP_PARAMSETTING_AGGRESSIVE such that separating is more aggressive
  • SCIP_PARAMSETTING_OFF which turn off all separating

sets separating parameters to

  • SCIP_PARAMSETTING_DEFAULT which are the default values of all separating parameters
  • SCIP_PARAMSETTING_FAST such that the time spend for separating is decreased
  • SCIP_PARAMSETTING_AGGRESSIVE such that the separating is done more aggregative
  • SCIP_PARAMSETTING_OFF which turn off all separating
Parameters
paramsetparameter set
setglobal SCIP settings
messagehdlrmessage handler
paramsettingparameter settings
quietshould the parameters be set quietly (no output)?

Definition at line 4287 of file paramset.c.

References paramsetSetSeparatingAggressive(), paramsetSetSeparatingDefault(), paramsetSetSeparatingFast(), paramsetSetSeparatingOff(), SCIP_Bool, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIP_PARAMSETTING_DEFAULT, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIPerrorMessage, and SCIPparamsetSetSeparating().

Referenced by SCIPparamsetSetSeparating(), and SCIPsetSetSeparating().

◆ SCIPparamsetGetParams()

SCIP_PARAM ** SCIPparamsetGetParams ( SCIP_PARAMSET * paramset)

returns the array of parameters

Parameters
paramsetparameter set

Definition at line 4318 of file paramset.c.

References assert(), NULL, SCIP_ParamSet::params, and SCIPparamsetGetParams().

Referenced by SCIPparamsetGetParams().

◆ SCIPparamsetGetNParams()

int SCIPparamsetGetNParams ( SCIP_PARAMSET * paramset)

returns the number of parameters in the parameter set

Parameters
paramsetparameter set

Definition at line 4328 of file paramset.c.

References assert(), SCIP_ParamSet::nparams, NULL, and SCIPparamsetGetNParams().

Referenced by SCIPparamsetGetNParams().

◆ SCIPparamsetCopyParams()

SCIP_RETCODE SCIPparamsetCopyParams ( SCIP_PARAMSET * sourceparamset,
SCIP_PARAMSET * targetparamset,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr )

copies all parameter values of the source parameter set to the corresponding parameters in the target set

by default reoptimization is disabled after copying the parameters. if you want to use reoptimization, you have to enable it explicitly.

copies all parameter values of the source parameter set to the corresponding parameters in the target set

Parameters
sourceparamsetsource parameter set
targetparamsettarget parameter set
setglobal SCIP settings of target SCIP
messagehdlrmessage handler of target SCIP

Definition at line 4342 of file paramset.c.

References assert(), FALSE, SCIP_ParamSet::hashtable, i, SCIP_Param::name, SCIP_ParamSet::nparams, NULL, paramCopyBool(), paramCopyChar(), paramCopyInt(), paramCopyLongint(), paramCopyReal(), paramCopyString(), SCIP_ParamSet::params, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PARAMTYPE_BOOL, SCIP_PARAMTYPE_CHAR, SCIP_PARAMTYPE_INT, SCIP_PARAMTYPE_LONGINT, SCIP_PARAMTYPE_REAL, SCIP_PARAMTYPE_STRING, SCIPerrorMessage, SCIPhashtableRetrieve(), SCIPparamGetName(), SCIPparamGetType(), SCIPparamIsFixed(), SCIPparamsetCopyParams(), SCIPparamSetFixed(), SCIPparamsetSetBool(), SCIPsetChgParamFixed(), SCIPsetIsParamFixed(), and SCIPsetSetReoptimizationParams().

Referenced by SCIPparamsetCopyParams(), and SCIPsetCopyParams().

◆ SCIP_DECL_SORTPTRCOMP()

SCIP_DECL_SORTPTRCOMP ( SCIPsortCompPtr )
static

default comparer for integers

Definition at line 4437 of file paramset.c.

References SCIP_DECL_SORTPTRCOMP.

◆ SCIPparamsetCheckValuePtrUnique()

SCIP_RETCODE SCIPparamsetCheckValuePtrUnique ( SCIP_PARAMSET * paramset,
SCIP_SET * set )

checks whether the value pointers attached to each parameter are unique

When creating a parameter a value pointer can be attached. This function checks whether these pointers are unique. Duplicate pointers indicate an error.

Parameters
paramsetparameter set
setglobal SCIP settings

Definition at line 4453 of file paramset.c.

References assert(), SCIP_Param::data, i, SCIP_Param::name, SCIP_ParamSet::nparams, NULL, SCIP_ParamSet::params, SCIP_Param::paramtype, SCIP_CALL, SCIP_OKAY, SCIP_PARAMTYPE_BOOL, SCIP_PARAMTYPE_CHAR, SCIP_PARAMTYPE_INT, SCIP_PARAMTYPE_LONGINT, SCIP_PARAMTYPE_REAL, SCIP_PARAMTYPE_STRING, SCIPABORT, SCIPerrorMessage, SCIPparamsetCheckValuePtrUnique(), SCIPsetAllocBufferArray, SCIPsetFreeBufferArray, and SCIPsortPtrInt().

Referenced by SCIPparamsetCheckValuePtrUnique(), and SCIPsetCheckParamValuePtrUnique().

◆ SCIPparamSetFixed()

void SCIPparamSetFixed ( SCIP_PARAM * param,
SCIP_Bool fixed )

sets fixing status of given parameter

Parameters
paramparameter
fixednew fixing status of the parameter

Definition at line 4529 of file paramset.c.

References assert(), SCIP_Param::isfixed, NULL, SCIP_Bool, and SCIPparamSetFixed().

Referenced by SCIP_DECL_DIALOGEXEC(), SCIPparamsetCopyParams(), SCIPparamsetFix(), SCIPparamSetFixed(), and SCIPparamsetSet().

◆ SCIPparamIsValidBool()

SCIP_Bool SCIPparamIsValidBool ( SCIP_PARAM * param,
SCIP_Bool value )

checks whether value of bool parameter is valid

checks whether value of SCIP_Bool parameter is valid

Parameters
paramparameter
valuevalue to check

Definition at line 4540 of file paramset.c.

References assert(), FALSE, NULL, SCIP_Bool, SCIPparamIsValidBool(), and TRUE.

Referenced by SCIPisBoolParamValid(), and SCIPparamIsValidBool().

◆ SCIPparamIsValidInt()

SCIP_Bool SCIPparamIsValidInt ( SCIP_PARAM * param,
int value )

checks whether value of integer parameter is valid

Parameters
paramparameter
valuevalue to check

Definition at line 4550 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Bool, and SCIPparamIsValidInt().

Referenced by SCIPisIntParamValid(), and SCIPparamIsValidInt().

◆ SCIPparamIsValidLongint()

SCIP_Bool SCIPparamIsValidLongint ( SCIP_PARAM * param,
SCIP_Longint value )

checks whether value of SCIP_Longint parameter is valid

Parameters
paramparameter
valuevalue to check

Definition at line 4561 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Bool, SCIP_Longint, and SCIPparamIsValidLongint().

Referenced by SCIPisLongintParamValid(), and SCIPparamIsValidLongint().

◆ SCIPparamIsValidReal()

SCIP_Bool SCIPparamIsValidReal ( SCIP_PARAM * param,
SCIP_Real value )

checks whether value of SCIP_Real parameter is valid

Parameters
paramparameter
valuevalue to check

Definition at line 4572 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Bool, SCIP_Real, and SCIPparamIsValidReal().

Referenced by SCIPisRealParamValid(), and SCIPparamIsValidReal().

◆ SCIPparamIsValidChar()

SCIP_Bool SCIPparamIsValidChar ( SCIP_PARAM * param,
const char value )

checks whether value of char parameter is valid

Parameters
paramparameter
valuevalue to check

Definition at line 4583 of file paramset.c.

References assert(), c, SCIP_Param::data, FALSE, NULL, SCIP_Bool, SCIPparamIsValidChar(), and TRUE.

Referenced by SCIPisCharParamValid(), and SCIPparamIsValidChar().

◆ SCIPparamIsValidString()

SCIP_Bool SCIPparamIsValidString ( SCIP_PARAM * param,
const char * value )

checks whether value of string parameter is valid

Parameters
paramparameter
valuevalue to check

Definition at line 4609 of file paramset.c.

References assert(), FALSE, i, NULL, SCIP_Bool, SCIPparamIsValidString(), and TRUE.

Referenced by SCIPisStringParamValid(), and SCIPparamIsValidString().

◆ SCIPparamSetBool()

SCIP_RETCODE SCIPparamSetBool ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Bool value,
SCIP_Bool initialize,
SCIP_Bool quiet )

sets value of SCIP_Bool parameter

Parameters
paramparameter
setglobal SCIP settings, or NULL if param change method should not be called
messagehdlrmessage handler
valuenew value of the parameter
initializeis this the initialization of the parameter?
quietshould the parameter be set quietly (no output)?

Definition at line 4627 of file paramset.c.

References assert(), SCIP_Param::data, FALSE, NULL, paramTestBool(), paramTestFixed(), paramWrite(), SCIP_Bool, SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIPparamGetBool(), SCIPparamSetBool(), and TRUE.

Referenced by paramCopyBool(), paramCreateBool(), paramParseBool(), paramSetBool(), SCIPparamSetBool(), SCIPparamsetSetBool(), and SCIPparamSetToDefault().

◆ SCIPparamSetInt()

SCIP_RETCODE SCIPparamSetInt ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
int value,
SCIP_Bool initialize,
SCIP_Bool quiet )

sets value of int parameter

Parameters
paramparameter
setglobal SCIP settings, or NULL if param change method should not be called
messagehdlrmessage handler
valuenew value of the parameter
initializeis this the initialization of the parameter?
quietshould the parameter be set quietly (no output)?

Definition at line 4689 of file paramset.c.

References assert(), SCIP_Param::data, FALSE, NULL, paramTestFixed(), paramTestInt(), paramWrite(), SCIP_Bool, SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIPparamGetInt(), SCIPparamSetInt(), and TRUE.

Referenced by paramCopyInt(), paramCreateInt(), paramParseInt(), paramSetInt(), SCIPparamSetInt(), SCIPparamsetSetInt(), SCIPparamSetToDefault(), and SCIPsetChgIntParam().

◆ SCIPparamSetLongint()

SCIP_RETCODE SCIPparamSetLongint ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Longint value,
SCIP_Bool initialize,
SCIP_Bool quiet )

sets value of SCIP_Longint parameter

Parameters
paramparameter
setglobal SCIP settings, or NULL if param change method should not be called
messagehdlrmessage handler
valuenew value of the parameter
initializeis this the initialization of the parameter?
quietshould the parameter be set quietly (no output)?

Definition at line 4751 of file paramset.c.

References assert(), SCIP_Param::data, FALSE, NULL, paramTestFixed(), paramTestLongint(), paramWrite(), SCIP_Bool, SCIP_CALL, SCIP_CALL_QUIET, SCIP_Longint, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIPparamGetLongint(), SCIPparamSetLongint(), and TRUE.

Referenced by paramCopyLongint(), paramCreateLongint(), paramParseLongint(), paramSetLongint(), SCIPparamSetLongint(), SCIPparamsetSetLongint(), and SCIPparamSetToDefault().

◆ SCIPparamSetReal()

SCIP_RETCODE SCIPparamSetReal ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
SCIP_Real value,
SCIP_Bool initialize,
SCIP_Bool quiet )

sets value of SCIP_Real parameter

Parameters
paramparameter
setglobal SCIP settings, or NULL if param change method should not be called
messagehdlrmessage handler
valuenew value of the parameter
initializeis this the initialization of the parameter?
quietshould the parameter be set quietly (no output)?

Definition at line 4813 of file paramset.c.

References assert(), SCIP_Param::data, FALSE, MAX, MIN, NULL, paramTestFixed(), paramTestReal(), paramWrite(), SCIP_Bool, SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIP_Real, SCIP_REAL_MAX, SCIP_REAL_MIN, SCIPparamGetReal(), SCIPparamSetReal(), and TRUE.

Referenced by paramCopyReal(), paramCreateReal(), paramParseReal(), paramSetReal(), SCIPparamSetReal(), SCIPparamsetSetReal(), and SCIPparamSetToDefault().

◆ SCIPparamSetChar()

SCIP_RETCODE SCIPparamSetChar ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
char value,
SCIP_Bool initialize,
SCIP_Bool quiet )

sets value of char parameter

Parameters
paramparameter
setglobal SCIP settings, or NULL if param change method should not be called
messagehdlrmessage handler
valuenew value of the parameter
initializeis this the initialization of the parameter?
quietshould the parameter be set quietly (no output)?

Definition at line 4877 of file paramset.c.

References assert(), SCIP_Param::data, FALSE, NULL, paramTestChar(), paramTestFixed(), paramWrite(), SCIP_Bool, SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIPparamGetChar(), SCIPparamSetChar(), and TRUE.

Referenced by paramCopyChar(), paramCreateChar(), paramParseChar(), paramSetChar(), SCIPparamSetChar(), SCIPparamsetSetChar(), and SCIPparamSetToDefault().

◆ SCIPparamSetString()

SCIP_RETCODE SCIPparamSetString ( SCIP_PARAM * param,
SCIP_SET * set,
SCIP_MESSAGEHDLR * messagehdlr,
const char * value,
SCIP_Bool initialize,
SCIP_Bool quiet )

sets value of string parameter

Parameters
paramparameter
setglobal SCIP settings, or NULL if param change method should not be called
messagehdlrmessage handler
valuenew value of the parameter
initializeis this the initialization of the parameter?
quietshould the parameter be set quietly (no output)?

Definition at line 4938 of file paramset.c.

References assert(), BMSduplicateMemoryArray, BMSfreeMemoryArrayNull, SCIP_Param::data, FALSE, NULL, paramTestFixed(), paramTestString(), paramWrite(), SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIPparamSetString(), and TRUE.

Referenced by paramCopyString(), paramCreateString(), paramParseString(), SCIPparamsetSetString(), SCIPparamSetString(), and SCIPparamSetToDefault().

◆ SCIPparamSetDefaultBool()

void SCIPparamSetDefaultBool ( SCIP_PARAM * param,
SCIP_Bool defaultvalue )

changes default value of SCIP_Bool parameter

sets default value of SCIP_Bool parameter

Parameters
paramparameter
defaultvaluenew default value

Definition at line 5009 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_Bool, SCIP_PARAMTYPE_BOOL, and SCIPparamSetDefaultBool().

Referenced by SCIPparamSetDefaultBool(), and SCIPparamsetSetDefaultBool().

◆ SCIPparamSetDefaultInt()

void SCIPparamSetDefaultInt ( SCIP_PARAM * param,
int defaultvalue )

changes default value of int parameter

sets default value of int parameter

Parameters
paramparameter
defaultvaluenew default value

Definition at line 5021 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_INT, and SCIPparamSetDefaultInt().

Referenced by SCIPparamSetDefaultInt(), and SCIPparamsetSetDefaultInt().

◆ SCIPparamSetDefaultLongint()

void SCIPparamSetDefaultLongint ( SCIP_PARAM * param,
SCIP_Longint defaultvalue )

sets default value of SCIP_Longint parameter

Parameters
paramparameter
defaultvaluenew default value

Definition at line 5035 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_Longint, SCIP_PARAMTYPE_LONGINT, and SCIPparamSetDefaultLongint().

Referenced by SCIPparamSetDefaultLongint(), and SCIPparamsetSetDefaultLongint().

◆ SCIPparamSetDefaultReal()

void SCIPparamSetDefaultReal ( SCIP_PARAM * param,
SCIP_Real defaultvalue )

sets default value of SCIP_Real parameter

Parameters
paramparameter
defaultvaluenew default value

Definition at line 5049 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_REAL, SCIP_Real, and SCIPparamSetDefaultReal().

Referenced by SCIPparamSetDefaultReal(), and SCIPparamsetSetDefaultReal().

◆ SCIPparamSetDefaultChar()

void SCIPparamSetDefaultChar ( SCIP_PARAM * param,
char defaultvalue )

sets default value of char parameter

Parameters
paramparameter
defaultvaluenew default value

Definition at line 5063 of file paramset.c.

References assert(), SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_CHAR, and SCIPparamSetDefaultChar().

Referenced by SCIPparamSetDefaultChar(), and SCIPparamsetSetDefaultChar().

◆ SCIPparamSetDefaultString()

void SCIPparamSetDefaultString ( SCIP_PARAM * param,
const char * defaultvalue )

sets default value of string parameter

Parameters
paramparameter
defaultvaluenew default value

Definition at line 5075 of file paramset.c.

References assert(), BMSduplicateMemoryArray, BMSfreeMemoryArray, SCIP_Param::data, NULL, SCIP_Param::paramtype, SCIP_ALLOC_ABORT, SCIP_PARAMTYPE_STRING, and SCIPparamSetDefaultString().

Referenced by SCIPparamSetDefaultString(), and SCIPparamsetSetDefaultString().

◆ SCIPparamSetToDefault()

◆ SCIPparamWrite()

SCIP_RETCODE SCIPparamWrite ( SCIP_PARAM * param,
SCIP_MESSAGEHDLR * messagehdlr,
const char * filename,
SCIP_Bool comments,
SCIP_Bool onlychanged )

writes a single parameter to a file

Parameters
paramparameter
messagehdlrmessage handler
filenamefile name, or NULL for stdout
commentsshould parameter descriptions be written as comments?
onlychangedshould only the parameters been written, that are changed from default?

Definition at line 5139 of file paramset.c.

References assert(), NULL, paramWrite(), SCIP_Bool, SCIP_CALL, SCIP_FILECREATEERROR, SCIP_OKAY, SCIPerrorMessage, SCIPparamWrite(), and SCIPprintSysError().

Referenced by SCIPparamWrite(), and SCIPwriteParam().