Scippy

SCIP

Solving Constraint Integer Programs

pub_paramset.h File Reference

Detailed Description

public methods for handling parameter settings

Author
Tobias Achterberg

Definition in file pub_paramset.h.

#include "scip/def.h"
#include "scip/type_paramset.h"
#include "scip/type_scip.h"

Go to the source code of this file.

Functions

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)
 
void SCIPparamSetFixed (SCIP_PARAM *param, SCIP_Bool fixed)
 
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)
 

Function Documentation

const char* SCIPparamGetName ( SCIP_PARAM param)

returns name of parameter

Parameters
paramparameter

Definition at line 631 of file paramset.c.

References SCIP_Param::name, and NULL.

Referenced by checkParam(), SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), and SCIPparamsetCopyParams().

const char* SCIPparamGetDesc ( SCIP_PARAM param)

returns description of parameter

Parameters
paramparameter

Definition at line 641 of file paramset.c.

References SCIP_Param::desc, and NULL.

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

SCIP_PARAMDATA* SCIPparamGetData ( SCIP_PARAM param)

returns locally defined parameter specific data

Parameters
paramparameter

Definition at line 651 of file paramset.c.

References NULL, and SCIP_Param::paramdata.

Referenced by SCIP_DECL_PARAMCHGD().

SCIP_Bool SCIPparamIsAdvanced ( SCIP_PARAM param)

returns whether parameter is advanced

Parameters
paramparameter

Definition at line 661 of file paramset.c.

References SCIP_Param::isadvanced, and NULL.

Referenced by addFixParamDialog(), and addSetParamDialog().

SCIP_Bool SCIPparamIsFixed ( SCIP_PARAM param)
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 4123 of file paramset.c.

References SCIP_Param::isfixed, and NULL.

Referenced by paramsetParse(), SCIP_DECL_DIALOGEXEC(), SCIPparamsetCopyParams(), and SCIPparamsetFix().

SCIP_Bool SCIPparamGetBool ( SCIP_PARAM param)
SCIP_Bool SCIPparamGetBoolDefault ( SCIP_PARAM param)

returns default value of SCIP_Bool parameter

Parameters
paramparameter

Definition at line 695 of file paramset.c.

References SCIP_Param::boolparam, SCIP_Param::data, SCIP_BoolParam::defaultvalue, NULL, SCIP_Param::paramtype, and SCIP_PARAMTYPE_BOOL.

Referenced by SCIPparamIsDefault(), and SCIPparamSetToDefault().

int SCIPparamGetIntMin ( SCIP_PARAM param)

returns minimal value of int parameter

Parameters
paramparameter

Definition at line 720 of file paramset.c.

References SCIP_Param::data, SCIP_Param::intparam, SCIP_IntParam::minvalue, NULL, SCIP_Param::paramtype, and SCIP_PARAMTYPE_INT.

Referenced by SCIP_DECL_DIALOGEXEC().

int SCIPparamGetIntMax ( SCIP_PARAM param)

returns maximal value of int parameter

Parameters
paramparameter

Definition at line 731 of file paramset.c.

References SCIP_Param::data, SCIP_Param::intparam, SCIP_IntParam::maxvalue, NULL, SCIP_Param::paramtype, and SCIP_PARAMTYPE_INT.

Referenced by SCIP_DECL_DIALOGEXEC().

int SCIPparamGetIntDefault ( SCIP_PARAM param)
SCIP_Longint SCIPparamGetLongintMin ( SCIP_PARAM param)

returns minimal value of longint parameter

Parameters
paramparameter

Definition at line 767 of file paramset.c.

References SCIP_Param::data, SCIP_Param::longintparam, SCIP_LongintParam::minvalue, NULL, SCIP_Param::paramtype, and SCIP_PARAMTYPE_LONGINT.

Referenced by SCIP_DECL_DIALOGEXEC().

SCIP_Longint SCIPparamGetLongintMax ( SCIP_PARAM param)

returns maximal value of longint parameter

Parameters
paramparameter

Definition at line 778 of file paramset.c.

References SCIP_Param::data, SCIP_Param::longintparam, SCIP_LongintParam::maxvalue, NULL, SCIP_Param::paramtype, and SCIP_PARAMTYPE_LONGINT.

Referenced by SCIP_DECL_DIALOGEXEC().

SCIP_Longint SCIPparamGetLongintDefault ( SCIP_PARAM param)

returns default value of SCIP_Longint parameter

Parameters
paramparameter

Definition at line 789 of file paramset.c.

References SCIP_Param::data, SCIP_LongintParam::defaultvalue, SCIP_Param::longintparam, NULL, SCIP_Param::paramtype, and SCIP_PARAMTYPE_LONGINT.

Referenced by SCIPparamIsDefault(), and SCIPparamSetToDefault().

SCIP_Real SCIPparamGetRealMin ( SCIP_PARAM param)

returns minimal value of real parameter

Parameters
paramparameter

Definition at line 814 of file paramset.c.

References SCIP_Param::data, SCIP_RealParam::minvalue, NULL, SCIP_Param::paramtype, SCIP_Param::realparam, and SCIP_PARAMTYPE_REAL.

Referenced by SCIP_DECL_DIALOGEXEC().

SCIP_Real SCIPparamGetRealMax ( SCIP_PARAM param)

returns maximal value of real parameter

Parameters
paramparameter

Definition at line 825 of file paramset.c.

References SCIP_Param::data, SCIP_RealParam::maxvalue, NULL, SCIP_Param::paramtype, SCIP_Param::realparam, and SCIP_PARAMTYPE_REAL.

Referenced by SCIP_DECL_DIALOGEXEC().

SCIP_Real SCIPparamGetRealDefault ( SCIP_PARAM param)

returns default value of SCIP_Real parameter

Parameters
paramparameter

Definition at line 836 of file paramset.c.

References SCIP_Param::data, SCIP_RealParam::defaultvalue, NULL, SCIP_Param::paramtype, SCIP_Param::realparam, and SCIP_PARAMTYPE_REAL.

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

char SCIPparamGetChar ( SCIP_PARAM param)
char* SCIPparamGetCharAllowedValues ( SCIP_PARAM param)

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

Parameters
paramparameter

Definition at line 861 of file paramset.c.

References SCIP_CharParam::allowedvalues, SCIP_Param::charparam, SCIP_Param::data, NULL, SCIP_Param::paramtype, and SCIP_PARAMTYPE_CHAR.

char SCIPparamGetCharDefault ( SCIP_PARAM param)

returns default value of char parameter

Parameters
paramparameter

Definition at line 872 of file paramset.c.

References SCIP_Param::charparam, SCIP_Param::data, SCIP_CharParam::defaultvalue, NULL, SCIP_Param::paramtype, and SCIP_PARAMTYPE_CHAR.

Referenced by SCIPparamIsDefault(), and SCIPparamSetToDefault().

char* SCIPparamGetString ( SCIP_PARAM param)
char* SCIPparamGetStringDefault ( SCIP_PARAM param)

returns default value of String parameter

Parameters
paramparameter

Definition at line 897 of file paramset.c.

References SCIP_Param::data, SCIP_StringParam::defaultvalue, NULL, SCIP_Param::paramtype, SCIP_PARAMTYPE_STRING, and SCIP_Param::stringparam.

Referenced by SCIPparamIsDefault(), and SCIPparamSetToDefault().