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)
 
void SCIPsetEnableOrDisablePluginClocks (SCIP_SET *set, SCIP_Bool enabled)
 
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 SCIPsetIsDualfeasEQ (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsDualfeasLT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsDualfeasLE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsDualfeasGT (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsDualfeasGE (SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)
 
SCIP_Bool SCIPsetIsDualfeasZero (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsDualfeasPositive (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsDualfeasNegative (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsDualfeasIntegral (SCIP_SET *set, SCIP_Real val)
 
SCIP_Bool SCIPsetIsDualfeasFracIntegral (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetDualfeasFloor (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetDualfeasCeil (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetDualfeasRound (SCIP_SET *set, SCIP_Real val)
 
SCIP_Real SCIPsetDualfeasFrac (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 1762 of file set.h.

Referenced by lpbdchgsCreate().

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

Definition at line 1763 of file set.h.

Referenced by SCIPallocBufferSize().

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

Definition at line 1764 of file set.h.

Referenced by SCIPduplicateBufferSize().

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

Definition at line 1766 of file set.h.

Referenced by SCIPreallocBufferSize().

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

Definition at line 1767 of file set.h.

Referenced by lpbdchgsFree().

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

Definition at line 1768 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 579 of file set.c.

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 783 of file set.c.

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 800 of file set.c.

Referenced by SCIPcreate().

SCIP_RETCODE SCIPsetFree ( SCIP_SET **  set,
BMS_BLKMEM blkmem 
)

frees global SCIP settings

Parameters
setpointer to SCIP settings
blkmemblock memory

Definition at line 1873 of file set.c.

Referenced by SCIPfree().

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 2017 of file set.c.

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

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

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 2039 of file set.c.

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

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

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 2063 of file set.c.

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

Referenced by SCIPaddLongintParam().

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 2087 of file set.c.

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

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

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 2111 of file set.c.

Referenced by SCIPaddCharParam().

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 2134 of file set.c.

Referenced by SCIPaddStringParam().

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 2156 of file set.c.

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

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 2167 of file set.c.

References NULL, SCIP_Set::paramset, SCIP_CALL, and SCIPparamsetGetReal().

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 2178 of file set.c.

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 2192 of file set.c.

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 2206 of file set.c.

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 2220 of file set.c.

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 2234 of file set.c.

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 2248 of file set.c.

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 2262 of file set.c.

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

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 2276 of file set.c.

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

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 2291 of file set.c.

References NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPparamSetInt(), 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 2313 of file set.c.

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

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 2328 of file set.c.

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

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 2343 of file set.c.

References NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPparamSetLongint(), 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 2366 of file set.c.

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

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 2381 of file set.c.

References NULL, SCIPparamSetReal(), and TRUE.

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 2395 of file set.c.

References SCIP_CALL.

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 2418 of file set.c.

References NULL, SCIPparamSetChar(), and TRUE.

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 2433 of file set.c.

References SCIP_CALL.

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 2456 of file set.c.

References NULL, SCIPparamSetString(), and TRUE.

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 2471 of file set.c.

References SCIP_CALL.

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 2494 of file set.c.

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

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 2509 of file set.c.

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

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 2532 of file set.c.

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 2547 of file set.c.

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 2561 of file set.c.

References SCIP_Set::paramset, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetEmphasis().

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 2577 of file set.c.

References SCIP_Set::paramset, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetToSubscipsOff().

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 2589 of file set.c.

References SCIP_Set::paramset, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetHeuristics().

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 2608 of file set.c.

References SCIP_Set::paramset, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetPresolving().

Referenced by SCIPsetEmphasis().

void SCIPsetEnableOrDisablePluginClocks ( SCIP_SET set,
SCIP_Bool  enabled 
)

enable or disable all plugin timers depending on the value of the flag enabled

Parameters
setSCIP settings
enabledshould plugin clocks be enabled?

Definition at line 518 of file set.c.

Referenced by SCIPenableOrDisableStatisticTiming().

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 2623 of file set.c.

References SCIP_Set::paramset, SCIP_CALL, SCIP_OKAY, and SCIPparamsetSetSeparating().

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 2640 of file set.c.

References NULL, SCIP_Set::paramset, and SCIPparamsetGetParams().

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 2658 of file set.c.

References BMSreallocMemoryArray, SCIP_Set::nreaders, NULL, SCIP_Set::readers, SCIP_Set::readerssize, SCIP_ALLOC, and SCIPsetCalcMemGrowSize().

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 2676 of file set.c.

Referenced by SCIPsetSeparating().

SCIP_PARAM** SCIPsetGetParams ( SCIP_SET set)

returns the array of all available SCIP parameters

Parameters
setglobal SCIP settings

Definition at line 2689 of file set.c.

References SCIP_Set::readers, and SCIPreaderGetName().

Referenced by SCIPgetParams().

int SCIPsetGetNParams ( SCIP_SET set)

returns the total number of all available SCIP parameters

Parameters
setglobal SCIP settings

Definition at line 2699 of file set.c.

References SCIP_Set::npricers, NULL, and SCIP_Set::pricerssize.

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 2709 of file set.c.

References BMSreallocMemoryArray, SCIP_Set::npricers, SCIP_Set::pricers, SCIP_Set::pricerssize, SCIP_ALLOC, 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 2731 of file set.c.

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 2751 of file set.c.

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 2774 of file set.c.

References BMSreallocMemoryArray, SCIP_Set::conshdlrs, SCIP_Set::conshdlrs_enfo, SCIP_Set::conshdlrs_include, SCIP_Set::conshdlrs_sepa, SCIP_Set::conshdlrssize, SCIP_Set::nconshdlrs, NULL, SCIP_ALLOC, SCIPconshdlrIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPfindPricer().

void SCIPsetSortPricers ( SCIP_SET set)

sorts pricers by priorities

Parameters
setglobal SCIP settings

Definition at line 2794 of file set.c.

Referenced by SCIPgetPricers(), SCIPpriceLoop(), and SCIPsetSetPriorityNlpi().

void SCIPsetSortPricersName ( SCIP_SET set)

sorts pricers by name

Parameters
setglobal SCIP settings

Definition at line 2809 of file set.c.

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 2824 of file set.c.

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 2880 of file set.c.

References SCIP_Set::conshdlrs_sepa, 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 2965 of file set.c.

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 2985 of file set.c.

References SCIP_Set::conflicthdlrs, SCIP_Set::conflicthdlrsnamesorted, SCIP_Set::conflicthdlrssorted, FALSE, SCIP_Set::nconflicthdlrs, SCIPsortPtr(), and TRUE.

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 3009 of file set.c.

References BMSreallocMemoryArray, FALSE, SCIP_Set::npresols, NULL, SCIP_Set::presols, SCIP_Set::presolssize, SCIP_Set::presolssorted, SCIP_ALLOC, SCIP_OKAY, and SCIPsetCalcMemGrowSize().

Referenced by SCIPfindConflicthdlr().

void SCIPsetSortConflicthdlrs ( SCIP_SET set)

sorts conflict handlers by priorities

Parameters
setglobal SCIP settings

Definition at line 3029 of file set.c.

References SCIP_Set::npresols, NULL, SCIP_Set::presols, and SCIPpresolGetName().

Referenced by conflictAddConflictCons(), and SCIPgetConflicthdlrs().

void SCIPsetSortConflicthdlrsName ( SCIP_SET set)

sorts conflict handlers by name

Parameters
setglobal SCIP settings

Definition at line 3044 of file set.c.

SCIP_RETCODE SCIPsetIncludePresol ( SCIP_SET set,
SCIP_PRESOL presol 
)

inserts presolver in presolver list

Parameters
setglobal SCIP settings
presolpresolver

Definition at line 3059 of file set.c.

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 3082 of file set.c.

References BMSreallocMemoryArray, FALSE, SCIP_Set::nrelaxs, NULL, SCIP_Set::relaxs, SCIP_Set::relaxssize, SCIP_Set::relaxssorted, SCIP_ALLOC, SCIP_OKAY, SCIPrelaxIsInitialized(), and SCIPsetCalcMemGrowSize().

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

void SCIPsetSortPresols ( SCIP_SET set)

sorts presolvers by priorities

Parameters
setglobal SCIP settings

Definition at line 3102 of file set.c.

Referenced by presolve(), and SCIPgetPresols().

void SCIPsetSortPresolsName ( SCIP_SET set)

sorts presolvers by name

Parameters
setglobal SCIP settings

Definition at line 3117 of file set.c.

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 3132 of file set.c.

References FALSE, SCIP_Set::nrelaxs, SCIP_Set::relaxs, SCIP_Set::relaxsnamesorted, SCIP_Set::relaxssorted, SCIPsortPtr(), and TRUE.

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 3156 of file set.c.

References BMSreallocMemoryArray, FALSE, SCIP_Set::nsepas, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPsepaIsInitialized(), SCIPsetCalcMemGrowSize(), SCIP_Set::sepas, SCIP_Set::sepassize, and SCIP_Set::sepassorted.

Referenced by SCIPfindRelax().

void SCIPsetSortRelaxs ( SCIP_SET set)

sorts relaxators by priorities

Parameters
setglobal SCIP settings

Definition at line 3176 of file set.c.

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 3191 of file set.c.

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 3206 of file set.c.

References FALSE, SCIP_Set::nsepas, SCIPsortPtr(), SCIP_Set::sepas, SCIP_Set::sepasnamesorted, SCIP_Set::sepassorted, and TRUE.

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 3230 of file set.c.

References BMSreallocMemoryArray, FALSE, SCIP_Set::nprops, NULL, SCIP_Set::props, SCIP_Set::propssize, SCIP_Set::propssorted, SCIP_ALLOC, SCIP_OKAY, SCIPpropIsInitialized(), and SCIPsetCalcMemGrowSize().

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

void SCIPsetSortSepas ( SCIP_SET set)

sorts separators by priorities

Parameters
setglobal SCIP settings

Definition at line 3250 of file set.c.

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

void SCIPsetSortSepasName ( SCIP_SET set)

sorts separators by name

Parameters
setglobal SCIP settings

Definition at line 3265 of file set.c.

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 3280 of file set.c.

References FALSE, SCIP_Set::nprops, SCIP_Set::props, SCIP_Set::propsnamesorted, SCIP_Set::propspresolsorted, SCIP_Set::propssorted, SCIPsortPtr(), and TRUE.

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 3304 of file set.c.

References FALSE, SCIP_Set::nprops, NULL, SCIP_Set::props, SCIP_Set::propsnamesorted, SCIP_Set::propspresolsorted, SCIP_Set::propssorted, SCIPsortPtr(), and TRUE.

Referenced by paramsetSetPresolvingFast(), and SCIPfindProp().

void SCIPsetSortProps ( SCIP_SET set)

sorts propagators by priorities

Parameters
setglobal SCIP settings

Definition at line 3324 of file set.c.

References BMSreallocMemoryArray, FALSE, SCIP_Set::heurs, SCIP_Set::heurssize, SCIP_Set::heurssorted, SCIP_Set::nheurs, NULL, SCIP_ALLOC, SCIPheurIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by propagationRound(), and SCIPgetProps().

void SCIPsetSortPropsPresol ( SCIP_SET set)

sorts propagators by priorities for presolving

Parameters
setglobal SCIP settings

Definition at line 3340 of file set.c.

Referenced by presolve().

void SCIPsetSortPropsName ( SCIP_SET set)

sorts propagators w.r.t. names

Parameters
setglobal SCIP settings

Definition at line 3356 of file set.c.

References SCIP_Set::heurs, and SCIPheurGetName().

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 3372 of file set.c.

References FALSE, SCIP_Set::heurs, SCIP_Set::heursnamesorted, SCIP_Set::heurssorted, SCIP_Set::nheurs, SCIPsortPtr(), and TRUE.

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 3396 of file set.c.

References BMSreallocMemoryArray, SCIP_Set::eventhdlrs, SCIP_Set::eventhdlrssize, SCIP_Set::neventhdlrs, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPeventhdlrIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by paramsetSetHeuristicsAggressive(), and SCIPfindHeur().

void SCIPsetSortHeurs ( SCIP_SET set)

sorts heuristics by priorities

Parameters
setglobal SCIP settings

Definition at line 3416 of file set.c.

References SCIP_Set::eventhdlrs, SCIP_Set::neventhdlrs, NULL, and SCIPeventhdlrGetName().

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 3431 of file set.c.

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 3446 of file set.c.

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 3469 of file set.c.

References SCIP_Set::nnodesels, SCIP_Set::nodesels, NULL, and SCIPnodeselGetName().

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 3489 of file set.c.

References SCIP_Stat::memsavemode, SCIP_Set::nnodesels, SCIP_Set::nodesel, SCIP_Set::nodesels, NULL, SCIPnodeselGetMemsavePriority(), and SCIPnodeselGetStdPriority().

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 3520 of file set.c.

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 3540 of file set.c.

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 3578 of file set.c.

References SCIP_Set::branchrules, SCIP_Set::branchrulesnamesorted, SCIP_Set::branchrulessorted, FALSE, SCIP_Set::nbranchrules, SCIPsortPtr(), and TRUE.

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 3602 of file set.c.

References BMSreallocMemoryArray, SCIP_Set::disps, SCIP_Set::dispssize, SCIP_Set::ndisps, NULL, SCIP_ALLOC, SCIPdispGetPosition(), SCIPdispIsInitialized(), and SCIPsetCalcMemGrowSize().

Referenced by SCIPfindBranchrule().

void SCIPsetSortBranchrules ( SCIP_SET set)

sorts branching rules by priorities

Parameters
setglobal SCIP settings

Definition at line 3622 of file set.c.

References SCIP_Set::disps.

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 3637 of file set.c.

References SCIP_Set::disps, SCIP_Set::ndisps, NULL, and SCIPdispGetName().

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 3652 of file set.c.

References BMSreallocMemoryArray, SCIP_Set::dialogs, SCIP_Set::dialogssize, SCIP_Set::ndialogs, NULL, SCIP_ALLOC, SCIP_OKAY, 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 3684 of file set.c.

References SCIP_Set::dialogs, and TRUE.

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 3704 of file set.c.

References BMSreallocMemoryArray, SCIP_Set::nlpis, SCIP_Set::nlpissize, SCIP_Set::nnlpis, SCIP_ALLOC, 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 3726 of file set.c.

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 3748 of file set.c.

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 3771 of file set.c.

References BMSduplicateMemoryArray, BMSreallocMemoryArray, SCIP_Set::extcodedescs, SCIP_Set::extcodenames, SCIP_Set::extcodessize, SCIP_Set::nextcodes, NULL, SCIP_ALLOC, and SCIPsetCalcMemGrowSize().

Referenced by SCIPfindNlpi(), and SCIPnlpCreate().

void SCIPsetSortNlpis ( SCIP_SET set)

sorts NLPIs by priorities

Parameters
setglobal SCIP settings

Definition at line 3791 of file set.c.

References SCIP_Set::extcodedescs, SCIP_Set::nextcodes, and NULL.

Referenced by SCIPgetNlpis(), and SCIPnlpCreate().

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 3805 of file set.c.

References SCIP_Set::nactivepricers, SCIP_Set::nconshdlrs, NULL, SCIP_Set::pricers, SCIP_CALL, SCIPpricerInit(), and SCIPsetSortPricers().

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 3819 of file set.c.

References SCIP_Set::conshdlrs, SCIP_CALL, and SCIPconshdlrInit().

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 3851 of file set.c.

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 3939 of file set.c.

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 4026 of file set.c.

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 4058 of file set.c.

References SCIP_Set::conshdlrs, SCIP_CALL, and SCIPconshdlrInitsol().

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 4090 of file set.c.

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 4174 of file set.c.

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 4256 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 4264 of file set.c.

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(), SCIPsetFindBranchrule(), SCIPsetFindConflicthdlr(), SCIPsetFindHeur(), SCIPsetFindNlpi(), SCIPsetFindPresol(), SCIPsetFindPricer(), SCIPsetFindRelax(), SCIPsetFindSepa(), SCIPsetIncludeDialog(), SCIPsetIncludeDisp(), SCIPsetIncludeReader(), SCIPsetSetPresolving(), SCIPsetSortProps(), 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 4273 of file set.c.

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 4282 of file set.c.

References NULL.

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 4291 of file set.c.

References SCIP_Set::num_lpfeastol, SCIP_PARAMETERWRONGVAL, SCIPerrorMessage, SCIPsetFeastol(), and TRUE.

SCIP_RETCODE SCIPsetSetFeastol ( SCIP_SET set,
SCIP_Real  feastol 
)

sets feasibility tolerance

Parameters
setglobal SCIP settings
feastolnew feasibility tolerance

Definition at line 4310 of file set.c.

References NULL, SCIP_Set::scip, SCIP_VERBLEVEL_HIGH, SCIPsetLpfeastol(), and SCIPverbMessage().

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 4332 of file set.c.

References NULL, SCIP_Set::num_barrierconvtol, and SCIP_OKAY.

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 4370 of file set.c.

References NULL, SCIP_Set::sepa_maxcuts, and SCIP_Set::sepa_maxcutsroot.

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 4383 of file set.c.

Referenced by SCIPchgBarrierconvtol().

void SCIPsetSetLimitChanged ( SCIP_SET set)

marks that some limit parameter was changed

Parameters
setglobal SCIP settings

Definition at line 4396 of file set.c.

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 4406 of file set.c.

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 4420 of file set.c.

References NULL, and SCIP_Set::num_infinity.

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

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

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 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 5592 of file set.c.

Referenced by lpUpdateObjval(), and SCIPisUpdateUnreliable().

SCIP_Real SCIPsetInfinity ( SCIP_SET set)

returns value treated as infinity

Parameters
setglobal SCIP settings

Definition at line 4531 of file set.c.

References NULL, and SCIP_Set::num_dualfeastol.

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 4543 of file set.c.

References MIN, NULL, SCIP_Set::num_lpfeastol, SCIP_INVALID, and SCIP_Set::sepa_primfeastol.

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 4563 of file set.c.

References NULL, and SCIP_Set::num_barrierconvtol.

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 4573 of file set.c.

References NULL, and SCIP_Set::num_pseudocosteps.

Referenced by SCIPfeastol(), SCIPsetLpfeastol(), and SCIPsetSetVerbLevel().

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 4593 of file set.c.

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

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

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 4606 of file set.c.

References NULL.

SCIP_Real SCIPsetDualfeastol ( SCIP_SET set)

returns feasibility tolerance for reduced costs

Parameters
setglobal SCIP settings

Definition at line 4583 of file set.c.

References NULL, and SCIP_Set::num_pseudocostdelta.

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 4614 of file set.c.

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 4624 of file set.c.

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 4634 of file set.c.

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 4644 of file set.c.

References EPSEQ, NULL, and SCIP_Set::num_epsilon.

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 4659 of file set.c.

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 4691 of file set.c.

References EPSGE, NULL, and SCIP_Set::num_epsilon.

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 SCIPsetIsLT ( SCIP_SET set,
SCIP_Real  val1,
SCIP_Real  val2 
)
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 4715 of file set.c.

References EPSP, NULL, and SCIP_Set::num_epsilon.

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(), SCIPsetDualfeasCeil(), SCIPsetIsPositive(), 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 4669 of file set.c.

References EPSLE, NULL, and SCIP_Set::num_epsilon.

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(), SCIPsolveIsStopped(), 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(), 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 4680 of file set.c.

References EPSGT, NULL, and SCIP_Set::num_epsilon.

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 4751 of file set.c.

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(), varAddImplic(), 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 4795 of file set.c.

References EPSROUND, NULL, and SCIP_Set::num_epsilon.

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 4813 of file set.c.

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 4826 of file set.c.

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 4837 of file set.c.

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 4848 of file set.c.

References EPSLE, NULL, and SCIP_Set::num_sumepsilon.

Referenced by colAddCoef(), colChgCoefPos(), rowAddCoef(), rowChgCoefPos(), rowMerge(), SCIPbranchGetBranchingPoint(), 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 4859 of file set.c.

References EPSGT, NULL, and SCIP_Set::num_sumepsilon.

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 4870 of file set.c.

References EPSGE, NULL, and SCIP_Set::num_sumepsilon.

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 4882 of file set.c.

References EPSZ, NULL, and SCIP_Set::num_sumepsilon.

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 4894 of file set.c.

References EPSP, NULL, and SCIP_Set::num_sumepsilon.

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 4906 of file set.c.

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 4918 of file set.c.

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 4930 of file set.c.

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 4941 of file set.c.

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 4952 of file set.c.

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 4963 of file set.c.

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 4974 of file set.c.

References EPSN, NULL, SCIP_Set::num_feastol, SCIP_Real, and SCIPrelDiff().

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 4985 of file set.c.

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 4996 of file set.c.

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 5087 of file set.c.

Referenced by checkImplics(), focusnodeCleanupVars(), lpLexDualSimplex(), SCIPbranchGetBranchingPoint(), SCIPisFeasZero(), SCIPlpComputeRelIntPoint(), SCIPsolAdjustImplicitSolVals(), SCIPvarTryAggregateVars(), 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 5098 of file set.c.

References EPSFLOOR, NULL, and SCIP_Set::num_feastol.

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

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 5109 of file set.c.

References EPSCEIL, NULL, and SCIP_Set::num_feastol.

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

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 5131 of file set.c.

References EPSFRAC, NULL, and SCIP_Set::num_feastol.

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

SCIP_Real SCIPsetFeasFloor ( SCIP_SET set,
SCIP_Real  val 
)

rounds value + feasibility tolerance down to the next integer

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

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5146 of file set.c.

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

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

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5157 of file set.c.

References EPSN, NULL, SCIP_Set::num_dualfeastol, SCIP_Real, and SCIPrelDiff().

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 5168 of file set.c.

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 5179 of file set.c.

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

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

checks, if relative difference of values is in range of dual feasibility tolerance

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

Definition at line 5190 of file set.c.

References EPSP, NULL, SCIP_Set::num_dualfeastol, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPisDualfeasEQ().

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

checks, if relative difference of val1 and val2 is lower than dual feasibility tolerance

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

Definition at line 5206 of file set.c.

References EPSN, NULL, SCIP_Set::num_dualfeastol, SCIP_Real, and SCIPrelDiff().

Referenced by SCIPisDualfeasLT().

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

checks, if relative difference of val1 and val2 is not greater than dual feasibility tolerance

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

Definition at line 5222 of file set.c.

References EPSZ, NULL, and SCIP_Set::num_dualfeastol.

Referenced by SCIPisDualfeasLE().

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

checks, if relative difference of val1 and val2 is greater than dual feasibility tolerance

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

Definition at line 5238 of file set.c.

Referenced by SCIPisDualfeasGT().

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

checks, if relative difference of val1 and val2 is not lower than -dual feasibility tolerance

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

Definition at line 5254 of file set.c.

References EPSISINT, NULL, and SCIP_Set::num_dualfeastol.

Referenced by SCIPisDualfeasGE().

SCIP_Bool SCIPsetIsDualfeasZero ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is in range dual feasibility tolerance of 0.0

checks, if value is in range feasibility tolerance of 0.0

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5270 of file set.c.

Referenced by lpLexDualSimplex(), SCIPisDualfeasZero(), SCIPvarGetImplRedcost(), and SCIPvarUpdateBestRootSol().

SCIP_Bool SCIPsetIsDualfeasPositive ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is greater than dual feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5281 of file set.c.

Referenced by SCIPisDualfeasPositive(), SCIPlpGetSol(), SCIPprobUpdateBestRootSol(), SCIPvarGetRedcost(), and undoBdchgsDualsol().

SCIP_Bool SCIPsetIsDualfeasNegative ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is lower than -dual feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5292 of file set.c.

Referenced by SCIPisDualfeasNegative(), SCIPlpGetSol(), SCIPprobUpdateBestRootSol(), SCIPvarGetRedcost(), and undoBdchgsDualsol().

SCIP_Bool SCIPsetIsDualfeasIntegral ( SCIP_SET set,
SCIP_Real  val 
)

checks, if value is integral within the dual feasibility bounds

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5303 of file set.c.

Referenced by SCIPisDualfeasIntegral().

SCIP_Bool SCIPsetIsDualfeasFracIntegral ( SCIP_SET set,
SCIP_Real  val 
)

checks, if given fractional part is smaller than dual feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5314 of file set.c.

Referenced by SCIPisDualfeasFracIntegral().

SCIP_Real SCIPsetDualfeasFloor ( SCIP_SET set,
SCIP_Real  val 
)

rounds value + dual feasibility tolerance down to the next integer

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5327 of file set.c.

Referenced by SCIPdualfeasFloor().

SCIP_Real SCIPsetDualfeasCeil ( SCIP_SET set,
SCIP_Real  val 
)

rounds value - dual feasibility tolerance up to the next integer

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5338 of file set.c.

References NULL, SCIP_Real, and SCIPsetIsLE().

Referenced by SCIPdualfeasCeil().

SCIP_Real SCIPsetDualfeasRound ( SCIP_SET set,
SCIP_Real  val 
)

rounds value to the nearest integer in dual feasibility tolerance

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5349 of file set.c.

Referenced by SCIPdualfeasRound().

SCIP_Real SCIPsetDualfeasFrac ( SCIP_SET set,
SCIP_Real  val 
)

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

Parameters
setglobal SCIP settings
valvalue to process

Definition at line 5360 of file set.c.

References EPSP, NULL, SCIP_Set::sepa_minefficacy, and SCIP_Set::sepa_minefficacyroot.

Referenced by SCIPdualfeasFrac().

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 5371 of file set.c.

References EPSZ, NULL, SCIP_Set::num_epsilon, SCIP_Real, and SCIPrelDiff().

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 5389 of file set.c.

References EPSN, NULL, SCIP_Set::num_epsilon, SCIP_Real, and SCIPrelDiff().

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 5407 of file set.c.

References EPSP, NULL, SCIP_Set::num_epsilon, SCIP_Real, and SCIPrelDiff().

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 5422 of file set.c.

References EPSP, NULL, SCIP_Set::num_epsilon, SCIP_Real, and SCIPrelDiff().

Referenced by 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 5438 of file set.c.

References EPSN, NULL, SCIP_Set::num_epsilon, 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 5454 of file set.c.

References EPSZ, NULL, SCIP_Set::num_sumepsilon, 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 5470 of file set.c.

References EPSN, NULL, SCIP_Set::num_sumepsilon, 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 5486 of file set.c.

References EPSP, NULL, SCIP_Set::num_sumepsilon, 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 5502 of file set.c.

References EPSP, NULL, SCIP_Set::num_sumepsilon, 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 5518 of file set.c.

References EPSN, NULL, SCIP_Set::num_sumepsilon, 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 5534 of file set.c.

References NULL, and SCIP_Real.

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 5550 of file set.c.

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 5566 of file set.c.

Referenced by SCIPisSumRelGE().