internal methods for handling parameter settings
Definition in file paramset.h.
#include "scip/def.h"#include "blockmemshell/memory.h"#include "scip/type_set.h"#include "scip/type_retcode.h"#include "scip/type_paramset.h"#include "scip/pub_paramset.h"#include "scip/pub_misc.h"Go to the source code of this file.
| SCIP_RETCODE SCIPparamsetCreate | ( | SCIP_PARAMSET ** | paramset, |
| BMS_BLKMEM * | blkmem ) |
creates parameter set
| paramset | pointer to store the parameter set |
| blkmem | block 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().
| void SCIPparamsetFree | ( | SCIP_PARAMSET ** | paramset, |
| BMS_BLKMEM * | blkmem ) |
frees parameter set
| paramset | pointer to the parameter set |
| blkmem | block memory |
Definition at line 1443 of file paramset.c.
References assert(), BMSfreeMemory, BMSfreeMemoryArrayNull, i, NULL, paramFree(), SCIPhashtableFree(), and SCIPparamsetFree().
Referenced by SCIPparamsetFree().
| 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 bool parameter, sets it to its default value, and adds it to the parameter set
creates a SCIP_Bool parameter, sets it to its default value, and adds it to the parameter set
| paramset | parameter set |
| messagehdlr | message handler |
| blkmem | block memory |
| name | name of the parameter |
| desc | description of the parameter |
| valueptr | pointer to store the current parameter value, or NULL |
| isadvanced | is this parameter an advanced parameter? |
| defaultvalue | default value of the parameter |
| - | change information method of parameter |
| paramdata | locally 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().
| 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
| paramset | parameter set |
| messagehdlr | message handler |
| blkmem | block memory |
| name | name of the parameter |
| desc | description of the parameter |
| valueptr | pointer to store the current parameter value, or NULL |
| isadvanced | is this parameter an advanced parameter? |
| defaultvalue | default value of the parameter |
| minvalue | minimum value for parameter |
| maxvalue | maximum value for parameter |
| - | change information method of parameter |
| paramdata | locally 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().
| 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
| paramset | parameter set |
| messagehdlr | message handler |
| blkmem | block memory |
| name | name of the parameter |
| desc | description of the parameter |
| valueptr | pointer to store the current parameter value, or NULL |
| isadvanced | is this parameter an advanced parameter? |
| defaultvalue | default value of the parameter |
| minvalue | minimum value for parameter |
| maxvalue | maximum value for parameter |
| - | change information method of parameter |
| paramdata | locally 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().
| 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
| paramset | parameter set |
| messagehdlr | message handler |
| blkmem | block memory |
| name | name of the parameter |
| desc | description of the parameter |
| valueptr | pointer to store the current parameter value, or NULL |
| isadvanced | is this parameter an advanced parameter? |
| defaultvalue | default value of the parameter |
| minvalue | minimum value for parameter |
| maxvalue | maximum value for parameter |
| - | change information method of parameter |
| paramdata | locally 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().
| 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
| paramset | parameter set |
| messagehdlr | message handler |
| blkmem | block memory |
| name | name of the parameter |
| desc | description of the parameter |
| valueptr | pointer to store the current parameter value, or NULL |
| isadvanced | is this parameter an advanced parameter? |
| defaultvalue | default value of the parameter |
| allowedvalues | array with possible parameter values, or NULL if not restricted |
| - | change information method of parameter |
| paramdata | locally 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().
| 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
| paramset | parameter set |
| messagehdlr | message handler |
| blkmem | block memory |
| name | name of the parameter |
| desc | description of the parameter |
| valueptr | pointer to store the current parameter value, or NULL |
| isadvanced | is this parameter an advanced parameter? |
| defaultvalue | default value of the parameter |
| - | change information method of parameter |
| paramdata | locally 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().
| SCIP_Bool SCIPparamsetIsFixed | ( | SCIP_PARAMSET * | paramset, |
| const char * | name ) |
returns whether an existing parameter is fixed
| paramset | parameter set |
| name | name 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().
| SCIP_PARAM * SCIPparamsetGetParam | ( | SCIP_PARAMSET * | paramset, |
| const char * | name ) |
returns the pointer to an existing SCIP parameter
| paramset | parameter set |
| name | name of the parameter |
Definition at line 1709 of file paramset.c.
References assert(), SCIP_ParamSet::hashtable, NULL, SCIPhashtableRetrieve(), and SCIPparamsetGetParam().
Referenced by SCIPparamsetGetParam().
| SCIP_RETCODE SCIPparamsetGetBool | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| SCIP_Bool * | value ) |
gets the value of an existing SCIP_Bool parameter
| paramset | parameter set |
| name | name of the parameter |
| value | pointer 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().
| SCIP_RETCODE SCIPparamsetGetInt | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| int * | value ) |
gets the value of an existing int parameter
| paramset | parameter set |
| name | name of the parameter |
| value | pointer 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().
| SCIP_RETCODE SCIPparamsetGetLongint | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| SCIP_Longint * | value ) |
gets the value of an existing SCIP_Longint parameter
| paramset | parameter set |
| name | name of the parameter |
| value | pointer 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().
| SCIP_RETCODE SCIPparamsetGetReal | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| SCIP_Real * | value ) |
gets the value of an existing SCIP_Real parameter
| paramset | parameter set |
| name | name of the parameter |
| value | pointer 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().
| SCIP_RETCODE SCIPparamsetGetChar | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| char * | value ) |
gets the value of an existing char parameter
| paramset | parameter set |
| name | name of the parameter |
| value | pointer 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().
| SCIP_RETCODE SCIPparamsetGetString | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| char ** | value ) |
gets the value of an existing string parameter
| paramset | parameter set |
| name | name of the parameter |
| value | pointer 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().
| SCIP_RETCODE SCIPparamsetFix | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| SCIP_Bool | fixed ) |
changes the fixing status of an existing parameter
| paramset | parameter set |
| name | name of the parameter |
| fixed | new 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().
| 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
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| name | name of the parameter |
| value | new 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().
| 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
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| name | name of the parameter |
| value | new 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().
| 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
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| name | name of the parameter |
| value | new 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().
| 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
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| name | name of the parameter |
| value | new 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().
| 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
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| name | name of the parameter |
| value | new 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().
| 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
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| name | name of the parameter |
| value | new 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().
| 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
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| name | name of the parameter |
| value | new value of the parameter as string |
| fix | whether 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().
| SCIP_RETCODE SCIPparamsetSetDefaultBool | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| SCIP_Bool | defaultvalue ) |
changes the default value of an existing SCIP_Bool parameter
| paramset | parameter set |
| name | name of the parameter |
| defaultvalue | new 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().
| SCIP_RETCODE SCIPparamsetSetDefaultInt | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| int | defaultvalue ) |
changes the default value of an existing int parameter
| paramset | parameter set |
| name | name of the parameter |
| defaultvalue | new 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().
| SCIP_RETCODE SCIPparamsetSetDefaultLongint | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| SCIP_Longint | defaultvalue ) |
changes the default value of an existing SCIP_Longint parameter
| paramset | parameter set |
| name | name of the parameter |
| defaultvalue | new 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().
| SCIP_RETCODE SCIPparamsetSetDefaultReal | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| SCIP_Real | defaultvalue ) |
changes the default value of an existing SCIP_Real parameter
| paramset | parameter set |
| name | name of the parameter |
| defaultvalue | new 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().
| SCIP_RETCODE SCIPparamsetSetDefaultChar | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| char | defaultvalue ) |
changes the default value of an existing char parameter
| paramset | parameter set |
| name | name of the parameter |
| defaultvalue | new 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().
| SCIP_RETCODE SCIPparamsetSetDefaultString | ( | SCIP_PARAMSET * | paramset, |
| const char * | name, | ||
| const char * | defaultvalue ) |
changes the default value of an existing string parameter
| paramset | parameter set |
| name | name of the parameter |
| defaultvalue | new 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().
| SCIP_RETCODE SCIPparamsetRead | ( | SCIP_PARAMSET * | paramset, |
| SCIP_SET * | set, | ||
| SCIP_MESSAGEHDLR * | messagehdlr, | ||
| const char * | filename ) |
reads parameters from a file
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| filename | file 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().
| 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
| paramset | parameter set |
| messagehdlr | message handler |
| filename | file name, or NULL for stdout |
| comments | should parameter descriptions be written as comments? |
| onlychanged | should 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().
| SCIP_RETCODE SCIPparamsetSetToDefaults | ( | SCIP_PARAMSET * | paramset, |
| SCIP_SET * | set, | ||
| SCIP_MESSAGEHDLR * | messagehdlr ) |
installs default values for all parameters
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message 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().
| SCIP_RETCODE SCIPparamsetSetToDefault | ( | SCIP_PARAMSET * | paramset, |
| SCIP_SET * | set, | ||
| SCIP_MESSAGEHDLR * | messagehdlr, | ||
| const char * | paramname ) |
installs default value for a single parameter
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| paramname | name 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().
| SCIP_RETCODE SCIPparamsetSetEmphasis | ( | SCIP_PARAMSET * | paramset, |
| SCIP_SET * | set, | ||
| SCIP_MESSAGEHDLR * | messagehdlr, | ||
| SCIP_PARAMEMPHASIS | paramemphasis, | ||
| SCIP_Bool | quiet ) |
sets parameters to
sets parameters to
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| paramemphasis | parameter emphasis |
| quiet | should 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().
| 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
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| quiet | should 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().
| SCIP_RETCODE SCIPparamsetSetHeuristics | ( | SCIP_PARAMSET * | paramset, |
| SCIP_SET * | set, | ||
| SCIP_MESSAGEHDLR * | messagehdlr, | ||
| SCIP_PARAMSETTING | paramsetting, | ||
| SCIP_Bool | quiet ) |
sets heuristic parameters values to
sets heuristic parameters values to
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| paramsetting | parameter settings |
| quiet | should 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().
| SCIP_RETCODE SCIPparamsetSetPresolving | ( | SCIP_PARAMSET * | paramset, |
| SCIP_SET * | set, | ||
| SCIP_MESSAGEHDLR * | messagehdlr, | ||
| SCIP_PARAMSETTING | paramsetting, | ||
| SCIP_Bool | quiet ) |
sets presolving parameters to
sets presolving parameters to
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| paramsetting | parameter settings |
| quiet | should 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().
| SCIP_RETCODE SCIPparamsetSetSeparating | ( | SCIP_PARAMSET * | paramset, |
| SCIP_SET * | set, | ||
| SCIP_MESSAGEHDLR * | messagehdlr, | ||
| SCIP_PARAMSETTING | paramsetting, | ||
| SCIP_Bool | quiet ) |
sets separating parameters to
sets separating parameters to
| paramset | parameter set |
| set | global SCIP settings |
| messagehdlr | message handler |
| paramsetting | parameter settings |
| quiet | should 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().
| SCIP_PARAM ** SCIPparamsetGetParams | ( | SCIP_PARAMSET * | paramset | ) |
returns the array of parameters
| paramset | parameter set |
Definition at line 4318 of file paramset.c.
References assert(), NULL, SCIP_ParamSet::params, and SCIPparamsetGetParams().
Referenced by SCIPparamsetGetParams().
| int SCIPparamsetGetNParams | ( | SCIP_PARAMSET * | paramset | ) |
returns the number of parameters in the parameter set
| paramset | parameter set |
Definition at line 4328 of file paramset.c.
References assert(), SCIP_ParamSet::nparams, NULL, and SCIPparamsetGetNParams().
Referenced by SCIPparamsetGetNParams().
| 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
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.
| sourceparamset | source parameter set |
| targetparamset | target parameter set |
| set | global SCIP settings of target SCIP |
| messagehdlr | message 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_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.
| paramset | parameter set |
| set | global 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().
| SCIP_Bool SCIPparamIsValidBool | ( | SCIP_PARAM * | param, |
| SCIP_Bool | value ) |
checks whether value of SCIP_Bool parameter is valid
checks whether value of bool parameter is valid
| param | parameter |
| value | value to check |
Definition at line 4540 of file paramset.c.
References assert(), FALSE, NULL, SCIP_Bool, SCIPparamIsValidBool(), and TRUE.
Referenced by SCIPisBoolParamValid(), and SCIPparamIsValidBool().
| SCIP_Bool SCIPparamIsValidInt | ( | SCIP_PARAM * | param, |
| int | value ) |
checks whether value of integer parameter is valid
| param | parameter |
| value | value 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().
| SCIP_Bool SCIPparamIsValidLongint | ( | SCIP_PARAM * | param, |
| SCIP_Longint | value ) |
checks whether value of SCIP_Longint parameter is valid
| param | parameter |
| value | value 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().
| SCIP_Bool SCIPparamIsValidReal | ( | SCIP_PARAM * | param, |
| SCIP_Real | value ) |
checks whether value of SCIP_Real parameter is valid
| param | parameter |
| value | value 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().
| SCIP_Bool SCIPparamIsValidChar | ( | SCIP_PARAM * | param, |
| const char | value ) |
checks whether value of char parameter is valid
| param | parameter |
| value | value 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().
| SCIP_Bool SCIPparamIsValidString | ( | SCIP_PARAM * | param, |
| const char * | value ) |
checks whether value of string parameter is valid
| param | parameter |
| value | value 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().
| 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
| param | parameter |
| set | global SCIP settings, or NULL if param change method should not be called |
| messagehdlr | message handler |
| value | new value of the parameter |
| initialize | is this the initialization of the parameter? |
| quiet | should 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().
| 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
| param | parameter |
| set | global SCIP settings, or NULL if param change method should not be called |
| messagehdlr | message handler |
| value | new value of the parameter |
| initialize | is this the initialization of the parameter? |
| quiet | should 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().
| 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
| param | parameter |
| set | global SCIP settings, or NULL if param change method should not be called |
| messagehdlr | message handler |
| value | new value of the parameter |
| initialize | is this the initialization of the parameter? |
| quiet | should 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().
| 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
| param | parameter |
| set | global SCIP settings, or NULL if param change method should not be called |
| messagehdlr | message handler |
| value | new value of the parameter |
| initialize | is this the initialization of the parameter? |
| quiet | should 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().
| 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
| param | parameter |
| set | global SCIP settings, or NULL if param change method should not be called |
| messagehdlr | message handler |
| value | new value of the parameter |
| initialize | is this the initialization of the parameter? |
| quiet | should 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().
| 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
| param | parameter |
| set | global SCIP settings, or NULL if param change method should not be called |
| messagehdlr | message handler |
| value | new value of the parameter |
| initialize | is this the initialization of the parameter? |
| quiet | should 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().
| void SCIPparamSetDefaultBool | ( | SCIP_PARAM * | param, |
| SCIP_Bool | defaultvalue ) |
sets default value of SCIP_Bool parameter
changes default value of SCIP_Bool parameter
| param | parameter |
| defaultvalue | new 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().
| void SCIPparamSetDefaultInt | ( | SCIP_PARAM * | param, |
| int | defaultvalue ) |
sets default value of int parameter
changes default value of int parameter
| param | parameter |
| defaultvalue | new 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().
| void SCIPparamSetDefaultLongint | ( | SCIP_PARAM * | param, |
| SCIP_Longint | defaultvalue ) |
sets default value of SCIP_Longint parameter
| param | parameter |
| defaultvalue | new 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().
| void SCIPparamSetDefaultReal | ( | SCIP_PARAM * | param, |
| SCIP_Real | defaultvalue ) |
sets default value of SCIP_Real parameter
| param | parameter |
| defaultvalue | new 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().
| void SCIPparamSetDefaultChar | ( | SCIP_PARAM * | param, |
| char | defaultvalue ) |
sets default value of char parameter
| param | parameter |
| defaultvalue | new 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().
| void SCIPparamSetDefaultString | ( | SCIP_PARAM * | param, |
| const char * | defaultvalue ) |
sets default value of string parameter
| param | parameter |
| defaultvalue | new 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().
| SCIP_RETCODE SCIPparamSetToDefault | ( | SCIP_PARAM * | param, |
| SCIP_SET * | set, | ||
| SCIP_MESSAGEHDLR * | messagehdlr ) |
sets the parameter to its default setting
| param | parameter |
| set | global SCIP settings |
| messagehdlr | message handler |
Definition at line 5088 of file paramset.c.
References assert(), FALSE, SCIP_Param::name, NULL, SCIP_Param::paramtype, 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, SCIPparamGetBoolDefault(), SCIPparamGetCharDefault(), SCIPparamGetIntDefault(), SCIPparamGetLongintDefault(), SCIPparamGetRealDefault(), SCIPparamGetStringDefault(), SCIPparamIsFixed(), SCIPparamSetBool(), SCIPparamSetChar(), SCIPparamSetInt(), SCIPparamSetLongint(), SCIPparamSetReal(), SCIPparamSetString(), SCIPparamSetToDefault(), SCIPsetDebugMsg, and TRUE.
Referenced by SCIPparamsetSetToDefault(), SCIPparamsetSetToDefaults(), and SCIPparamSetToDefault().
| 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
| param | parameter |
| messagehdlr | message handler |
| filename | file name, or NULL for stdout |
| comments | should parameter descriptions be written as comments? |
| onlychanged | should 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().