Scippy

SCIP

Solving Constraint Integer Programs

set.h File Reference

Detailed Description

internal methods for global SCIP settings

Author
Tobias Achterberg
Timo Berthold

Definition in file set.h.

#include "scip/def.h"
#include "blockmemshell/memory.h"
#include "scip/buffer.h"
#include "scip/type_set.h"
#include "scip/type_stat.h"
#include "scip/type_clock.h"
#include "scip/type_paramset.h"
#include "scip/type_event.h"
#include "scip/type_scip.h"
#include "scip/type_branch.h"
#include "scip/type_conflict.h"
#include "scip/type_cons.h"
#include "scip/type_disp.h"
#include "scip/type_heur.h"
#include "scip/type_nodesel.h"
#include "scip/type_presol.h"
#include "scip/type_pricer.h"
#include "scip/type_reader.h"
#include "scip/type_relax.h"
#include "scip/type_sepa.h"
#include "scip/type_prop.h"
#include "scip/struct_set.h"

Go to the source code of this file.

Macros

#define SCIPsetAllocBufferArray(set, ptr, num)   ( SCIPbufferAllocMemSave(set, (void**)(ptr), num, sizeof(**(ptr))) )
 
#define SCIPsetDuplicateBufferArray(set, ptr, source, num)   ( SCIPbufferDuplicateMemSave(set, (void**)(ptr), source, num, sizeof(**(ptr))) )
 
#define SCIPsetReallocBufferArray(set, ptr, num)   ( SCIPbufferReallocMemSave(set, (void**)(ptr), num, sizeof(**(ptr))) )
 
#define SCIPsetFreeBufferArray(set, ptr)   ( SCIPbufferFreeMem((set)->buffer, (void**)(ptr), 0) )
 
#define SCIPsetAllocBuffer(set, ptr)   ( SCIPbufferAllocMem((set)->buffer, set, (void**)(ptr), (int) sizeof(**(ptr))) )
 
#define SCIPsetAllocBufferSize(set, ptr, size)   ( SCIPbufferAllocMem((set)->buffer, set, (void**)(ptr), size) )
 
#define SCIPsetDuplicateBufferSize(set, ptr, source, size)   ( SCIPbufferDuplicateMem((set)->buffer, set, (void**)(ptr), source, size) )
 
#define SCIPsetReallocBufferSize(set, ptr, size)   ( SCIPbufferReallocMem((set)->buffer, set, (void**)(ptr), size) )
 
#define SCIPsetFreeBuffer(set, ptr)   ( SCIPbufferFreeMem((set)->buffer, (void**)(ptr), 0) )
 
#define SCIPsetFreeBufferSize(set, ptr)   ( SCIPbufferFreeMem((set)->buffer, (void**)(ptr), 0) )
 

Functions

SCIP_RETCODE SCIPsetCopyPlugins (SCIP_SET *sourceset, SCIP_SET *targetset, SCIP_Bool copyreaders, SCIP_Bool copypricers, SCIP_Bool copyconshdlrs, SCIP_Bool copyconflicthdlrs, SCIP_Bool copypresolvers, SCIP_Bool copyrelaxators, SCIP_Bool copyseparators, SCIP_Bool copypropagators, SCIP_Bool copyheuristics, SCIP_Bool copyeventhdlrs, SCIP_Bool copynodeselectors, SCIP_Bool copybranchrules, SCIP_Bool copydisplays, SCIP_Bool copydialogs, SCIP_Bool copynlpis, SCIP_Bool *allvalid)
 
SCIP_RETCODE SCIPsetCopyParams (SCIP_SET *sourceset, SCIP_SET *targetset, SCIP_MESSAGEHDLR *messagehdlr)
 
SCIP_RETCODE SCIPsetCreate (SCIP_SET **set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, SCIP *scip)
 
SCIP_RETCODE SCIPsetFree (SCIP_SET **set, BMS_BLKMEM *blkmem)
 
SCIP_STAGE SCIPsetGetStage (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetAddBoolParam (SCIP_SET *set, 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 SCIPsetAddIntParam (SCIP_SET *set, 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 SCIPsetAddLongintParam (SCIP_SET *set, 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 SCIPsetAddRealParam (SCIP_SET *set, 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 SCIPsetAddCharParam (SCIP_SET *set, 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 SCIPsetAddStringParam (SCIP_SET *set, 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)
 
SCIP_Bool SCIPsetIsParamFixed (SCIP_SET *set, const char *name)
 
SCIP_PARAMSCIPsetGetParam (SCIP_SET *set, const char *name)
 
SCIP_RETCODE SCIPsetGetBoolParam (SCIP_SET *set, const char *name, SCIP_Bool *value)
 
SCIP_RETCODE SCIPsetGetIntParam (SCIP_SET *set, const char *name, int *value)
 
SCIP_RETCODE SCIPsetGetLongintParam (SCIP_SET *set, const char *name, SCIP_Longint *value)
 
SCIP_RETCODE SCIPsetGetRealParam (SCIP_SET *set, const char *name, SCIP_Real *value)
 
SCIP_RETCODE SCIPsetGetCharParam (SCIP_SET *set, const char *name, char *value)
 
SCIP_RETCODE SCIPsetGetStringParam (SCIP_SET *set, const char *name, char **value)
 
SCIP_RETCODE SCIPsetChgParamFixed (SCIP_SET *set, const char *name, SCIP_Bool fixed)
 
SCIP_RETCODE SCIPsetSetParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, void *value)
 
SCIP_RETCODE SCIPsetChgBoolParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, SCIP_Bool value)
 
SCIP_RETCODE SCIPsetSetBoolParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Bool value)
 
SCIP_RETCODE SCIPsetSetDefaultBoolParam (SCIP_SET *set, const char *name, SCIP_Bool defaultvalue)
 
SCIP_RETCODE SCIPsetChgIntParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, int value)
 
SCIP_RETCODE SCIPsetSetIntParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, int value)
 
SCIP_RETCODE SCIPsetSetDefaultIntParam (SCIP_SET *set, const char *name, int defaultvalue)
 
SCIP_RETCODE SCIPsetChgLongintParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, SCIP_Longint value)
 
SCIP_RETCODE SCIPsetSetLongintParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Longint value)
 
SCIP_RETCODE SCIPsetChgRealParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, SCIP_Real value)
 
SCIP_RETCODE SCIPsetSetRealParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Real value)
 
SCIP_RETCODE SCIPsetChgCharParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, char value)
 
SCIP_RETCODE SCIPsetSetCharParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, char value)
 
SCIP_RETCODE SCIPsetChgStringParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAM *param, const char *value)
 
SCIP_RETCODE SCIPsetSetStringParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, const char *value)
 
SCIP_RETCODE SCIPsetReadParams (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *filename)
 
SCIP_RETCODE SCIPsetWriteParams (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *filename, SCIP_Bool comments, SCIP_Bool onlychanged)
 
SCIP_RETCODE SCIPsetResetParam (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name)
 
SCIP_RETCODE SCIPsetResetParams (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
 
SCIP_RETCODE SCIPsetSetEmphasis (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMEMPHASIS paramemphasis, SCIP_Bool quiet)
 
SCIP_RETCODE SCIPsetSetSubscipsOff (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
 
SCIP_RETCODE SCIPsetSetHeuristics (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
 
SCIP_RETCODE SCIPsetSetPresolving (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
 
SCIP_RETCODE SCIPsetSetSeparating (SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
 
SCIP_PARAM ** SCIPsetGetParams (SCIP_SET *set)
 
int SCIPsetGetNParams (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetIncludeReader (SCIP_SET *set, SCIP_READER *reader)
 
SCIP_READERSCIPsetFindReader (SCIP_SET *set, const char *name)
 
SCIP_RETCODE SCIPsetIncludePricer (SCIP_SET *set, SCIP_PRICER *pricer)
 
SCIP_PRICERSCIPsetFindPricer (SCIP_SET *set, const char *name)
 
void SCIPsetSortPricers (SCIP_SET *set)
 
void SCIPsetSortPricersName (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetIncludeConshdlr (SCIP_SET *set, SCIP_CONSHDLR *conshdlr)
 
void SCIPsetReinsertConshdlrSepaPrio (SCIP_SET *set, SCIP_CONSHDLR *conshdlr, int oldpriority)
 
SCIP_CONSHDLRSCIPsetFindConshdlr (SCIP_SET *set, const char *name)
 
SCIP_RETCODE SCIPsetIncludeConflicthdlr (SCIP_SET *set, SCIP_CONFLICTHDLR *conflicthdlr)
 
SCIP_CONFLICTHDLRSCIPsetFindConflicthdlr (SCIP_SET *set, const char *name)
 
void SCIPsetSortConflicthdlrs (SCIP_SET *set)
 
void SCIPsetSortConflicthdlrsName (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetIncludePresol (SCIP_SET *set, SCIP_PRESOL *presol)
 
SCIP_PRESOLSCIPsetFindPresol (SCIP_SET *set, const char *name)
 
void SCIPsetSortPresols (SCIP_SET *set)
 
void SCIPsetSortPresolsName (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetIncludeRelax (SCIP_SET *set, SCIP_RELAX *relax)
 
SCIP_RELAXSCIPsetFindRelax (SCIP_SET *set, const char *name)
 
void SCIPsetSortRelaxs (SCIP_SET *set)
 
void SCIPsetSortRelaxsName (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetIncludeSepa (SCIP_SET *set, SCIP_SEPA *sepa)
 
SCIP_SEPASCIPsetFindSepa (SCIP_SET *set, const char *name)
 
void SCIPsetSortSepas (SCIP_SET *set)
 
void SCIPsetSortSepasName (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetIncludeProp (SCIP_SET *set, SCIP_PROP *prop)
 
SCIP_PROPSCIPsetFindProp (SCIP_SET *set, const char *name)
 
void SCIPsetSortProps (SCIP_SET *set)
 
void SCIPsetSortPropsPresol (SCIP_SET *set)
 
void SCIPsetSortPropsName (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetIncludeHeur (SCIP_SET *set, SCIP_HEUR *heur)
 
SCIP_HEURSCIPsetFindHeur (SCIP_SET *set, const char *name)
 
void SCIPsetSortHeurs (SCIP_SET *set)
 
void SCIPsetSortHeursName (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetIncludeEventhdlr (SCIP_SET *set, SCIP_EVENTHDLR *eventhdlr)
 
SCIP_EVENTHDLRSCIPsetFindEventhdlr (SCIP_SET *set, const char *name)
 
SCIP_RETCODE SCIPsetIncludeNodesel (SCIP_SET *set, SCIP_NODESEL *nodesel)
 
SCIP_NODESELSCIPsetFindNodesel (SCIP_SET *set, const char *name)
 
SCIP_NODESELSCIPsetGetNodesel (SCIP_SET *set, SCIP_STAT *stat)
 
SCIP_RETCODE SCIPsetIncludeBranchrule (SCIP_SET *set, SCIP_BRANCHRULE *branchrule)
 
SCIP_BRANCHRULESCIPsetFindBranchrule (SCIP_SET *set, const char *name)
 
void SCIPsetSortBranchrules (SCIP_SET *set)
 
void SCIPsetSortBranchrulesName (SCIP_SET *set)
 
SCIP_RETCODE SCIPsetIncludeDisp (SCIP_SET *set, SCIP_DISP *disp)
 
SCIP_DISPSCIPsetFindDisp (SCIP_SET *set, const char *name)
 
SCIP_RETCODE SCIPsetIncludeDialog (SCIP_SET *set, SCIP_DIALOG *dialog)
 
SCIP_Bool SCIPsetExistsDialog (SCIP_SET *set, SCIP_DIALOG *dialog)
 
SCIP_RETCODE SCIPsetIncludeNlpi (SCIP_SET *set, SCIP_NLPI *nlpi)
 
SCIP_NLPISCIPsetFindNlpi (SCIP_SET *set, const char *name)
 
void SCIPsetSortNlpis (SCIP_SET *set)
 
void SCIPsetSetPriorityNlpi (SCIP_SET *set, SCIP_NLPI *nlpi, int priority)
 
SCIP_RETCODE SCIPsetIncludeExternalCode (SCIP_SET *set, const char *name, const char *description)
 
SCIP_RETCODE SCIPsetInitPlugins (SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
 
SCIP_RETCODE SCIPsetExitPlugins (SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
 
SCIP_RETCODE SCIPsetInitprePlugins (SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
 
SCIP_RETCODE SCIPsetExitprePlugins (SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
 
SCIP_RETCODE SCIPsetInitsolPlugins (SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat)
 
SCIP_RETCODE SCIPsetExitsolPlugins (SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_STAT *stat, SCIP_Bool restart)
 
SCIP_Longint SCIPsetGetMemExternEstim (SCIP_SET *set)
 
int SCIPsetCalcMemGrowSize (SCIP_SET *set, int num)
 
int SCIPsetCalcTreeGrowSize (SCIP_SET *set, int num)
 
int SCIPsetCalcPathGrowSize (SCIP_SET *set, int num)
 
SCIP_RETCODE SCIPsetSetVerbLevel (SCIP_SET *set, SCIP_VERBLEVEL verblevel)
 
SCIP_RETCODE SCIPsetSetFeastol (SCIP_SET *set, SCIP_Real feastol)
 
SCIP_RETCODE SCIPsetSetLpfeastol (SCIP_SET *set, SCIP_Real lpfeastol, SCIP_Bool printnewvalue)
 
SCIP_RETCODE SCIPsetSetDualfeastol (SCIP_SET *set, SCIP_Real dualfeastol)
 
SCIP_RETCODE SCIPsetSetBarrierconvtol (SCIP_SET *set, SCIP_Real barrierconvtol)
 
void SCIPsetSetLimitChanged (SCIP_SET *set)
 
int SCIPsetGetPriceMaxvars (SCIP_SET *set, SCIP_Bool root)
 
int SCIPsetGetSepaMaxcuts (SCIP_SET *set, SCIP_Bool root)
 
SCIP_Bool SCIPsetIsUpdateUnreliable (SCIP_SET *set, SCIP_Real newvalue, SCIP_Real oldvalue)
 
SCIP_Real SCIPsetInfinity (SCIP_SET *set)
 
SCIP_Real SCIPsetGetHugeValue (SCIP_SET *set)
 
SCIP_Real SCIPsetEpsilon (SCIP_SET *set)
 
SCIP_Real SCIPsetSumepsilon (SCIP_SET *set)
 
SCIP_Real SCIPsetFeastol (SCIP_SET *set)
 
SCIP_Real SCIPsetLpfeastol (SCIP_SET *set)
 
SCIP_Real SCIPsetSepaprimfeastol (SCIP_SET *set)
 
SCIP_Real SCIPsetDualfeastol (SCIP_SET *set)
 
SCIP_Real SCIPsetBarrierconvtol (SCIP_SET *set)
 
SCIP_Real SCIPsetPseudocosteps (SCIP_SET *set)
 
SCIP_Real SCIPsetPseudocostdelta (SCIP_SET *set)
 
SCIP_Real SCIPsetCutoffbounddelta (SCIP_SET *set)
 
SCIP_Real SCIPsetRecompfac (SCIP_SET *set)
 
SCIP_Bool SCIPsetIsEQ (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsLT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsLE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsGT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsGE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsInfinity (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsHugeValue (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsZero (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsPositive (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsNegative (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsIntegral (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsScalingIntegral (SCIP_SET *set, SCIP_Real val, SCIP_Real scalar)
 
SCIP_Bool SCIPsetIsFracIntegral (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetFloor (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetCeil (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetRound (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetFrac (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsSumEQ (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumLT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumLE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumGT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumGE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumZero (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsSumPositive (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsSumNegative (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetSumFloor (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetSumCeil (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetSumRound (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetSumFrac (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsFeasEQ (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsFeasLT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsFeasLE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsFeasGT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsFeasGE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsFeasZero (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsFeasPositive (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsFeasNegative (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsFeasIntegral (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsFeasFracIntegral (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetFeasFloor (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetFeasCeil (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetFeasRound (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetFeasFrac (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsLbBetter (SCIP_SET *set, SCIP_Real newlb, SCIP_Real oldlb, SCIP_Real oldub)
 
SCIP_Bool SCIPsetIsUbBetter (SCIP_SET *set, SCIP_Real newub, SCIP_Real oldlb, SCIP_Real oldub)
 
SCIP_Bool SCIPsetIsEfficacious (SCIP_SET *set, SCIP_Bool root, SCIP_Real efficacy)
 
SCIP_Bool SCIPsetIsRelEQ (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsRelLT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsRelLE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsRelGT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsRelGE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumRelEQ (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumRelLT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumRelLE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumRelGT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsSumRelGE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 

Macro Definition Documentation

#define SCIPsetAllocBufferArray (   set,
  ptr,
  num 
)    ( SCIPbufferAllocMemSave(set, (void**)(ptr), num, sizeof(**(ptr))) )
#define SCIPsetDuplicateBufferArray (   set,
  ptr,
  source,
  num 
)    ( SCIPbufferDuplicateMemSave(set, (void**)(ptr), source, num, sizeof(**(ptr))) )
#define SCIPsetReallocBufferArray (   set,
  ptr,
  num 
)    ( SCIPbufferReallocMemSave(set, (void**)(ptr), num, sizeof(**(ptr))) )
#define SCIPsetAllocBuffer (   set,
  ptr 
)    ( SCIPbufferAllocMem((set)->buffer, set, (void**)(ptr), (int) sizeof(**(ptr))) )

Definition at line 1637 of file set.h.

Referenced by lpbdchgsCreate().

#define SCIPsetAllocBufferSize (   set,
  ptr,
  size 
)    ( SCIPbufferAllocMem((set)->buffer, set, (void**)(ptr), size) )

Definition at line 1638 of file set.h.

Referenced by SCIPallocBufferSize().

#define SCIPsetDuplicateBufferSize (   set,
  ptr,
  source,
  size 
)    ( SCIPbufferDuplicateMem((set)->buffer, set, (void**)(ptr), source, size) )

Definition at line 1639 of file set.h.

Referenced by SCIPduplicateBufferSize().

#define SCIPsetReallocBufferSize (   set,
  ptr,
  size 
)    ( SCIPbufferReallocMem((set)->buffer, set, (void**)(ptr), size) )

Definition at line 1641 of file set.h.

Referenced by SCIPreallocBufferSize().

#define SCIPsetFreeBuffer (   set,
  ptr 
)    ( SCIPbufferFreeMem((set)->buffer, (void**)(ptr), 0) )

Definition at line 1642 of file set.h.

Referenced by lpbdchgsFree().

#define SCIPsetFreeBufferSize (   set,
  ptr 
)    ( SCIPbufferFreeMem((set)->buffer, (void**)(ptr), 0) )

Definition at line 1643 of file set.h.

Referenced by SCIPfreeBufferSize().

Function Documentation

SCIP_RETCODE SCIPsetCopyPlugins ( SCIP_SET sourceset,
SCIP_SET targetset,
SCIP_Bool  copyreaders,
SCIP_Bool  copypricers,
SCIP_Bool  copyconshdlrs,
SCIP_Bool  copyconflicthdlrs,
SCIP_Bool  copypresolvers,
SCIP_Bool  copyrelaxators,
SCIP_Bool  copyseparators,
SCIP_Bool  copypropagators,
SCIP_Bool  copyheuristics,
SCIP_Bool  copyeventhdlrs,
SCIP_Bool  copynodeselectors,
SCIP_Bool  copybranchrules,
SCIP_Bool  copydisplays,
SCIP_Bool  copydialogs,
SCIP_Bool  copynlpis,
SCIP_Bool allvalid 
)

copies plugins from sourcescip to targetscip; in case that a constraint handler which does not need constraints cannot be copied, valid will return FALSE. All plugins can declare that, if their copy process failed, the copied SCIP instance might not represent the same problem semantics as the original. Note that in this case dual reductions might be invalid.

Parameters
sourcesetsource SCIP_SET data structure
targetsettarget SCIP_SET data structure
copyreadersshould the file readers be copied
copypricersshould the variable pricers be copied
copyconshdlrsshould the constraint handlers be copied
copyconflicthdlrsshould the conflict handlers be copied
copypresolversshould the presolvers be copied
copyrelaxatorsshould the relaxators be copied
copyseparatorsshould the separators be copied
copypropagatorsshould the propagators be copied
copyheuristicsshould the heuristics be copied
copyeventhdlrsshould the event handlers be copied
copynodeselectorsshould the node selectors be copied
copybranchrulesshould the branchrules be copied
copydisplaysshould the display columns be copied
copydialogsshould the dialogs be copied
copynlpisshould the NLP interfaces be copied
allvalidpointer to store whether all plugins were validly copied

Definition at line 469 of file set.c.

References SCIP_Set::branchrules, SCIP_Set::conflicthdlrs, SCIP_Set::conshdlrs_include, SCIP_Set::dialogs, SCIP_Set::disps, SCIP_Set::eventhdlrs, FALSE, SCIP_Set::heurs, SCIP_Set::nbranchrules, SCIP_Set::nconflicthdlrs, SCIP_Set::nconshdlrs, SCIP_Set::ndialogs, SCIP_Set::ndisps, SCIP_Set::neventhdlrs, SCIP_Set::nheurs, SCIP_Set::nlpis, SCIP_Set::nnlpis, SCIP_Set::nnodesels, SCIP_Set::nodesels, SCIP_Set::npresols, SCIP_Set::npricers, SCIP_Set::nprops, SCIP_Set::nreaders, SCIP_Set::nrelaxs, SCIP_Set::nsepas, NULL, SCIP_Set::presols, SCIP_Set::pricers, SCIP_Set::props, SCIP_Set::readers, SCIP_Set::relaxs, SCIP_Set::scip, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPactivatePricer(), SCIPblkmem(), SCIPbranchruleCopyInclude(), SCIPconflicthdlrCopyInclude(), SCIPconshdlrCopyInclude(), SCIPconshdlrGetName(), SCIPconshdlrIsClonable(), SCIPconshdlrNeedsCons(), SCIPdebugMessage, SCIPdialogCopyInclude(), SCIPdispCopyInclude(), SCIPeventhdlrCopyInclude(), SCIPheurCopyInclude(), SCIPincludeNlpi(), SCIPnlpiCopy(), SCIPnodeselCopyInclude(), SCIPpresolCopyInclude(), SCIPpricerCopyInclude(), SCIPpricerIsActive(), SCIPpropCopyInclude(), SCIPreaderCopyInclude(), SCIPrelaxCopyInclude(), SCIPsepaCopyInclude(), SCIP_Set::sepas, and TRUE.

Referenced by SCIPcopyPlugins().

SCIP_RETCODE SCIPsetCopyParams ( SCIP_SET sourceset,
SCIP_SET targetset,
SCIP_MESSAGEHDLR messagehdlr 
)

copies parameters from sourcescip to targetscip

Parameters
sourcesetsource SCIP_SET data structure
targetsettarget SCIP_SET data structure
messagehdlrmessage handler of target SCIP

Definition at line 673 of file set.c.

References NULL, SCIP_Set::paramset, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, and SCIPparamsetCopyParams().

Referenced by SCIPcopyParamSettings().

SCIP_RETCODE SCIPsetCreate ( SCIP_SET **  set,
SCIP_MESSAGEHDLR messagehdlr,
BMS_BLKMEM blkmem,
SCIP scip 
)

creates global SCIP settings

Parameters
setpointer to SCIP settings
messagehdlrmessage handler
blkmemblock memory
scipSCIP data structure

Definition at line 690 of file set.c.

References BMSallocMemory, FALSE, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_DEFAULT_BARRIERCONVTOL, SCIP_DEFAULT_BOUNDSTREPS, SCIP_DEFAULT_BRANCH_CHECKSBSOL, SCIP_DEFAULT_BRANCH_CLAMP, SCIP_DEFAULT_BRANCH_DELAYPSCOST, SCIP_DEFAULT_BRANCH_FIRSTSBCHILD, SCIP_DEFAULT_BRANCH_FORCEALL, SCIP_DEFAULT_BRANCH_LPGAINNORMALIZE, SCIP_DEFAULT_BRANCH_PREFERBINARY, SCIP_DEFAULT_BRANCH_ROUNDSBSOL, SCIP_DEFAULT_BRANCH_SCOREFAC, SCIP_DEFAULT_BRANCH_SCOREFUNC, SCIP_DEFAULT_CONF_ALLOWLOCAL, SCIP_DEFAULT_CONF_CONFLITGRAPHWEIGHT, SCIP_DEFAULT_CONF_CONFLITWEIGHT, SCIP_DEFAULT_CONF_DEPTHSCOREFAC, SCIP_DEFAULT_CONF_DYNAMIC, SCIP_DEFAULT_CONF_ENABLE, SCIP_DEFAULT_CONF_FUIPLEVELS, SCIP_DEFAULT_CONF_FULLSHORTENCONFLICT, SCIP_DEFAULT_CONF_IGNORERELAXEDBD, SCIP_DEFAULT_CONF_INTERCONSS, SCIP_DEFAULT_CONF_KEEPREPROP, SCIP_DEFAULT_CONF_LPITERATIONS, SCIP_DEFAULT_CONF_MAXCONSS, SCIP_DEFAULT_CONF_MAXLPLOOPS, SCIP_DEFAULT_CONF_MAXVARSDETECTIMPLIEDBOUNDS, SCIP_DEFAULT_CONF_MAXVARSFAC, SCIP_DEFAULT_CONF_MINMAXVARS, SCIP_DEFAULT_CONF_PREFERBINARY, SCIP_DEFAULT_CONF_RECONVLEVELS, SCIP_DEFAULT_CONF_REMOVEABLE, SCIP_DEFAULT_CONF_REPROPAGATE, SCIP_DEFAULT_CONF_RESTARTFAC, SCIP_DEFAULT_CONF_RESTARTNUM, SCIP_DEFAULT_CONF_SCOREFAC, SCIP_DEFAULT_CONF_SEPARATE, SCIP_DEFAULT_CONF_SETTLELOCAL, SCIP_DEFAULT_CONF_USEBOUNDLP, SCIP_DEFAULT_CONF_USEINFLP, SCIP_DEFAULT_CONF_USEPROP, SCIP_DEFAULT_CONF_USEPSEUDO, SCIP_DEFAULT_CONF_USESB, SCIP_DEFAULT_CONS_AGELIMIT, SCIP_DEFAULT_CONS_DISABLEENFOPS, SCIP_DEFAULT_CONS_OBSOLETEAGE, SCIP_DEFAULT_DISP_FREQ, SCIP_DEFAULT_DISP_HEADERFREQ, SCIP_DEFAULT_DISP_LPINFO, SCIP_DEFAULT_DISP_VERBLEVEL, SCIP_DEFAULT_DISP_WIDTH, SCIP_DEFAULT_DUALFEASTOL, SCIP_DEFAULT_EPSILON, SCIP_DEFAULT_FEASTOL, SCIP_DEFAULT_HISTORY_VALUEBASED, SCIP_DEFAULT_HUGEVAL, SCIP_DEFAULT_INFINITY, SCIP_DEFAULT_LIMIT_ABSGAP, SCIP_DEFAULT_LIMIT_BESTSOL, SCIP_DEFAULT_LIMIT_GAP, SCIP_DEFAULT_LIMIT_MAXORIGSOL, SCIP_DEFAULT_LIMIT_MAXSOL, SCIP_DEFAULT_LIMIT_MEMORY, SCIP_DEFAULT_LIMIT_NODES, SCIP_DEFAULT_LIMIT_RESTARTS, SCIP_DEFAULT_LIMIT_SOLUTIONS, SCIP_DEFAULT_LIMIT_STALLNODES, SCIP_DEFAULT_LIMIT_TIME, SCIP_DEFAULT_LP_CHECKDUALFEAS, SCIP_DEFAULT_LP_CHECKPRIMFEAS, SCIP_DEFAULT_LP_CHECKSTABILITY, SCIP_DEFAULT_LP_CLEANUPCOLS, SCIP_DEFAULT_LP_CLEANUPCOLSROOT, SCIP_DEFAULT_LP_CLEANUPROWS, SCIP_DEFAULT_LP_CLEANUPROWSROOT, SCIP_DEFAULT_LP_CLEARINITIALPROBINGLP, SCIP_DEFAULT_LP_COLAGELIMIT, SCIP_DEFAULT_LP_CONDITIONLIMIT, SCIP_DEFAULT_LP_DISABLECUTOFF, SCIP_DEFAULT_LP_FASTMIP, SCIP_DEFAULT_LP_FREESOLVALBUFFERS, SCIP_DEFAULT_LP_INITALGORITHM, SCIP_DEFAULT_LP_ITERLIM, SCIP_DEFAULT_LP_LEXDUALALGO, SCIP_DEFAULT_LP_LEXDUALBASIC, SCIP_DEFAULT_LP_LEXDUALMAXROUNDS, SCIP_DEFAULT_LP_LEXDUALROOTONLY, SCIP_DEFAULT_LP_LEXDUALSTALLING, SCIP_DEFAULT_LP_PRESOLVING, SCIP_DEFAULT_LP_PRICING, SCIP_DEFAULT_LP_RESOLVEALGORITHM, SCIP_DEFAULT_LP_RESOLVEITERFAC, SCIP_DEFAULT_LP_RESOLVEITERMIN, SCIP_DEFAULT_LP_RESOLVERESTORE, SCIP_DEFAULT_LP_ROOTITERLIM, SCIP_DEFAULT_LP_ROWAGELIMIT, SCIP_DEFAULT_LP_ROWREPSWITCH, SCIP_DEFAULT_LP_SCALING, SCIP_DEFAULT_LP_SOLVEDEPTH, SCIP_DEFAULT_LP_SOLVEFREQ, SCIP_DEFAULT_LP_THREADS, SCIP_DEFAULT_LPFEASTOL, SCIP_DEFAULT_MEM_ARRAYGROWFAC, SCIP_DEFAULT_MEM_ARRAYGROWINIT, SCIP_DEFAULT_MEM_PATHGROWFAC, SCIP_DEFAULT_MEM_PATHGROWINIT, SCIP_DEFAULT_MEM_SAVEFAC, SCIP_DEFAULT_MEM_TREEGROWFAC, SCIP_DEFAULT_MEM_TREEGROWINIT, SCIP_DEFAULT_MISC_CALCINTEGRAL, SCIP_DEFAULT_MISC_CATCHCTRLC, SCIP_DEFAULT_MISC_ESTIMEXTERNMEM, SCIP_DEFAULT_MISC_EXACTSOLVE, SCIP_DEFAULT_MISC_FINITESOLSTORE, SCIP_DEFAULT_MISC_IMPROVINGSOLS, SCIP_DEFAULT_MISC_PERMUTATIONSEED, SCIP_DEFAULT_MISC_PERMUTECONSS, SCIP_DEFAULT_MISC_PERMUTEVARS, SCIP_DEFAULT_MISC_PRINTREASON, SCIP_DEFAULT_MISC_RESETSTAT, SCIP_DEFAULT_MISC_TRANSORIGSOLS, SCIP_DEFAULT_MISC_USECONSTABLE, SCIP_DEFAULT_MISC_USESMALLTABLES, SCIP_DEFAULT_MISC_USEVARTABLE, SCIP_DEFAULT_NLP_DISABLE, SCIP_DEFAULT_NLP_SOLVER, SCIP_DEFAULT_NODESEL_CHILDSEL, SCIP_DEFAULT_PRESOL_ABORTFAC, SCIP_DEFAULT_PRESOL_DONOTAGGR, SCIP_DEFAULT_PRESOL_DONOTMULTAGGR, SCIP_DEFAULT_PRESOL_IMMRESTARTFAC, SCIP_DEFAULT_PRESOL_MAXRESTARTS, SCIP_DEFAULT_PRESOL_MAXROUNDS, SCIP_DEFAULT_PRESOL_RESTARTFAC, SCIP_DEFAULT_PRESOL_RESTARTMINRED, SCIP_DEFAULT_PRESOL_SUBRESTARTFAC, SCIP_DEFAULT_PRICE_ABORTFAC, SCIP_DEFAULT_PRICE_DELVARS, SCIP_DEFAULT_PRICE_DELVARSROOT, SCIP_DEFAULT_PRICE_MAXVARS, SCIP_DEFAULT_PRICE_MAXVARSROOT, SCIP_DEFAULT_PROP_ABORTONCUTOFF, SCIP_DEFAULT_PROP_MAXROUNDS, SCIP_DEFAULT_PROP_MAXROUNDSROOT, SCIP_DEFAULT_PSEUDOCOSTDELTA, SCIP_DEFAULT_PSEUDOCOSTEPS, SCIP_DEFAULT_READ_DYNAMICCOLS, SCIP_DEFAULT_READ_DYNAMICCONSS, SCIP_DEFAULT_READ_DYNAMICROWS, SCIP_DEFAULT_READ_INITIALCONSS, SCIP_DEFAULT_RECOMPFAC, SCIP_DEFAULT_SEPA_CUTAGELIMIT, SCIP_DEFAULT_SEPA_EFFICACYNORM, SCIP_DEFAULT_SEPA_FEASTOLFAC, SCIP_DEFAULT_SEPA_MAXADDROUNDS, SCIP_DEFAULT_SEPA_MAXBOUNDDIST, SCIP_DEFAULT_SEPA_MAXCUTS, SCIP_DEFAULT_SEPA_MAXCUTSROOT, SCIP_DEFAULT_SEPA_MAXROUNDS, SCIP_DEFAULT_SEPA_MAXROUNDSROOT, SCIP_DEFAULT_SEPA_MAXROUNDSROOTSUBRUN, SCIP_DEFAULT_SEPA_MAXRUNS, SCIP_DEFAULT_SEPA_MAXSTALLROUNDS, SCIP_DEFAULT_SEPA_MINEFFICACY, SCIP_DEFAULT_SEPA_MINEFFICACYROOT, SCIP_DEFAULT_SEPA_MINORTHO, SCIP_DEFAULT_SEPA_MINORTHOROOT, SCIP_DEFAULT_SEPA_OBJPARALFAC, SCIP_DEFAULT_SEPA_ORTHOFAC, SCIP_DEFAULT_SEPA_ORTHOFUNC, SCIP_DEFAULT_SEPA_POOLFREQ, SCIP_DEFAULT_SUMEPSILON, SCIP_DEFAULT_TIME_CLOCKTYPE, SCIP_DEFAULT_TIME_ENABLED, SCIP_DEFAULT_TIME_READING, SCIP_DEFAULT_VBC_DISPSOLS, SCIP_DEFAULT_VBC_FILENAME, SCIP_DEFAULT_VBC_REALTIME, SCIP_DEFAULT_WRITE_ALLCONSS, SCIP_DEFAULT_WRITE_GENNAMES_OFFSET, SCIP_INVALID, SCIP_LONGINT_MAX, SCIP_MAXEPSILON, SCIP_MINEPSILON, SCIP_OKAY, SCIP_REAL_MAX, SCIP_REAL_MIN, SCIP_STAGE_INIT, SCIP_VERBLEVEL_FULL, SCIP_VERBLEVEL_NONE, SCIPbufferCreate(), SCIPparamsetCreate(), SCIPsetAddBoolParam(), SCIPsetAddCharParam(), SCIPsetAddIntParam(), SCIPsetAddLongintParam(), SCIPsetAddRealParam(), SCIPsetAddStringParam(), and TRUE.

Referenced by SCIPcreate().

SCIP_RETCODE SCIPsetAddBoolParam ( SCIP_SET set,
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

Parameters
setglobal SCIP settings
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
paramdatalocally defined parameter specific data

Definition at line 1894 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetAddBool().

Referenced by SCIPaddBoolParam(), SCIPconshdlrCreate(), SCIPpresolCreate(), SCIPpropCreate(), SCIPsepaCreate(), and SCIPsetCreate().

SCIP_RETCODE SCIPsetAddIntParam ( SCIP_SET set,
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

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

Parameters
setglobal SCIP settings
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
paramdatalocally defined parameter specific data

Definition at line 1916 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetAddInt().

Referenced by SCIPaddIntParam(), SCIPbranchruleCreate(), SCIPconflicthdlrCreate(), SCIPconshdlrCreate(), SCIPdispCreate(), SCIPheurCreate(), SCIPnodeselCreate(), SCIPpresolCreate(), SCIPpricerCreate(), SCIPpropCreate(), SCIPrelaxCreate(), SCIPsepaCreate(), and SCIPsetCreate().

SCIP_RETCODE SCIPsetAddLongintParam ( SCIP_SET set,
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
setglobal SCIP settings
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
paramdatalocally defined parameter specific data

Definition at line 1940 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetAddLongint().

Referenced by SCIPaddLongintParam(), and SCIPsetCreate().

SCIP_RETCODE SCIPsetAddRealParam ( SCIP_SET set,
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
setglobal SCIP settings
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
paramdatalocally defined parameter specific data

Definition at line 1964 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetAddReal().

Referenced by SCIPaddRealParam(), SCIPbranchruleCreate(), SCIPsepaCreate(), and SCIPsetCreate().

SCIP_RETCODE SCIPsetAddCharParam ( SCIP_SET set,
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
setglobal SCIP settings
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
paramdatalocally defined parameter specific data

Definition at line 1988 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetAddChar().

Referenced by SCIPaddCharParam(), and SCIPsetCreate().

SCIP_RETCODE SCIPsetAddStringParam ( SCIP_SET set,
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
setglobal SCIP settings
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
paramdatalocally defined parameter specific data

Definition at line 2011 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetAddString().

Referenced by SCIPaddStringParam(), and SCIPsetCreate().

SCIP_Bool SCIPsetIsParamFixed ( SCIP_SET set,
const char *  name 
)

gets the fixing status value of an existing parameter

Parameters
setglobal SCIP settings
namename of the parameter

Definition at line 2033 of file set.c.

References NULL, and SCIPparamsetIsFixed().

Referenced by SCIPisParamFixed().

SCIP_PARAM* SCIPsetGetParam ( SCIP_SET set,
const char *  name 
)

returns the pointer to the SCIP parameter with the given name

Parameters
setglobal SCIP settings
namename of the parameter

Definition at line 2044 of file set.c.

References NULL, and SCIPparamsetGetParam().

Referenced by SCIPgetParam().

SCIP_RETCODE SCIPsetGetBoolParam ( SCIP_SET set,
const char *  name,
SCIP_Bool value 
)

gets the value of an existing SCIP_Bool parameter

Parameters
setglobal SCIP settings
namename of the parameter
valuepointer to store the parameter

Definition at line 2055 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetGetBool().

Referenced by SCIPgetBoolParam().

SCIP_RETCODE SCIPsetGetIntParam ( SCIP_SET set,
const char *  name,
int *  value 
)

gets the value of an existing Int parameter

Parameters
setglobal SCIP settings
namename of the parameter
valuepointer to store the value of the parameter

Definition at line 2069 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetGetInt().

Referenced by SCIPgetIntParam().

SCIP_RETCODE SCIPsetGetLongintParam ( SCIP_SET set,
const char *  name,
SCIP_Longint value 
)

gets the value of an existing SCIP_Longint parameter

Parameters
setglobal SCIP settings
namename of the parameter
valuepointer to store the value of the parameter

Definition at line 2083 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetGetLongint().

Referenced by SCIPgetLongintParam().

SCIP_RETCODE SCIPsetGetRealParam ( SCIP_SET set,
const char *  name,
SCIP_Real value 
)

gets the value of an existing SCIP_Real parameter

Parameters
setglobal SCIP settings
namename of the parameter
valuepointer to store the value of the parameter

Definition at line 2097 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetGetReal().

Referenced by SCIPgetRealParam().

SCIP_RETCODE SCIPsetGetCharParam ( SCIP_SET set,
const char *  name,
char *  value 
)

gets the value of an existing Char parameter

Parameters
setglobal SCIP settings
namename of the parameter
valuepointer to store the value of the parameter

Definition at line 2111 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetGetChar().

Referenced by SCIPgetCharParam(), and SCIPlpSolveAndEval().

SCIP_RETCODE SCIPsetGetStringParam ( SCIP_SET set,
const char *  name,
char **  value 
)

gets the value of an existing String parameter

Parameters
setglobal SCIP settings
namename of the parameter
valuepointer to store the value of the parameter

Definition at line 2125 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetGetString().

Referenced by SCIPgetStringParam().

SCIP_RETCODE SCIPsetChgParamFixed ( SCIP_SET set,
const char *  name,
SCIP_Bool  fixed 
)

changes the fixing status of an existing parameter

Parameters
setglobal SCIP settings
namename of the parameter
fixednew fixing status of the parameter

Definition at line 2139 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetFix().

Referenced by SCIPfixParam(), and SCIPunfixParam().

SCIP_RETCODE SCIPsetSetParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  name,
void *  value 
)

changes the value of an existing parameter

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

Definition at line 2153 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSet().

Referenced by SCIPsetParam().

SCIP_RETCODE SCIPsetChgBoolParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
SCIP_PARAM param,
SCIP_Bool  value 
)

changes the value of an existing SCIP_Bool parameter

Parameters
setglobal SCIP settings
messagehdlrmessage handler
paramparameter
valuenew value of the parameter

Definition at line 2168 of file set.c.

References NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPparamSetBool(), and TRUE.

Referenced by SCIPchgBoolParam().

SCIP_RETCODE SCIPsetSetBoolParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  name,
SCIP_Bool  value 
)

changes the value of an existing SCIP_Bool parameter

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

Definition at line 2190 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetBool().

Referenced by SCIPsetBoolParam().

SCIP_RETCODE SCIPsetSetDefaultBoolParam ( SCIP_SET set,
const char *  name,
SCIP_Bool  defaultvalue 
)

changes the default value of an existing SCIP_Bool parameter

sets the default value of an existing SCIP_Bool parameter

Parameters
setglobal SCIP settings
namename of the parameter
defaultvaluenew default value of the parameter

Definition at line 2205 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetDefaultBool().

Referenced by SCIPsetConshdlrPresol(), SCIPsetConshdlrProp(), SCIPsetConshdlrSepa(), and SCIPsetPropPresol().

SCIP_RETCODE SCIPsetChgIntParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
SCIP_PARAM param,
int  value 
)

changes the value of an existing Int parameter

Parameters
setglobal SCIP settings
messagehdlrmessage handler
paramparameter
valuenew value of the parameter

Definition at line 2220 of file set.c.

References NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPparamSetInt(), and TRUE.

Referenced by SCIPchgIntParam().

SCIP_RETCODE SCIPsetSetIntParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  name,
int  value 
)

changes the value of an existing Int parameter

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

Definition at line 2243 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetInt().

Referenced by SCIPsetIntParam().

SCIP_RETCODE SCIPsetSetDefaultIntParam ( SCIP_SET set,
const char *  name,
int  defaultvalue 
)

changes the default value of an existing Int parameter

Parameters
setglobal SCIP settings
namename of the parameter
defaultvaluenew default value of the parameter

Definition at line 2258 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetDefaultInt().

Referenced by SCIPsetConshdlrPresol(), SCIPsetConshdlrProp(), SCIPsetConshdlrSepa(), and SCIPsetPropPresol().

SCIP_RETCODE SCIPsetChgLongintParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
SCIP_PARAM param,
SCIP_Longint  value 
)

changes the value of an existing SCIP_Longint parameter

Parameters
setglobal SCIP settings
messagehdlrmessage handler
paramparameter
valuenew value of the parameter

Definition at line 2272 of file set.c.

References NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPparamSetLongint(), and TRUE.

Referenced by SCIPchgLongintParam().

SCIP_RETCODE SCIPsetSetLongintParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  name,
SCIP_Longint  value 
)

changes the value of an existing SCIP_Longint parameter

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

Definition at line 2295 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetLongint().

Referenced by SCIPsetLongintParam().

SCIP_RETCODE SCIPsetChgRealParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
SCIP_PARAM param,
SCIP_Real  value 
)

changes the value of an existing SCIP_Real parameter

Parameters
setglobal SCIP settings
messagehdlrmessage handler
paramparameter
valuenew value of the parameter

Definition at line 2310 of file set.c.

References NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPparamSetReal(), and TRUE.

Referenced by SCIPchgRealParam().

SCIP_RETCODE SCIPsetSetRealParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  name,
SCIP_Real  value 
)

changes the value of an existing SCIP_Real parameter

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

Definition at line 2333 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetReal().

Referenced by SCIPsetRealParam().

SCIP_RETCODE SCIPsetChgCharParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
SCIP_PARAM param,
char  value 
)

changes the value of an existing Char parameter

Parameters
setglobal SCIP settings
messagehdlrmessage handler
paramparameter
valuenew value of the parameter

Definition at line 2348 of file set.c.

References NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPparamSetChar(), and TRUE.

Referenced by SCIPchgCharParam().

SCIP_RETCODE SCIPsetSetCharParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  name,
char  value 
)

changes the value of an existing Char parameter

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

Definition at line 2371 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetChar().

Referenced by SCIPlpSolveAndEval(), and SCIPsetCharParam().

SCIP_RETCODE SCIPsetChgStringParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
SCIP_PARAM param,
const char *  value 
)

changes the value of an existing String parameter

Parameters
setglobal SCIP settings
messagehdlrmessage handler
paramparameter
valuenew value of the parameter

Definition at line 2386 of file set.c.

References NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPparamSetString(), and TRUE.

Referenced by SCIPchgStringParam().

SCIP_RETCODE SCIPsetSetStringParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  name,
const char *  value 
)

changes the value of an existing String parameter

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

Definition at line 2409 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetString().

Referenced by SCIPsetStringParam().

SCIP_RETCODE SCIPsetReadParams ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  filename 
)

reads parameters from a file

Parameters
setglobal SCIP settings
messagehdlrmessage handler
filenamefile name

Definition at line 2424 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetRead().

Referenced by SCIPreadParams().

SCIP_RETCODE SCIPsetWriteParams ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  filename,
SCIP_Bool  comments,
SCIP_Bool  onlychanged 
)

writes all parameters in the parameter set to a file

Parameters
setglobal SCIP settings
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 2438 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamsetWrite().

Referenced by SCIPwriteParams().

SCIP_RETCODE SCIPsetResetParam ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
const char *  name 
)

resets a single parameters to its default value

Parameters
setglobal SCIP settings
messagehdlrmessage handler
namename of the parameter

Definition at line 2454 of file set.c.

References SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetToDefault().

Referenced by SCIPresetParam().

SCIP_RETCODE SCIPsetResetParams ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr 
)

resets all parameters to their default values

Parameters
setglobal SCIP settings
messagehdlrmessage handler

Definition at line 2466 of file set.c.

References SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetToDefaults().

Referenced by SCIPresetParams().

SCIP_RETCODE SCIPsetSetEmphasis ( SCIP_SET set,
SCIP_MESSAGEHDLR messagehdlr,
SCIP_PARAMEMPHASIS  paramemphasis,
SCIP_Bool  quiet 
)

sets parameters to

  • SCIP_PARAMSETTING_DEFAULT to use default values (see also SCIPsetResetParams())
  • SCIP_PARAMSETTING_COUNTER to get feasible and "fast" counting process
  • SCIP_PARAMSETTING_CPSOLVER to get CP like search (e.g. no LP relaxation)
  • SCIP_PARAMSETTING_EASYCIP to solve easy problems fast
  • SCIP_PARAMSETTING_FEASIBILITY to detect feasibility fast
  • SCIP_PARAMSETTING_HARDLP to be capable to handle hard LPs
  • SCIP_PARAMSETTING_OPTIMALITY to prove optimality fast
Parameters
setglobal SCIP settings
messagehdlrmessage handler
paramemphasisparameter settings
quietshould the parameter be set quiet (no output)

Definition at line 2485 of file set.c.

References SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetEmphasis().

Referenced by SCIPsetEmphasis().

SCIP_RETCODE SCIPsetSetSubscipsOff ( 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
setglobal SCIP settings
messagehdlrmessage handler
quietshould the parameter be set quiet (no output)

Definition at line 2500 of file set.c.

References SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetToSubscipsOff().

Referenced by SCIPsetSubscipsOff().

SCIP_RETCODE SCIPsetSetHeuristics ( 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 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
setglobal SCIP settings
messagehdlrmessage handler
paramsettingparameter settings
quietshould the parameter be set quiet (no output)

Definition at line 2517 of file set.c.

References SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetHeuristics().

Referenced by SCIPsetHeuristics().

SCIP_RETCODE SCIPsetSetPresolving ( 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 spend for presolving is decreased
  • SCIP_PARAMSETTING_AGGRESSIVE such that the presolving is more aggregative
  • SCIP_PARAMSETTING_OFF which turn off all presolving
Parameters
setglobal SCIP settings
messagehdlrmessage handler
paramsettingparameter settings
quietshould the parameter be set quiet (no output)

Definition at line 2535 of file set.c.

References SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetPresolving().

Referenced by SCIPsetPresolving().

SCIP_RETCODE SCIPsetSetSeparating ( 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 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
setglobal SCIP settings
messagehdlrmessage handler
paramsettingparameter settings
quietshould the parameter be set quiet (no output)

Definition at line 2553 of file set.c.

References SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetSeparating().

Referenced by SCIPsetSeparating().

SCIP_PARAM** SCIPsetGetParams ( SCIP_SET set)

returns the array of all available SCIP parameters

Parameters
setglobal SCIP settings

Definition at line 2566 of file set.c.

References NULL, and SCIPparamsetGetParams().

Referenced by SCIPgetParams().

int SCIPsetGetNParams ( SCIP_SET set)

returns the total number of all available SCIP parameters

Parameters
setglobal SCIP settings

Definition at line 2576 of file set.c.

References NULL, and SCIPparamsetGetNParams().

Referenced by SCIPgetNParams().

SCIP_RETCODE SCIPsetIncludeReader ( SCIP_SET set,
SCIP_READER reader 
)

inserts file reader in file reader list

Parameters
setglobal SCIP settings
readerfile reader

Definition at line 2586 of file set.c.

References BMSreallocMemoryArray, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeReader(), and SCIPincludeReaderBasic().

SCIP_READER* SCIPsetFindReader ( SCIP_SET set,
const char *  name 
)

returns the file reader of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of file reader

Definition at line 2608 of file set.c.

References NULL, and SCIPreaderGetName().

Referenced by SCIPfindReader().

SCIP_RETCODE SCIPsetIncludePricer ( SCIP_SET set,
SCIP_PRICER pricer 
)

inserts variable pricer in variable pricer list

Parameters
setglobal SCIP settings
pricervariable pricer

Definition at line 2628 of file set.c.

References BMSreallocMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludePricer(), and SCIPincludePricerBasic().

SCIP_PRICER* SCIPsetFindPricer ( SCIP_SET set,
const char *  name 
)

returns the variable pricer of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of variable pricer

Definition at line 2651 of file set.c.

References NULL, and SCIPpricerGetName().

Referenced by SCIPfindPricer().

void SCIPsetSortPricers ( SCIP_SET set)

sorts pricers by priorities

Parameters
setglobal SCIP settings

Definition at line 2671 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by SCIPgetPricers(), SCIPpriceLoop(), SCIPsetExitPlugins(), SCIPsetExitsolPlugins(), SCIPsetInitPlugins(), and SCIPsetInitsolPlugins().

void SCIPsetSortPricersName ( SCIP_SET set)

sorts pricers by name

Parameters
setglobal SCIP settings

Definition at line 2686 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by printPricerStatistics().

SCIP_RETCODE SCIPsetIncludeConshdlr ( SCIP_SET set,
SCIP_CONSHDLR conshdlr 
)

inserts constraint handler in constraint handler list

Parameters
setglobal SCIP settings
conshdlrconstraint handler

Definition at line 2701 of file set.c.

References BMSreallocMemoryArray, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPconshdlrGetCheckPriority(), SCIPconshdlrGetEnfoPriority(), SCIPconshdlrGetSepaPriority(), SCIPconshdlrIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeConshdlr(), and SCIPincludeConshdlrBasic().

void SCIPsetReinsertConshdlrSepaPrio ( SCIP_SET set,
SCIP_CONSHDLR conshdlr,
int  oldpriority 
)

reinserts a constraint handler with modified sepa priority into the sepa priority sorted array

Parameters
setglobal SCIP settings
conshdlrconstraint handler to be reinserted
oldprioritythe old separation priority of constraint handler

Definition at line 2757 of file set.c.

References NULL, SCIPconshdlrGetName(), and SCIPconshdlrGetSepaPriority().

Referenced by SCIPsetConshdlrSepa().

SCIP_CONSHDLR* SCIPsetFindConshdlr ( SCIP_SET set,
const char *  name 
)

returns the constraint handler of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of constraint handler

Definition at line 2842 of file set.c.

References NULL, and SCIPconshdlrGetName().

Referenced by paramsetSetPresolvingAggressive(), paramsetSetSeparatingAggressive(), paramsetSetSeparatingFast(), SCIPconsParse(), and SCIPfindConshdlr().

SCIP_RETCODE SCIPsetIncludeConflicthdlr ( SCIP_SET set,
SCIP_CONFLICTHDLR conflicthdlr 
)

inserts conflict handler in conflict handler list

Parameters
setglobal SCIP settings
conflicthdlrconflict handler

Definition at line 2862 of file set.c.

References BMSreallocMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPconflicthdlrIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeConflicthdlr(), and SCIPincludeConflicthdlrBasic().

SCIP_CONFLICTHDLR* SCIPsetFindConflicthdlr ( SCIP_SET set,
const char *  name 
)

returns the conflict handler of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of conflict handler

Definition at line 2886 of file set.c.

References NULL, and SCIPconflicthdlrGetName().

Referenced by SCIPfindConflicthdlr().

void SCIPsetSortConflicthdlrs ( SCIP_SET set)

sorts conflict handlers by priorities

Parameters
setglobal SCIP settings

Definition at line 2906 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by conflictAddConflictCons(), and SCIPgetConflicthdlrs().

void SCIPsetSortConflicthdlrsName ( SCIP_SET set)

sorts conflict handlers by name

Parameters
setglobal SCIP settings

Definition at line 2921 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

SCIP_RETCODE SCIPsetIncludePresol ( SCIP_SET set,
SCIP_PRESOL presol 
)

inserts presolver in presolver list

Parameters
setglobal SCIP settings
presolpresolver

Definition at line 2936 of file set.c.

References BMSreallocMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludePresol(), and SCIPincludePresolBasic().

SCIP_PRESOL* SCIPsetFindPresol ( SCIP_SET set,
const char *  name 
)

returns the presolver of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of presolver

Definition at line 2959 of file set.c.

References NULL, and SCIPpresolGetName().

Referenced by paramsetSetPresolvingAggressive(), paramsetSetPresolvingFast(), and SCIPfindPresol().

void SCIPsetSortPresols ( SCIP_SET set)

sorts presolvers by priorities

Parameters
setglobal SCIP settings

Definition at line 2979 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by presolve(), and SCIPgetPresols().

void SCIPsetSortPresolsName ( SCIP_SET set)

sorts presolvers by name

Parameters
setglobal SCIP settings

Definition at line 2994 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by printPresolverStatistics().

SCIP_RETCODE SCIPsetIncludeRelax ( SCIP_SET set,
SCIP_RELAX relax 
)

inserts relaxator in relaxator list

Parameters
setglobal SCIP settings
relaxrelaxator

Definition at line 3009 of file set.c.

References BMSreallocMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPrelaxIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeRelax(), and SCIPincludeRelaxBasic().

SCIP_RELAX* SCIPsetFindRelax ( SCIP_SET set,
const char *  name 
)

returns the relaxator of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of relaxator

Definition at line 3033 of file set.c.

References NULL, and SCIPrelaxGetName().

Referenced by SCIPfindRelax().

void SCIPsetSortRelaxs ( SCIP_SET set)

sorts relaxators by priorities

Parameters
setglobal SCIP settings

Definition at line 3053 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by SCIPgetRelaxs(), and solveNodeRelax().

void SCIPsetSortRelaxsName ( SCIP_SET set)

sorts relaxators by name

sorts relaxators by priorities

Parameters
setglobal SCIP settings

Definition at line 3068 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by printRelaxatorStatistics().

SCIP_RETCODE SCIPsetIncludeSepa ( SCIP_SET set,
SCIP_SEPA sepa 
)

inserts separator in separator list

Parameters
setglobal SCIP settings
sepaseparator

Definition at line 3083 of file set.c.

References BMSreallocMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPsepaIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeSepa(), and SCIPincludeSepaBasic().

SCIP_SEPA* SCIPsetFindSepa ( SCIP_SET set,
const char *  name 
)

returns the separator of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of separator

Definition at line 3107 of file set.c.

References NULL, and SCIPsepaGetName().

Referenced by paramsetSetSeparatingAggressive(), paramsetSetSeparatingFast(), and SCIPfindSepa().

void SCIPsetSortSepas ( SCIP_SET set)

sorts separators by priorities

Parameters
setglobal SCIP settings

Definition at line 3127 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by SCIPgetSepas(), separationRoundLP(), and separationRoundSol().

void SCIPsetSortSepasName ( SCIP_SET set)

sorts separators by name

Parameters
setglobal SCIP settings

Definition at line 3142 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by printSeparatorStatistics().

SCIP_RETCODE SCIPsetIncludeProp ( SCIP_SET set,
SCIP_PROP prop 
)

inserts propagator in propagator list

Parameters
setglobal SCIP settings
proppropagator

Definition at line 3157 of file set.c.

References BMSreallocMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPpropIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeProp(), and SCIPincludePropBasic().

SCIP_PROP* SCIPsetFindProp ( SCIP_SET set,
const char *  name 
)

returns the propagator of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of propagator

Definition at line 3181 of file set.c.

References NULL, and SCIPpropGetName().

Referenced by paramsetSetPresolvingFast(), and SCIPfindProp().

void SCIPsetSortProps ( SCIP_SET set)

sorts propagators by priorities

Parameters
setglobal SCIP settings

Definition at line 3201 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by propagationRound(), and SCIPgetProps().

void SCIPsetSortPropsPresol ( SCIP_SET set)

sorts propagators by priorities for presolving

Parameters
setglobal SCIP settings

Definition at line 3217 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by presolve().

void SCIPsetSortPropsName ( SCIP_SET set)

sorts propagators w.r.t. names

Parameters
setglobal SCIP settings

Definition at line 3233 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by printPresolverStatistics(), and printPropagatorStatistics().

SCIP_RETCODE SCIPsetIncludeHeur ( SCIP_SET set,
SCIP_HEUR heur 
)

inserts primal heuristic in primal heuristic list

Parameters
setglobal SCIP settings
heurprimal heuristic

Definition at line 3249 of file set.c.

References BMSreallocMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPheurIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeHeur(), and SCIPincludeHeurBasic().

SCIP_HEUR* SCIPsetFindHeur ( SCIP_SET set,
const char *  name 
)

returns the primal heuristic of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of primal heuristic

Definition at line 3273 of file set.c.

References NULL, and SCIPheurGetName().

Referenced by paramsetSetHeuristicsAggressive(), and SCIPfindHeur().

void SCIPsetSortHeurs ( SCIP_SET set)

sorts heuristics by priorities

Parameters
setglobal SCIP settings

Definition at line 3293 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by SCIPgetHeurs(), and SCIPprimalHeuristics().

void SCIPsetSortHeursName ( SCIP_SET set)

sorts heuristics by name

sorts heuristics by names

Parameters
setglobal SCIP settings

Definition at line 3308 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by printHeuristicStatistics().

SCIP_RETCODE SCIPsetIncludeEventhdlr ( SCIP_SET set,
SCIP_EVENTHDLR eventhdlr 
)

inserts event handler in event handler list

Parameters
setglobal SCIP settings
eventhdlrevent handler

Definition at line 3323 of file set.c.

References BMSreallocMemoryArray, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPeventhdlrIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeEventhdlr(), SCIPincludeEventhdlrBasic(), and SCIPnlpInclude().

SCIP_EVENTHDLR* SCIPsetFindEventhdlr ( SCIP_SET set,
const char *  name 
)

returns the event handler of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of event handler

Definition at line 3346 of file set.c.

References NULL, and SCIPeventhdlrGetName().

Referenced by SCIPfindEventhdlr(), SCIPnlpCreate(), and SCIPnlpInclude().

SCIP_RETCODE SCIPsetIncludeNodesel ( SCIP_SET set,
SCIP_NODESEL nodesel 
)

inserts node selector in node selector list

Parameters
setglobal SCIP settings
nodeselnode selector

Definition at line 3366 of file set.c.

References BMSreallocMemoryArray, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPnodeselGetStdPriority(), SCIPnodeselIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeNodesel(), and SCIPincludeNodeselBasic().

SCIP_NODESEL* SCIPsetFindNodesel ( SCIP_SET set,
const char *  name 
)

returns the node selector of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of event handler

Definition at line 3397 of file set.c.

References NULL, and SCIPnodeselGetName().

Referenced by SCIPfindNodesel().

SCIP_NODESEL* SCIPsetGetNodesel ( SCIP_SET set,
SCIP_STAT stat 
)

returns node selector with highest priority in the current mode

Parameters
setglobal SCIP settings
statdynamic problem statistics

Definition at line 3417 of file set.c.

References SCIP_Stat::memsavemode, NULL, SCIPnodeselGetMemsavePriority(), and SCIPnodeselGetStdPriority().

Referenced by SCIPgetNodesel(), SCIPsolve(), SCIPsolveCIP(), and SCIPtransformProb().

SCIP_RETCODE SCIPsetIncludeBranchrule ( SCIP_SET set,
SCIP_BRANCHRULE branchrule 
)

inserts branching rule in branching rule list

Parameters
setglobal SCIP settings
branchrulebranching rule

Definition at line 3455 of file set.c.

References BMSreallocMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPbranchruleIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeBranchrule(), and SCIPincludeBranchruleBasic().

SCIP_BRANCHRULE* SCIPsetFindBranchrule ( SCIP_SET set,
const char *  name 
)

returns the branching rule of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of event handler

Definition at line 3479 of file set.c.

References NULL, and SCIPbranchruleGetName().

Referenced by SCIPfindBranchrule().

void SCIPsetSortBranchrules ( SCIP_SET set)

sorts branching rules by priorities

Parameters
setglobal SCIP settings

Definition at line 3499 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by SCIPbranchExecExtern(), SCIPbranchExecLP(), SCIPbranchExecPseudo(), and SCIPfindBranchrule().

void SCIPsetSortBranchrulesName ( SCIP_SET set)

sorts branching rules by name

sorts branching rules by priorities

Parameters
setglobal SCIP settings

Definition at line 3514 of file set.c.

References FALSE, NULL, SCIPsortPtr(), and TRUE.

Referenced by printBranchruleStatistics().

SCIP_RETCODE SCIPsetIncludeDisp ( SCIP_SET set,
SCIP_DISP disp 
)

inserts display column in display column list

Parameters
setglobal SCIP settings
dispdisplay column

Definition at line 3529 of file set.c.

References BMSreallocMemoryArray, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdispGetPosition(), SCIPdispIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeDisp().

SCIP_DISP* SCIPsetFindDisp ( SCIP_SET set,
const char *  name 
)

returns the display column of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of display

Definition at line 3561 of file set.c.

References NULL, and SCIPdispGetName().

Referenced by SCIPfindDisp().

SCIP_RETCODE SCIPsetIncludeDialog ( SCIP_SET set,
SCIP_DIALOG dialog 
)

inserts dialog in dialog list

Parameters
setglobal SCIP settings
dialogdialog

Definition at line 3581 of file set.c.

References BMSreallocMemoryArray, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeDialog().

SCIP_Bool SCIPsetExistsDialog ( SCIP_SET set,
SCIP_DIALOG dialog 
)

returns if the dialog already exists

Parameters
setglobal SCIP settings
dialogdialog

Definition at line 3603 of file set.c.

References FALSE, NULL, and TRUE.

Referenced by SCIPexistsDialog().

SCIP_RETCODE SCIPsetIncludeNlpi ( SCIP_SET set,
SCIP_NLPI nlpi 
)

inserts NLPI in NLPI list

Parameters
setglobal SCIP settings
nlpiNLPI

Definition at line 3625 of file set.c.

References BMSreallocMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIPsetCalcMemGrowSize().

Referenced by SCIPincludeNlpi().

SCIP_NLPI* SCIPsetFindNlpi ( SCIP_SET set,
const char *  name 
)

returns the NLPI of the given name, or NULL if not existing

Parameters
setglobal SCIP settings
namename of NLPI

Definition at line 3648 of file set.c.

References NULL, and SCIPnlpiGetName().

Referenced by SCIPfindNlpi(), and SCIPnlpCreate().

void SCIPsetSortNlpis ( SCIP_SET set)

sorts NLPIs by priorities

Parameters
setglobal SCIP settings

Definition at line 3668 of file set.c.

References NULL, SCIPsortPtr(), and TRUE.

Referenced by SCIPgetNlpis().

void SCIPsetSetPriorityNlpi ( SCIP_SET set,
SCIP_NLPI nlpi,
int  priority 
)

set priority of an NLPI

Parameters
setglobal SCIP settings
nlpiNLPI
prioritynew priority of NLPI

Definition at line 3682 of file set.c.

References FALSE, NULL, and SCIPnlpiSetPriority().

Referenced by SCIPsetNlpiPriority().

SCIP_RETCODE SCIPsetIncludeExternalCode ( SCIP_SET set,
const char *  name,
const char *  description 
)

inserts information about an external code in external codes list

Parameters
setglobal SCIP settings
namename of external code
descriptiondescription of external code, can be NULL

Definition at line 3696 of file set.c.

References BMSduplicateMemoryArray, BMSreallocMemoryArray, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIPsetCalcMemGrowSize().

Referenced by SCIPcreate(), SCIPdialoghdlrCreate(), and SCIPincludeExternalCodeInformation().

SCIP_RETCODE SCIPsetInitPlugins ( SCIP_SET set,
BMS_BLKMEM blkmem,
SCIP_STAT stat 
)

calls init methods of all plugins

Parameters
setglobal SCIP settings
blkmemblock memory
statdynamic problem statistics

Definition at line 3728 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleInit(), SCIPconflicthdlrInit(), SCIPconshdlrInit(), SCIPdispAutoActivate(), SCIPdispInit(), SCIPeventhdlrInit(), SCIPheurInit(), SCIPnodeselInit(), SCIPpresolInit(), SCIPpricerInit(), SCIPpropInit(), SCIPrelaxInit(), SCIPsepaInit(), and SCIPsetSortPricers().

Referenced by SCIPtransformProb().

SCIP_RETCODE SCIPsetExitPlugins ( SCIP_SET set,
BMS_BLKMEM blkmem,
SCIP_STAT stat 
)

calls exit methods of all plugins

Parameters
setglobal SCIP settings
blkmemblock memory
statdynamic problem statistics

Definition at line 3816 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleExit(), SCIPconflicthdlrExit(), SCIPconshdlrExit(), SCIPdispExit(), SCIPeventhdlrExit(), SCIPheurExit(), SCIPnodeselExit(), SCIPpresolExit(), SCIPpricerExit(), SCIPpropExit(), SCIPrelaxExit(), SCIPsepaExit(), and SCIPsetSortPricers().

Referenced by freeTransform().

SCIP_RETCODE SCIPsetInitprePlugins ( SCIP_SET set,
BMS_BLKMEM blkmem,
SCIP_STAT stat 
)

calls initpre methods of all plugins

Parameters
setglobal SCIP settings
blkmemblock memory
statdynamic problem statistics

Definition at line 3903 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPconshdlrInitpre(), SCIPpresolInitpre(), and SCIPpropInitpre().

Referenced by initPresolve().

SCIP_RETCODE SCIPsetExitprePlugins ( SCIP_SET set,
BMS_BLKMEM blkmem,
SCIP_STAT stat 
)

calls exitpre methods of all plugins

Parameters
setglobal SCIP settings
blkmemblock memory
statdynamic problem statistics

Definition at line 3935 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPconshdlrExitpre(), SCIPpresolExitpre(), and SCIPpropExitpre().

Referenced by exitPresolve().

SCIP_RETCODE SCIPsetInitsolPlugins ( SCIP_SET set,
BMS_BLKMEM blkmem,
SCIP_STAT stat 
)

calls initsol methods of all plugins

Parameters
setglobal SCIP settings
blkmemblock memory
statdynamic problem statistics

Definition at line 3967 of file set.c.

References NULL, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIPbranchruleInitsol(), SCIPconflicthdlrInitsol(), SCIPconshdlrInitsol(), SCIPdispInitsol(), SCIPeventhdlrInitsol(), SCIPheurInitsol(), SCIPnodeselInitsol(), SCIPpricerInitsol(), SCIPpropInitsol(), SCIPrelaxInitsol(), SCIPsepaInitsol(), and SCIPsetSortPricers().

Referenced by initSolve().

SCIP_RETCODE SCIPsetExitsolPlugins ( SCIP_SET set,
BMS_BLKMEM blkmem,
SCIP_STAT stat,
SCIP_Bool  restart 
)

calls exitsol methods of all plugins

Parameters
setglobal SCIP settings
blkmemblock memory
statdynamic problem statistics
restartwas this exit solve call triggered by a restart?

Definition at line 4051 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleExitsol(), SCIPconflicthdlrExitsol(), SCIPconshdlrExitsol(), SCIPdispExitsol(), SCIPeventhdlrExitsol(), SCIPheurExitsol(), SCIPnodeselExitsol(), SCIPpricerExitsol(), SCIPpropExitsol(), SCIPrelaxExitsol(), SCIPsepaExitsol(), and SCIPsetSortPricers().

Referenced by freeSolve().

SCIP_Longint SCIPsetGetMemExternEstim ( SCIP_SET set)

returns the estimated number of bytes used by external software, e.g., the LP solver

returns the estimated number of bytes used by extern software, e.g., the LP solver

Parameters
setglobal SCIP settings

Definition at line 4133 of file set.c.

Referenced by SCIPgetMemExternEstim().

int SCIPsetCalcMemGrowSize ( SCIP_SET set,
int  num 
)

calculate memory size for dynamically allocated arrays

Parameters
setglobal SCIP settings
numminimum number of entries to store

Definition at line 4141 of file set.c.

References calcGrowSize().

Referenced by cliqueEnsureSize(), cliquelistEnsureSize(), cliquetableEnsureSize(), colEnsureSize(), conflictEnsureConflictsetsMem(), conflictEnsureTmpbdchginfosMem(), conflictsetEnsureBdchginfosMem(), conshdlrEnsureCheckconssMem(), conshdlrEnsureConssMem(), conshdlrEnsureEnfoconssMem(), conshdlrEnsureInitconssMem(), conshdlrEnsurePropconssMem(), conshdlrEnsureSepaconssMem(), conshdlrEnsureUpdateconssMem(), conssetchgEnsureAddedconssSize(), conssetchgEnsureDisabledconssSize(), cutpoolEnsureCutsMem(), domchgEnsureBoundchgsSize(), domchgEnsureHolechgsSize(), ensureCandsSize(), ensureChgcolsSize(), ensureChgrowsSize(), ensureColsSize(), ensureExistingsolsSize(), ensureExterncandsSize(), ensureLazycolsSize(), ensureLpcandsSize(), ensureLpicolsSize(), ensureLpirowsSize(), ensurePropagationStorage(), ensurePseudocandsSize(), ensureRowsSize(), ensureSidechgsSize(), ensureSolsSize(), ensureSubdialogMem(), eventfilterEnsureMem(), eventqueueEnsureEventsMem(), implicsEnsureSize(), nlpCalcFracVars(), nlpEnsureNlRowsSolverSize(), nlpEnsureVarsSolverSize(), pricestoreEnsureBdviolvarsMem(), pricestoreEnsureVarsMem(), probEnsureConssMem(), probEnsureDeletedvarsMem(), probEnsureFixedvarsMem(), probEnsureVarsMem(), SCIPbufferAllocMem(), SCIPbufferReallocMem(), SCIPcalcMemGrowSize(), SCIPensureBlockMemoryArray_call(), SCIPnlpEnsureNlRowsSize(), SCIPnlpEnsureVarsSize(), SCIPnlrowEnsureLinearSize(), SCIPnlrowEnsureQuadElementsSize(), SCIPnlrowEnsureQuadVarsSize(), SCIProwEnsureSize(), SCIPsetIncludeBranchrule(), SCIPsetIncludeConflicthdlr(), SCIPsetIncludeConshdlr(), SCIPsetIncludeDialog(), SCIPsetIncludeDisp(), SCIPsetIncludeEventhdlr(), SCIPsetIncludeExternalCode(), SCIPsetIncludeHeur(), SCIPsetIncludeNlpi(), SCIPsetIncludeNodesel(), SCIPsetIncludePresol(), SCIPsetIncludePricer(), SCIPsetIncludeProp(), SCIPsetIncludeReader(), SCIPsetIncludeRelax(), SCIPsetIncludeSepa(), SCIPvaluehistoryFind(), sepastoreEnsureCutsMem(), treeEnsureChildrenMem(), treeEnsurePendingbdchgsMem(), varEnsureLbchginfosSize(), varEnsureParentvarsSize(), varEnsureUbchginfosSize(), and vboundsEnsureSize().

int SCIPsetCalcTreeGrowSize ( SCIP_SET set,
int  num 
)

calculate memory size for tree array

Parameters
setglobal SCIP settings
numminimum number of entries to store

Definition at line 4150 of file set.c.

References calcGrowSize().

Referenced by nodepqResize().

int SCIPsetCalcPathGrowSize ( SCIP_SET set,
int  num 
)

calculate memory size for path array

Parameters
setglobal SCIP settings
numminimum number of entries to store

Definition at line 4159 of file set.c.

References calcGrowSize().

Referenced by treeEnsurePathMem().

SCIP_RETCODE SCIPsetSetVerbLevel ( SCIP_SET set,
SCIP_VERBLEVEL  verblevel 
)

sets verbosity level for message output

Parameters
setglobal SCIP settings
verblevelverbosity level for message output

Definition at line 4168 of file set.c.

References NULL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_VERBLEVEL_FULL, and SCIPerrorMessage.

SCIP_RETCODE SCIPsetSetFeastol ( SCIP_SET set,
SCIP_Real  feastol 
)

sets feasibility tolerance

Parameters
setglobal SCIP settings
feastolnew feasibility tolerance

Definition at line 4187 of file set.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPchgLpfeastol(), SCIPdebugMessage, SCIPsetFeastol(), SCIPsetLpfeastol(), and TRUE.

Referenced by SCIPchgFeastol().

SCIP_RETCODE SCIPsetSetLpfeastol ( SCIP_SET set,
SCIP_Real  lpfeastol,
SCIP_Bool  printnewvalue 
)

sets primal feasibility tolerance of LP solver

Parameters
setglobal SCIP settings
lpfeastolnew primal feasibility tolerance of LP solver
printnewvalueshould "numerics/lpfeastol = ..." be printed?

Definition at line 4209 of file set.c.

References NULL, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIP_VERBLEVEL_HIGH, SCIPerrorMessage, SCIPsetFeastol(), SCIPsetLpfeastol(), SCIPverbMessage(), and TRUE.

Referenced by SCIPchgLpfeastol().

SCIP_RETCODE SCIPsetSetDualfeastol ( SCIP_SET set,
SCIP_Real  dualfeastol 
)

sets feasibility tolerance for reduced costs in LP solution

Parameters
setglobal SCIP settings
dualfeastolnew reduced costs feasibility tolerance

Definition at line 4247 of file set.c.

References NULL, and SCIP_OKAY.

Referenced by SCIPchgDualfeastol().

SCIP_RETCODE SCIPsetSetBarrierconvtol ( SCIP_SET set,
SCIP_Real  barrierconvtol 
)

sets LP convergence tolerance used in barrier algorithm

Parameters
setglobal SCIP settings
barrierconvtolnew convergence tolerance used in barrier algorithm

Definition at line 4260 of file set.c.

References NULL, and SCIP_OKAY.

Referenced by SCIPchgBarrierconvtol().

void SCIPsetSetLimitChanged ( SCIP_SET set)

marks that some limit parameter was changed

Parameters
setglobal SCIP settings

Definition at line 4273 of file set.c.

References TRUE.

Referenced by SCIPmarkLimitChanged().

int SCIPsetGetPriceMaxvars ( SCIP_SET set,
SCIP_Bool  root 
)

returns the maximal number of variables priced into the LP per round

Parameters
setglobal SCIP settings
rootare we at the root node?

Definition at line 4281 of file set.c.

References NULL.

Referenced by SCIPpriceLoop(), SCIPpricestoreAddProbVars(), and SCIPpricestoreAddVar().

int SCIPsetGetSepaMaxcuts ( SCIP_SET set,
SCIP_Bool  root 
)

returns the maximal number of cuts separated per round

Parameters
setglobal SCIP settings
rootare we at the root node?

Definition at line 4295 of file set.c.

References NULL.

Referenced by cutpoolSeparate(), priceAndCutLoop(), SCIPsepastoreApplyCuts(), separationRoundLP(), separationRoundSol(), and sepastoreAddCut().

SCIP_Bool SCIPsetIsUpdateUnreliable ( SCIP_SET set,
SCIP_Real  newvalue,
SCIP_Real  oldvalue 
)

Checks, if an iterativly updated value is reliable or should be recomputed from scratch. This is useful, if the value, e.g., the activity of a linear constraint or the pseudo objective value, gets a high absolute value during the optimization process which is later reduced significantly. In this case, the last digits were cancelled out when increasing the value and are random after decreasing it. We dot not consider the cancellations which can occur during increasing the absolute value because they just cannot be expressed using fixed precision floating point arithmetic, anymore. The idea to get more reliable values is to always store the last reliable value, where increasing the absolute of the value is viewed as preserving reliability. Then, after each update, the new absolute value can be compared against the last reliable one with this method, checking whether it was decreased by a factor of at least "lp/recompfac" and should be recomputed.

Checks, if an iteratively updated value is reliable or should be recomputed from scratch. This is useful, if the value, e.g., the activity of a linear constraint or the pseudo objective value, gets a high absolute value during the optimization process which is later reduced significantly. In this case, the last digits were canceled out when increasing the value and are random after decreasing it. We dot not consider the cancellations which can occur during increasing the absolute value because they just cannot be expressed using fixed precision floating point arithmetic, anymore. The idea to get more reliable values is to always store the last reliable value, where increasing the absolute of the value is viewed as preserving reliability. Then, after each update, the new absolute value can be compared against the last reliable one with this method, checking whether it was decreased by a factor of at least "lp/recompfac" and should be recomputed.

Parameters
setglobal SCIP settings
newvaluenew value after update
oldvalueold value, i.e., last reliable value

Definition at line 5270 of file set.c.

References MAX, NULL, and SCIP_Real.

Referenced by lpUpdateObjval(), and SCIPisUpdateUnreliable().

SCIP_Real SCIPsetInfinity ( SCIP_SET set)

returns value treated as infinity

Parameters
setglobal SCIP settings

Definition at line 4392 of file set.c.

References NULL.

Referenced by adjustedLb(), adjustedUb(), applyBounding(), cleanupMIRRow(), domMerge(), initSolve(), lpSolve(), lpUpdateVarColumnProved(), lpUpdateVarLooseProved(), lpUpdateVarProved(), nlrowCalcActivityBounds(), nodeCreate(), parseValue(), priceAndCutLoop(), primalSetCutoffbound(), primalSetUpperbound(), propAndSolve(), provedBound(), rowCalcActivityBounds(), rowCalcIdxsAndVals(), rowCalcNorms(), rowScale(), SCIPbranchExecExtern(), SCIPbranchGetBranchingPoint(), SCIPbranchGetScoreMultiple(), SCIPchgVarObjDive(), SCIPcolGetFeasibility(), SCIPcolGetStrongbranch(), SCIPcolGetStrongbranches(), SCIPgetGap(), SCIPgetTransGap(), SCIPinfinity(), SCIPlpCreate(), SCIPlpGetGlobalPseudoObjval(), SCIPlpGetLooseObjval(), SCIPlpGetModifiedProvedPseudoObjval(), SCIPlpGetModifiedPseudoObjval(), SCIPlpGetObjval(), SCIPlpGetPseudoObjval(), SCIPlpGetUnboundedSol(), SCIPlpSolveAndEval(), SCIPlpSumRows(), SCIPnlpChgVarObjDive(), SCIPnlrowGetSolActivity(), SCIPnodeCutoff(), SCIPnodepqGetLowerbound(), SCIPnodeUpdateLowerbound(), SCIPpricerExec(), SCIPprimalHeuristics(), SCIPprimalSetCutoffbound(), SCIPprimalSetUpperbound(), SCIPprimalUpdateObjlimit(), SCIPprimalUpdateObjoffset(), SCIPprobExternObjval(), SCIPprobGetObjlim(), SCIPprobInternObjval(), SCIProwCreate(), SCIProwGetLPActivity(), SCIProwGetNLPFeasibility(), SCIProwGetPseudoActivity(), SCIProwGetRelaxFeasibility(), SCIProwGetSolActivity(), SCIPsolGetVal(), SCIPsolRecomputeObj(), SCIPsolRetransform(), SCIPsolveCIP(), SCIPstatResetPrimalDualIntegral(), SCIPstoreSolutionGap(), SCIPtreeCalcNodeselPriority(), SCIPtreeCreateRoot(), SCIPtreeGetLowerboundNode(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarGetActiveRepresentatives(), SCIPvarGetLbLP(), SCIPvarGetMultaggrLbGlobal(), SCIPvarGetMultaggrLbLocal(), SCIPvarGetMultaggrUbGlobal(), SCIPvarGetMultaggrUbLocal(), SCIPvarGetProbvarSum(), SCIPvarGetRelaxSol(), SCIPvarGetUbLP(), sepastoreAddCut(), solveNode(), solveNodeLP(), solveNodeRelax(), tryAggregateIntVars(), varCreate(), varParse(), and varUpdateAggregationBounds().

SCIP_Real SCIPsetGetHugeValue ( SCIP_SET set)

returns the minimum value that is regarded as huge and should be handled separately (e.g., in activity computation)

Parameters
setglobal SCIP settings

Definition at line 4404 of file set.c.

References NULL.

Referenced by SCIPgetHugeValue().

SCIP_Real SCIPsetSumepsilon ( SCIP_SET set)

returns value treated as zero for sums of floating point values

Parameters
setglobal SCIP settings

Definition at line 4424 of file set.c.

References NULL.

Referenced by SCIPbranchGetScore(), SCIPconflictAnalyzePseudo(), SCIProwGetLPEfficacy(), SCIProwGetNLPEfficacy(), SCIProwGetRelaxEfficacy(), SCIProwGetSolEfficacy(), SCIPsumepsilon(), and undoBdchgsDualsol().

SCIP_Real SCIPsetFeastol ( SCIP_SET set)

returns feasibility tolerance for constraints

Parameters
setglobal SCIP settings

Definition at line 4434 of file set.c.

References NULL.

Referenced by SCIPfeastol(), SCIPsetCutoffbounddelta(), SCIPsetSetFeastol(), and SCIPsetSetLpfeastol().

SCIP_Real SCIPsetLpfeastol ( SCIP_SET set)

returns primal feasibility tolerance of LP solver given as minimum of lpfeastol option and tolerance specified by separation storage

returns primal feasibility tolerance of LP solver

Parameters
setglobal SCIP settings

Definition at line 4454 of file set.c.

References MIN, NULL, and SCIP_INVALID.

Referenced by lpSolveStable(), SCIPchgLpfeastol(), SCIPlpComputeRelIntPoint(), SCIPlpCreate(), SCIPlpfeastol(), SCIPsetSetFeastol(), and SCIPsetSetLpfeastol().

SCIP_Real SCIPsetSepaprimfeastol ( SCIP_SET set)

returns primal feasibility tolerance as specified by separation storage, or SCIP_INVALID

Parameters
setglobal SCIP settings

Definition at line 4467 of file set.c.

SCIP_Real SCIPsetDualfeastol ( SCIP_SET set)

returns feasibility tolerance for reduced costs

Parameters
setglobal SCIP settings

Definition at line 4444 of file set.c.

References NULL.

Referenced by lpSolveStable(), SCIPchgDualfeastol(), SCIPdualfeastol(), SCIPlpComputeRelIntPoint(), and SCIPlpCreate().

SCIP_Real SCIPsetBarrierconvtol ( SCIP_SET set)

returns convergence tolerance used in barrier algorithm

Parameters
setglobal SCIP settings

Definition at line 4475 of file set.c.

References NULL.

Referenced by lpSolveStable(), SCIPbarrierconvtol(), SCIPchgBarrierconvtol(), and SCIPlpCreate().

SCIP_Real SCIPsetPseudocosteps ( SCIP_SET set)

returns minimal variable distance value to use for pseudo cost updates

Parameters
setglobal SCIP settings

Definition at line 4485 of file set.c.

References NULL.

Referenced by SCIPhistoryUpdatePseudocost().

SCIP_Real SCIPsetPseudocostdelta ( SCIP_SET set)

returns minimal minimal objective distance value to use for pseudo cost updates

Parameters
setglobal SCIP settings

Definition at line 4495 of file set.c.

References NULL.

Referenced by SCIPhistoryUpdatePseudocost().

SCIP_Real SCIPsetCutoffbounddelta ( SCIP_SET set)

return the delta to use for computing the cutoff bound for integral objectives

Parameters
setglobal SCIP settings

Definition at line 4505 of file set.c.

References MIN, NULL, SCIP_Real, and SCIPsetFeastol().

Referenced by initSolve(), primalSetUpperbound(), and SCIPcutoffbounddelta().

SCIP_Real SCIPsetRecompfac ( SCIP_SET set)

returns minimal decrease factor that causes the recomputation of a value (e.g., pseudo objective) instead of an update

Parameters
setglobal SCIP settings

Definition at line 4520 of file set.c.

References NULL.

SCIP_Bool SCIPsetIsEQ ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if values are in range of epsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 4552 of file set.c.

References EPSEQ, and NULL.

Referenced by colChgCoefPos(), conflictAnalyzeLP(), detectImpliedBounds(), domMerge(), getObjvalDeltaObj(), isPseudocostUpdateValid(), nlpFlushNlRowAdditions(), nlrowChgLinearCoefPos(), nlrowChgQuadElemPos(), primalSearchSolPos(), rowChgCoefPos(), rowScale(), SCIPbranchcandAddExternCand(), SCIPbranchExecExtern(), SCIPbranchExecLP(), SCIPbranchExecPseudo(), SCIPbranchGetBranchingPoint(), SCIPbranchVar(), SCIPbranchVarVal(), SCIPbranchVarValNary(), SCIPcolChgCoef(), SCIPcolChgLb(), SCIPcolChgObj(), SCIPcolChgUb(), SCIPcolDelCoef(), SCIPcolGetFeasibility(), SCIPcolIncCoef(), SCIPdomchgAddBoundchg(), SCIPeventqueueAdd(), SCIPfixVarProbing(), SCIPgetGap(), SCIPgetTransGap(), SCIPinferBinvarCons(), SCIPinferBinvarProp(), SCIPisEQ(), SCIPlpComputeRelIntPoint(), SCIPlpEndDive(), SCIPlpUpdateVarLb(), SCIPlpUpdateVarLbGlobal(), SCIPlpUpdateVarObj(), SCIPlpUpdateVarUb(), SCIPlpUpdateVarUbGlobal(), SCIPlpWriteMip(), SCIPnlrowChgConstant(), SCIPnlrowChgLhs(), SCIPnlrowChgRhs(), SCIPnodeAddHoleinfer(), SCIPnodeUpdateLowerbound(), SCIPprimalTransformSol(), SCIPprimalUpperboundIsSol(), SCIPprobScaleObj(), SCIProwChgCoef(), SCIProwChgConstant(), SCIProwChgLhs(), SCIProwChgRhs(), SCIProwDelCoef(), SCIProwIncCoef(), SCIPsolsAreEqual(), SCIPsolSetVal(), SCIPstatUpdatePrimalDualIntegral(), SCIPstoreSolutionGap(), SCIPtightenVarLbGlobal(), SCIPtightenVarUbGlobal(), SCIPtreeBranchVar(), SCIPvarAddHoleGlobal(), SCIPvarAddHoleLocal(), SCIPvarAddHoleOriginal(), SCIPvarAddImplic(), SCIPvarAddObj(), SCIPvarAddToRow(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarAggregate(), SCIPvarChgBranchFactor(), SCIPvarChgLbGlobal(), SCIPvarChgLbLocal(), SCIPvarChgLbOriginal(), SCIPvarChgObj(), SCIPvarChgUbGlobal(), SCIPvarChgUbLocal(), SCIPvarChgUbOriginal(), SCIPvarFix(), SCIPvarGetActiveRepresentatives(), SCIPvarMultiaggregate(), SCIPvarSetNLPSol(), SCIPvarSetRelaxSol(), SCIPvarTransform(), treeAddPendingBdchg(), undoBdchgsProof(), varAddImplic(), varAddLbchginfo(), varAddUbchginfo(), varCreate(), varEventGlbChanged(), varEventGubChanged(), varEventLbChanged(), varEventObjChanged(), varEventUbChanged(), varProcessAddHoleGlobal(), varProcessAddHoleLocal(), varProcessChgBranchFactor(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), varProcessChgUbLocal(), and varUpdateAggregationBounds().

SCIP_Bool SCIPsetIsLE ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if val1 is not (more than epsilon) greater than val2

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 4576 of file set.c.

References EPSLE, and NULL.

Referenced by checkRedundancy(), computeLPBounds(), conflictAddBound(), conflictAddConflictBound(), conflictQueueBound(), detectImpliedBounds(), domMerge(), findBestUb(), lpSolve(), priceAndCutLoop(), primalExistsOrigSol(), primalExistsSol(), primalSetCutoffbound(), rowAddNorms(), rowCalcIdxsAndVals(), rowDelNorms(), SCIPboundchgApply(), SCIPbranchcandGetPseudoCands(), SCIPbranchGetBranchingPoint(), SCIPbranchruleExecExternSol(), SCIPbranchruleExecLPSol(), SCIPbranchruleExecPseudoSol(), SCIPconflictAddRelaxedBound(), SCIPinferBinvarCons(), SCIPinferBinvarProp(), SCIPinferVarLbCons(), SCIPinferVarLbProp(), SCIPinferVarUbCons(), SCIPinferVarUbProp(), SCIPisLE(), SCIPnodeAddBoundinfer(), SCIPnodeAddHoleinfer(), SCIPpriceLoop(), SCIPprimalAddOrigObjoffset(), SCIPprimalAddSol(), SCIPsepaExecLP(), SCIPsetIsFeasFracIntegral(), SCIPsetIsFracIntegral(), SCIPsetIsLbBetter(), SCIPsetIsUbBetter(), SCIPsolCheck(), SCIPsolveIsStopped(), SCIPstatUpdatePrimalDualIntegral(), SCIPtightenVarLb(), SCIPtightenVarLbGlobal(), SCIPtightenVarUb(), SCIPtightenVarUbGlobal(), SCIPtreeBranchVarHole(), SCIPtreeGetLowerboundNode(), SCIPvarAddHoleGlobal(), SCIPvarAddHoleLocal(), SCIPvarAddHoleOriginal(), SCIPvarChgLbOriginal(), SCIPvarGetConflictingBdchgDepth(), sepastoreIsCutRedundant(), sepastoreIsCutRedundantOrInfeasible(), substituteMIRRow(), substituteStrongCGRow(), transformStrongCGRow(), varAddVbound(), varProcessAddHoleGlobal(), varProcessAddHoleLocal(), varProcessChgLbGlobal(), and varProcessChgLbLocal().

SCIP_Bool SCIPsetIsInfinity ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is (positive) infinite

Parameters
setglobal SCIP settings
valvalue to be compared against infinity

Definition at line 4530 of file set.c.

References NULL.

Referenced by addSideRemoval(), adjustedLb(), adjustedUb(), applyBounding(), checkLazyBounds(), checkLazyColArray(), cleanupMIRRow(), computeLPBounds(), computeScore(), displayRelevantStats(), getDualbound(), getObjvalDeltaLb(), getObjvalDeltaObj(), getObjvalDeltaUb(), initSolve(), isPseudocostUpdateValid(), lpFlushAddRows(), lpFlushChgRows(), lpLexDualSimplex(), lpSetUobjlim(), lpSolve(), lpSolveStable(), lpUpdateVarColumn(), lpUpdateVarColumnProved(), lpUpdateVarLoose(), lpUpdateVarLooseProved(), lpUpdateVarProved(), nlpFlushNlRowAdditions(), nlpUpdateVarBounds(), nlrowConstantChanged(), nlrowSideChanged(), nodeAssignParent(), primalSetUpperbound(), printBounds(), printRootStatistics(), printSolutionStatistics(), recomputeGlbPseudoObjectiveValue(), recomputeLooseObjectiveValue(), recomputePseudoObjectiveValue(), roundMIRRow(), roundStrongCGRow(), rowCalcActivityBounds(), rowScale(), SCIPbranchExecExtern(), SCIPbranchGetBranchingPoint(), SCIPconflictAnalyzePseudo(), SCIPgetDualboundRoot(), SCIPgetGap(), SCIPgetLowerboundRoot(), SCIPgetTransGap(), SCIPhistoryUpdatePseudocost(), SCIPisInfinity(), SCIPlpAddCol(), SCIPlpComputeRelIntPoint(), SCIPlpGetGlobalPseudoObjval(), SCIPlpGetModifiedProvedPseudoObjval(), SCIPlpGetModifiedPseudoObjval(), SCIPlpGetObjval(), SCIPlpGetPrimalRay(), SCIPlpGetPseudoObjval(), SCIPlpGetSol(), SCIPlpGetUnboundedSol(), SCIPlpMarkFlushed(), SCIPlpSetCutoffbound(), SCIPlpSumRows(), SCIPlpWriteMip(), SCIPnlrowCreate(), SCIPnlrowIsRedundant(), SCIPnodeAddBoundinfer(), SCIPprimalTransformSol(), SCIPprintReal(), SCIPprobExternObjval(), SCIPprobInternObjval(), SCIProwAddConstant(), SCIProwCalcIntegralScalar(), SCIProwChgConstant(), SCIProwGetSolActivity(), SCIProwIsRedundant(), SCIPsepastoreAddCut(), SCIPsepastoreApplyCuts(), SCIPsolAdjustImplicitSolVals(), SCIPsolCheck(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolIncVal(), SCIPsolLinkLPSol(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPsolRecomputeObj(), SCIPsolRetransform(), SCIPsolSetVal(), SCIPstatUpdatePrimalDualIntegral(), SCIPstoreSolutionGap(), SCIPtreeBranchVar(), SCIPtreeBranchVarNary(), SCIPupdateVarPseudocost(), SCIPvarAddToRow(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarChgLbDive(), SCIPvarChgLbGlobal(), SCIPvarChgLbLocal(), SCIPvarChgUbDive(), SCIPvarChgUbGlobal(), SCIPvarChgUbLocal(), SCIPvarFix(), SCIPvarGetActiveRepresentatives(), SCIPvarGetLbLP(), SCIPvarGetMultaggrLbGlobal(), SCIPvarGetMultaggrLbLocal(), SCIPvarGetMultaggrUbGlobal(), SCIPvarGetMultaggrUbLocal(), SCIPvarGetProbvarSum(), SCIPvarGetRelaxSol(), SCIPvarGetUbLP(), SCIPvarNegate(), SCIPvarPrint(), SCIPvarTryAggregateVars(), sepastoreAddCut(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), solIncArrayVal(), solOfInterest(), solSetArrayVal(), substituteMIRRow(), substituteStrongCGRow(), sumMIRRow(), sumStrongCGRow(), transformMIRRow(), transformStrongCGRow(), undoBdchgsDualfarkas(), undoBdchgsDualsol(), updateLazyBounds(), updatePseudocost(), varParse(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), varProcessChgUbLocal(), and varUpdateAggregationBounds().

SCIP_Bool SCIPsetIsHugeValue ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is huge and should be handled separately (e.g., in activity computation)

Parameters
setglobal SCIP settings
valvalue to be checked whether it is huge

Definition at line 4541 of file set.c.

References NULL.

Referenced by SCIPisHugeValue().

SCIP_Bool SCIPsetIsZero ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is in range epsilon of 0.0

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4612 of file set.c.

References EPSZ, and NULL.

Referenced by addBoundViolated(), addCand(), adjustedLb(), adjustedUb(), colAddCoef(), colChgCoefPos(), colLink(), detectImpliedBounds(), incVSIDS(), initSolve(), isNewValueUnreliable(), lpCleanupCols(), lpRemoveObsoleteCols(), nlpFlushObjective(), nlpFlushVarAdditions(), nlrowAddLinearCoef(), nlrowAddQuadElement(), nlrowAddToLinearCoef(), nlrowChgLinearCoefPos(), nlrowChgQuadElemPos(), roundMIRRow(), roundStrongCGRow(), rowAddCoef(), rowAddNorms(), rowCalcIdxsAndVals(), rowCalcNorms(), rowChgCoefPos(), rowDelNorms(), rowLink(), rowMerge(), rowScale(), SCIPaggregateVars(), SCIPcolChgLb(), SCIPcolChgObj(), SCIPcolChgUb(), SCIPcolCreate(), SCIPcolIncCoef(), SCIPgetGap(), SCIPgetTransGap(), SCIPisZero(), SCIPlpAddRow(), SCIPlpCalcMIR(), SCIPlpCalcStrongCG(), SCIPlpGetModifiedProvedPseudoObjval(), SCIPlpGetModifiedPseudoObjval(), SCIPlpGetUnboundedSol(), SCIPlpSumRows(), SCIPnlrowChgLinearCoef(), SCIPprobCheckObjIntegral(), SCIPprobGetNObjVars(), SCIPprobPrintPseudoSol(), SCIPprobScaleObj(), SCIPprobUpdateNObjVars(), SCIProwAddConstant(), SCIProwCalcIntegralScalar(), SCIProwCreate(), SCIProwIncCoef(), SCIPsolIncVal(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPsolRecomputeObj(), SCIPsolRetransform(), SCIPsolSetVal(), SCIPstatUpdatePrimalDualIntegral(), SCIPstoreSolutionGap(), SCIPtreeBranchVarNary(), SCIPvarAddImplic(), SCIPvarAddObj(), SCIPvarAddToRow(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarAggregate(), SCIPvarChgLbOriginal(), SCIPvarChgObjDive(), SCIPvarChgUbOriginal(), SCIPvarFix(), SCIPvarGetActiveRepresentatives(), SCIPvarIncVSIDS(), SCIPvarMultiaggregate(), SCIPvarPrint(), SCIPvarSetNLPSol(), SCIPvarSetRelaxSol(), SCIPvarTryAggregateVars(), SCIPvarUpdatePseudocost(), SCIPvboundsAdd(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), substituteMIRRow(), substituteStrongCGRow(), sumMIRRow(), sumStrongCGRow(), transformMIRRow(), transformStrongCGRow(), tryAggregateIntVars(), undoBdchgsDualfarkas(), undoBdchgsDualsol(), undoBdchgsProof(), varAddTransitiveImplic(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbLocal(), varRemoveImplicsVbs(), and varUpdateAggregationBounds().

SCIP_Bool SCIPsetIsScalingIntegral ( SCIP_SET set,
SCIP_Real  val,
SCIP_Real  scalar 
)

checks whether the product val * scalar is integral in epsilon scaled by scalar

Parameters
setglobal SCIP settings
valunscaled value to check for scaled integrality
scalarvalue to scale val with for checking for integrality

Definition at line 4656 of file set.c.

References EPSISINT, MAX, NULL, REALABS, and SCIP_Real.

Referenced by SCIPisScalingIntegral().

SCIP_Bool SCIPsetIsFracIntegral ( SCIP_SET set,
SCIP_Real  val 
)

checks, if given fractional part is smaller than epsilon

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4674 of file set.c.

References NULL, SCIPsetIsGE(), and SCIPsetIsLE().

Referenced by SCIPisFracIntegral().

SCIP_Real SCIPsetFloor ( SCIP_SET set,
SCIP_Real  val 
)

rounds value + feasibility tolerance down to the next integer in epsilon tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4687 of file set.c.

References EPSFLOOR, and NULL.

Referenced by roundMIRRow(), roundStrongCGRow(), SCIPbranchcandAddExternCand(), SCIPbranchGetBranchingPoint(), SCIPfloor(), SCIPsolAdjustImplicitSolVals(), SCIPtreeBranchVarNary(), substituteMIRRow(), and substituteStrongCGRow().

SCIP_Real SCIPsetCeil ( SCIP_SET set,
SCIP_Real  val 
)

rounds value - feasibility tolerance up to the next integer in epsilon tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4698 of file set.c.

References EPSCEIL, and NULL.

Referenced by paramsetSetHeuristicsAggressive(), roundStrongCGRow(), SCIPbranchcandAddExternCand(), SCIPceil(), SCIPlpCalcStrongCG(), SCIPsolAdjustImplicitSolVals(), SCIPtreeBranchVarNary(), and substituteStrongCGRow().

SCIP_Real SCIPsetRound ( SCIP_SET set,
SCIP_Real  val 
)

rounds value to the nearest integer in epsilon tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4709 of file set.c.

References EPSROUND, and NULL.

Referenced by colAddCoef(), colChgCoefPos(), rowAddCoef(), rowChgCoefPos(), rowMerge(), SCIPround(), SCIProwCreate(), and SCIPsolRound().

SCIP_Real SCIPsetFrac ( SCIP_SET set,
SCIP_Real  val 
)

returns fractional part of value, i.e. x - floor(x) in epsilon tolerance

Parameters
setglobal SCIP settings
valvalue to return fractional part for

Definition at line 4720 of file set.c.

References EPSFRAC, and NULL.

Referenced by SCIPfrac(), and transformMIRRow().

SCIP_Bool SCIPsetIsSumEQ ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if values are in range of sumepsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 4731 of file set.c.

References EPSEQ, and NULL.

Referenced by lpFlushChgRows(), SCIPisSumEQ(), and SCIPlpMarkFlushed().

SCIP_Bool SCIPsetIsSumLT ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if val1 is (more than sumepsilon) lower than val2

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 4743 of file set.c.

References EPSLT, and NULL.

Referenced by SCIPisSumLT().

SCIP_Bool SCIPsetIsSumLE ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if val1 is not (more than sumepsilon) greater than val2

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 4755 of file set.c.

References EPSLE, and NULL.

Referenced by roundMIRRow(), roundStrongCGRow(), SCIPisSumLE(), and SCIProwGetObjParallelism().

SCIP_Bool SCIPsetIsSumGT ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if val1 is (more than sumepsilon) greater than val2

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 4767 of file set.c.

References EPSGT, and NULL.

Referenced by SCIPisSumGT().

SCIP_Bool SCIPsetIsSumGE ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if val1 is not (more than sumepsilon) lower than val2

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 4779 of file set.c.

References EPSGE, and NULL.

Referenced by SCIPisSumGE(), and SCIProwGetObjParallelism().

SCIP_Bool SCIPsetIsSumZero ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is in range sumepsilon of 0.0

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4791 of file set.c.

References EPSZ, and NULL.

Referenced by cleanupMIRRow(), SCIPisSumZero(), sumMIRRow(), and sumStrongCGRow().

SCIP_Bool SCIPsetIsSumPositive ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is greater than sumepsilon

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4802 of file set.c.

References EPSP, and NULL.

Referenced by SCIPisSumPositive().

SCIP_Bool SCIPsetIsSumNegative ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is lower than -sumepsilon

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4813 of file set.c.

References EPSN, and NULL.

Referenced by SCIPisSumNegative().

SCIP_Real SCIPsetSumFloor ( SCIP_SET set,
SCIP_Real  val 
)

rounds value + sumepsilon tolerance down to the next integer

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4824 of file set.c.

References EPSFLOOR, and NULL.

Referenced by rowScale(), SCIPlpCalcMIR(), and SCIPlpCalcStrongCG().

SCIP_Real SCIPsetSumCeil ( SCIP_SET set,
SCIP_Real  val 
)

rounds value - sumepsilon tolerance up to the next integer

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4835 of file set.c.

References EPSCEIL, and NULL.

Referenced by rowScale().

SCIP_Real SCIPsetSumRound ( SCIP_SET set,
SCIP_Real  val 
)

rounds value to the nearest integer in sumepsilon tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4846 of file set.c.

References EPSROUND, and NULL.

SCIP_Real SCIPsetSumFrac ( SCIP_SET set,
SCIP_Real  val 
)

returns fractional part of value, i.e. x - floor(x) in sumepsilon tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4857 of file set.c.

References EPSFRAC, and NULL.

Referenced by transformMIRRow().

SCIP_Bool SCIPsetIsFeasZero ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is in range feasibility tolerance of 0.0

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4948 of file set.c.

References EPSZ, and NULL.

Referenced by checkImplics(), focusnodeCleanupVars(), lpLexDualSimplex(), SCIPbranchGetBranchingPoint(), SCIPisFeasZero(), SCIPlpComputeRelIntPoint(), SCIPsolAdjustImplicitSolVals(), SCIPvarGetImplRedcost(), SCIPvarUpdateBestRootSol(), sepastoreApplyBdchg(), and sepastoreIsBdchgApplicable().

SCIP_Bool SCIPsetIsFeasPositive ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is greater than feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4959 of file set.c.

References EPSP, and NULL.

Referenced by focusnodeCleanupVars(), lpLexDualSimplex(), provedBound(), SCIPbranchGetBranchingPoint(), SCIPisFeasPositive(), SCIPlpGetSol(), SCIPlpGetUnboundedSol(), SCIPprobUpdateBestRootSol(), SCIPsepastoreApplyCuts(), SCIPsolAdjustImplicitSolVals(), SCIPvarGetRedcost(), and undoBdchgsDualsol().

SCIP_Bool SCIPsetIsFeasNegative ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is lower than -feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4970 of file set.c.

References EPSN, and NULL.

Referenced by focusnodeCleanupVars(), nlpAddNlRows(), nlpRowChanged(), provedBound(), SCIPbranchGetBranchingPoint(), SCIPisFeasNegative(), SCIPlpGetSol(), SCIPlpGetUnboundedSol(), SCIPlpSolveAndEval(), SCIPprobUpdateBestRootSol(), SCIPsolAdjustImplicitSolVals(), SCIPvarGetRedcost(), and undoBdchgsDualsol().

SCIP_Bool SCIPsetIsFeasFracIntegral ( SCIP_SET set,
SCIP_Real  val 
)

checks, if given fractional part is smaller than feastol

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 4992 of file set.c.

References NULL, SCIPsetIsGE(), and SCIPsetIsLE().

Referenced by branchcandCalcLPCands(), nlpCalcFracVars(), and SCIPisFeasFracIntegral().

SCIP_Real SCIPsetFeasFloor ( SCIP_SET set,
SCIP_Real  val 
)

rounds value + feasibility tolerance down to the next integer in feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5005 of file set.c.

References EPSFLOOR, and NULL.

Referenced by addRowToAggregation(), adjustedUb(), analyzeStrongbranch(), SCIPconflictAnalyzeStrongbranch(), SCIPfeasFloor(), SCIPgetVarPseudocostScore(), SCIPgetVarPseudocostScoreCurrentRun(), SCIPprobScaleObj(), SCIPsolRound(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeCalcChildEstimate(), substituteMIRRow(), substituteStrongCGRow(), and tryAggregateIntVars().

SCIP_Real SCIPsetFeasCeil ( SCIP_SET set,
SCIP_Real  val 
)

rounds value - feasibility tolerance up to the next integer in feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5016 of file set.c.

References EPSCEIL, and NULL.

Referenced by addRowToAggregation(), adjustedLb(), analyzeStrongbranch(), primalSetUpperbound(), SCIPconflictAnalyzeStrongbranch(), SCIPfeasCeil(), SCIPgetVarPseudocostScore(), SCIPgetVarPseudocostScoreCurrentRun(), SCIPsolRound(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeCalcChildEstimate(), substituteMIRRow(), and substituteStrongCGRow().

SCIP_Real SCIPsetFeasRound ( SCIP_SET set,
SCIP_Real  val 
)

rounds value to the nearest integer in feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5027 of file set.c.

References EPSROUND, and NULL.

Referenced by SCIPfeasRound().

SCIP_Real SCIPsetFeasFrac ( SCIP_SET set,
SCIP_Real  val 
)

returns fractional part of value, i.e. x - floor(x) in feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5038 of file set.c.

References EPSFRAC, and NULL.

Referenced by branchcandCalcLPCands(), nlpCalcFracVars(), and SCIPfeasFrac().

SCIP_Bool SCIPsetIsLbBetter ( SCIP_SET set,
SCIP_Real  newlb,
SCIP_Real  oldlb,
SCIP_Real  oldub 
)

checks, if the given new lower bound is tighter (w.r.t. bound strengthening epsilon) than the old one

Parameters
setglobal SCIP settings
newlbnew lower bound
oldlbold lower bound
oldubold upper bound

Definition at line 5049 of file set.c.

References EPSGT, MAX, MIN, NULL, REALABS, SCIP_Real, and SCIPsetIsLE().

Referenced by SCIPinferVarLbCons(), SCIPinferVarLbProp(), SCIPisLbBetter(), SCIPtightenVarLb(), and SCIPtightenVarLbGlobal().

SCIP_Bool SCIPsetIsUbBetter ( SCIP_SET set,
SCIP_Real  newub,
SCIP_Real  oldlb,
SCIP_Real  oldub 
)

checks, if the given new upper bound is tighter (w.r.t. bound strengthening epsilon) than the old one

Parameters
setglobal SCIP settings
newubnew upper bound
oldlbold lower bound
oldubold upper bound

Definition at line 5067 of file set.c.

References EPSLT, MAX, MIN, NULL, REALABS, SCIP_Real, and SCIPsetIsLE().

Referenced by SCIPinferVarUbCons(), SCIPinferVarUbProp(), SCIPisUbBetter(), SCIPtightenVarUb(), and SCIPtightenVarUbGlobal().

SCIP_Bool SCIPsetIsEfficacious ( SCIP_SET set,
SCIP_Bool  root,
SCIP_Real  efficacy 
)

checks, if the given cut's efficacy is larger than the minimal cut efficacy

Parameters
setglobal SCIP settings
rootshould the root's minimal cut efficacy be used?
efficacyefficacy of the cut

Definition at line 5085 of file set.c.

References EPSP, and NULL.

Referenced by SCIPisEfficacious(), SCIProwIsLPEfficacious(), SCIProwIsSolEfficacious(), and SCIPsepastoreRemoveInefficaciousCuts().

SCIP_Bool SCIPsetIsRelEQ ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of values is in range of epsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5100 of file set.c.

References EPSZ, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPbranchGetBranchingPoint(), SCIPisRelEQ(), SCIPtreeBranchVar(), SCIPtreeBranchVarNary(), and undoBdchgsDualfarkas().

SCIP_Bool SCIPsetIsRelLT ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of val1 and val2 is lower than epsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5116 of file set.c.

References EPSN, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPbranchGetBranchingPoint(), SCIPisRelLT(), and SCIPtreeBranchVarNary().

SCIP_Bool SCIPsetIsRelLE ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of val1 and val2 is not greater than epsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5132 of file set.c.

References EPSP, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPisRelLE(), and SCIPnlrowCreate().

SCIP_Bool SCIPsetIsRelGT ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of val1 and val2 is greater than epsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5148 of file set.c.

References EPSP, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPbranchGetBranchingPoint(), SCIPisRelGT(), and SCIPtreeBranchVarNary().

SCIP_Bool SCIPsetIsRelGE ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of val1 and val2 is not lower than -epsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5164 of file set.c.

References EPSN, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPisRelGE(), and SCIPnodeSetEstimate().

SCIP_Bool SCIPsetIsSumRelEQ ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of values is in range of sumepsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5180 of file set.c.

References EPSZ, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPisSumRelEQ().

SCIP_Bool SCIPsetIsSumRelLT ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of val1 and val2 is lower than sumepsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5196 of file set.c.

References EPSN, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPisSumRelLT().

SCIP_Bool SCIPsetIsSumRelLE ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of val1 and val2 is not greater than sumepsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5212 of file set.c.

References EPSP, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPisSumRelLE().

SCIP_Bool SCIPsetIsSumRelGT ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of val1 and val2 is greater than sumepsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5228 of file set.c.

References EPSP, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPisSumRelGT().

SCIP_Bool SCIPsetIsSumRelGE ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)

checks, if relative difference of val1 and val2 is not lower than -sumepsilon

Parameters
setglobal SCIP settings
val1first value to be compared
val2second value to be compared

Definition at line 5244 of file set.c.

References EPSN, NULL, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPisSumRelGE().