Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

methods to create, query, and print user parameters

Functions

SCIP_RETCODE SCIPaddBoolParam (SCIP *scip, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
 
SCIP_RETCODE SCIPaddIntParam (SCIP *scip, 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 SCIPaddLongintParam (SCIP *scip, 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 SCIPaddRealParam (SCIP *scip, 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 SCIPaddCharParam (SCIP *scip, 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 SCIPaddStringParam (SCIP *scip, const char *name, const char *desc, char **valueptr, SCIP_Bool isadvanced, const char *defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
 
SCIP_Bool SCIPisParamFixed (SCIP *scip, const char *name)
 
SCIP_PARAMSCIPgetParam (SCIP *scip, const char *name)
 
SCIP_RETCODE SCIPgetBoolParam (SCIP *scip, const char *name, SCIP_Bool *value)
 
SCIP_RETCODE SCIPgetIntParam (SCIP *scip, const char *name, int *value)
 
SCIP_RETCODE SCIPgetLongintParam (SCIP *scip, const char *name, SCIP_Longint *value)
 
SCIP_RETCODE SCIPgetRealParam (SCIP *scip, const char *name, SCIP_Real *value)
 
SCIP_RETCODE SCIPgetCharParam (SCIP *scip, const char *name, char *value)
 
SCIP_RETCODE SCIPgetStringParam (SCIP *scip, const char *name, char **value)
 
SCIP_RETCODE SCIPfixParam (SCIP *scip, const char *name)
 
SCIP_RETCODE SCIPunfixParam (SCIP *scip, const char *name)
 
SCIP_RETCODE SCIPsetParam (SCIP *scip, const char *name, void *value)
 
SCIP_RETCODE SCIPchgBoolParam (SCIP *scip, SCIP_PARAM *param, SCIP_Bool value)
 
SCIP_RETCODE SCIPsetBoolParam (SCIP *scip, const char *name, SCIP_Bool value)
 
SCIP_Bool SCIPisBoolParamValid (SCIP *scip, SCIP_PARAM *param, SCIP_Bool value)
 
SCIP_RETCODE SCIPchgIntParam (SCIP *scip, SCIP_PARAM *param, int value)
 
SCIP_RETCODE SCIPsetIntParam (SCIP *scip, const char *name, int value)
 
SCIP_Bool SCIPisIntParamValid (SCIP *scip, SCIP_PARAM *param, int value)
 
SCIP_RETCODE SCIPchgLongintParam (SCIP *scip, SCIP_PARAM *param, SCIP_Longint value)
 
SCIP_RETCODE SCIPsetLongintParam (SCIP *scip, const char *name, SCIP_Longint value)
 
SCIP_Bool SCIPisLongintParamValid (SCIP *scip, SCIP_PARAM *param, SCIP_Longint value)
 
SCIP_RETCODE SCIPchgRealParam (SCIP *scip, SCIP_PARAM *param, SCIP_Real value)
 
SCIP_RETCODE SCIPsetRealParam (SCIP *scip, const char *name, SCIP_Real value)
 
SCIP_Bool SCIPisRealParamValid (SCIP *scip, SCIP_PARAM *param, SCIP_Real value)
 
SCIP_RETCODE SCIPchgCharParam (SCIP *scip, SCIP_PARAM *param, char value)
 
SCIP_RETCODE SCIPsetCharParam (SCIP *scip, const char *name, char value)
 
SCIP_Bool SCIPisCharParamValid (SCIP *scip, SCIP_PARAM *param, const char value)
 
SCIP_RETCODE SCIPchgStringParam (SCIP *scip, SCIP_PARAM *param, const char *value)
 
SCIP_RETCODE SCIPsetStringParam (SCIP *scip, const char *name, const char *value)
 
SCIP_Bool SCIPisStringParamValid (SCIP *scip, SCIP_PARAM *param, const char *value)
 
SCIP_RETCODE SCIPreadParams (SCIP *scip, const char *filename)
 
SCIP_RETCODE SCIPwriteParam (SCIP *scip, SCIP_PARAM *param, const char *filename, SCIP_Bool comments, SCIP_Bool onlychanged)
 
SCIP_RETCODE SCIPwriteParams (SCIP *scip, const char *filename, SCIP_Bool comments, SCIP_Bool onlychanged)
 
SCIP_RETCODE SCIPresetParam (SCIP *scip, const char *name)
 
SCIP_RETCODE SCIPresetParams (SCIP *scip)
 
SCIP_RETCODE SCIPsetEmphasis (SCIP *scip, SCIP_PARAMEMPHASIS paramemphasis, SCIP_Bool quiet)
 
SCIP_RETCODE SCIPsetSubscipsOff (SCIP *scip, SCIP_Bool quiet)
 
SCIP_RETCODE SCIPsetHeuristics (SCIP *scip, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
 
SCIP_RETCODE SCIPsetPresolving (SCIP *scip, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
 
SCIP_RETCODE SCIPsetSeparating (SCIP *scip, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
 
SCIP_PARAM ** SCIPgetParams (SCIP *scip)
 
int SCIPgetNParams (SCIP *scip)
 

Function Documentation

◆ SCIPaddBoolParam()

SCIP_RETCODE SCIPaddBoolParam ( SCIP scip,
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

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
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 4211 of file scip.c.

References Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetAddBoolParam(), Scip::set, and SCIP_Mem::setmem.

Referenced by includeConshdlrCountsols(), tsp::ReaderTSP::ReaderTSP(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchruleRelpscost(), SCIPincludeComprWeakcompr(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrVarbound(), SCIPincludeConshdlrXor(), SCIPincludeEventHdlrBoundwriting(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurBound(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurIndicator(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurRins(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), SCIPincludeHeurZeroobj(), SCIPincludeHeurZirounding(), SCIPincludeNodeselRestartdfs(), SCIPincludeNodeselUct(), SCIPincludeNonlinconsUpgrade(), SCIPincludePresolBoundshift(), SCIPincludePresolConvertinttobin(), SCIPincludePresolDomcol(), SCIPincludePresolDualcomp(), SCIPincludePresolQPKKTref(), SCIPincludePropNlobbt(), SCIPincludePropRedcost(), SCIPincludePropRootredcost(), SCIPincludePropVbounds(), SCIPincludeQuadconsUpgrade(), SCIPincludeReaderBnd(), SCIPincludeReaderCip(), SCIPincludeReaderCnf(), SCIPincludeReaderGms(), SCIPincludeReaderLp(), SCIPincludeReaderMps(), SCIPincludeReaderOpb(), SCIPincludeReaderPbm(), SCIPincludeReaderPpm(), SCIPincludeReaderZpl(), SCIPincludeSepaCGMIP(), SCIPincludeSepaClosecuts(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaEccuts(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaImpliedbounds(), SCIPincludeSepaMcf(), SCIPincludeSepaOddcycle(), and SCIPincludeSepaStrongcg().

◆ SCIPaddIntParam()

SCIP_RETCODE SCIPaddIntParam ( SCIP scip,
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

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
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 4237 of file scip.c.

References Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetAddIntParam(), Scip::set, and SCIP_Mem::setmem.

Referenced by SCIPincludeBranchruleCloud(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleRelpscost(), SCIPincludeComprLargestrepr(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrXor(), SCIPincludeHeurBound(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), SCIPincludeHeurZirounding(), SCIPincludeNlpi(), SCIPincludeNodeselBfs(), SCIPincludeNodeselEstimate(), SCIPincludeNodeselHybridestim(), SCIPincludeNodeselRestartdfs(), SCIPincludeNodeselUct(), SCIPincludePresolDomcol(), SCIPincludePropNlobbt(), SCIPincludeReaderPbm(), SCIPincludeReaderPpm(), SCIPincludeSepaCGMIP(), SCIPincludeSepaClique(), SCIPincludeSepaClosecuts(), SCIPincludeSepaConvexproj(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaEccuts(), SCIPincludeSepaGauge(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaMcf(), SCIPincludeSepaOddcycle(), and SCIPincludeSepaStrongcg().

◆ SCIPaddLongintParam()

SCIP_RETCODE SCIPaddLongintParam ( SCIP scip,
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

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
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 4265 of file scip.c.

References Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetAddLongintParam(), Scip::set, and SCIP_Mem::setmem.

Referenced by includeConshdlrCountsols(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleMultAggr(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrCumulative(), SCIPincludeEventHdlrBoundwriting(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurLpface(), SCIPincludeHeurOfins(), SCIPincludeHeurProximity(), SCIPincludeHeurRens(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), SCIPincludeHeurZeroobj(), SCIPincludePresolBoundshift(), SCIPincludePresolConvertinttobin(), and SCIPincludeSepaCGMIP().

◆ SCIPaddRealParam()

SCIP_RETCODE SCIPaddRealParam ( SCIP scip,
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

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
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 4293 of file scip.c.

References Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetAddRealParam(), Scip::set, and SCIP_Mem::setmem.

Referenced by SCIPincludeBranchruleCloud(), SCIPincludeBranchruleInference(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRelpscost(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrVarbound(), SCIPincludeEventHdlrSofttimelimit(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOfins(), SCIPincludeHeurProximity(), SCIPincludeHeurRens(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), SCIPincludeHeurZeroobj(), SCIPincludeHeurZirounding(), SCIPincludeNodeselBfs(), SCIPincludeNodeselEstimate(), SCIPincludeNodeselHybridestim(), SCIPincludeNodeselUct(), SCIPincludePropNlobbt(), SCIPincludeReaderGms(), SCIPincludeSepaCGMIP(), SCIPincludeSepaClique(), SCIPincludeSepaClosecuts(), SCIPincludeSepaConvexproj(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaEccuts(), SCIPincludeSepaGauge(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaMcf(), and SCIPincludeSepaStrongcg().

◆ SCIPaddCharParam()

SCIP_RETCODE SCIPaddCharParam ( SCIP scip,
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

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
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 4321 of file scip.c.

References Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetAddCharParam(), Scip::set, and SCIP_Mem::setmem.

Referenced by SCIPincludeBranchruleDistribution(), SCIPincludeBranchrulePscost(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurBound(), SCIPincludeHeurLpface(), SCIPincludeHeurRens(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurUndercover(), and SCIPincludeReaderGms().

◆ SCIPaddStringParam()

SCIP_RETCODE SCIPaddStringParam ( SCIP scip,
const char *  name,
const char *  desc,
char **  valueptr,
SCIP_Bool  isadvanced,
const char *  defaultvalue,
SCIP_DECL_PARAMCHGD((*paramchgd))  ,
SCIP_PARAMDATA paramdata 
)

creates a string(char*) parameter, sets it to its default value, and adds it to the parameter set

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
descdescription of the parameter
valueptrpointer to store the current parameter value, or NULL; if not NULL then *valueptr should be NULL
isadvancedis this parameter an advanced parameter?
defaultvaluedefault value of the parameter
paramdatalocally defined parameter specific data

Definition at line 4348 of file scip.c.

References Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetAddStringParam(), Scip::set, and SCIP_Mem::setmem.

Referenced by SCIPincludeEventHdlrBoundwriting(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurSubNlp(), SCIPincludeHeurUndercover(), and SCIPincludeReaderZpl().

◆ SCIPisParamFixed()

SCIP_Bool SCIPisParamFixed ( SCIP scip,
const char *  name 
)

gets the fixing status of an existing parameter

Returns
TRUE if the parameter is fixed to a value, otherwise FALSE.
Parameters
scipSCIP data structure
namename of the parameter

Definition at line 4373 of file scip.c.

References NULL, SCIPsetIsParamFixed(), and Scip::set.

Referenced by applyCompletesol(), applyOfins(), applyRepair(), applyVbounds(), checkParameters(), createSubSCIP(), createSubscip(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIPapplyRens(), SCIPapplyZeroobj(), setSubscipParameters(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), solveSubMIP(), solveSubNLP(), solveSubproblem(), and subscipSetParams().

◆ SCIPgetParam()

SCIP_PARAM* SCIPgetParam ( SCIP scip,
const char *  name 
)

returns the pointer to the SCIP parameter with the given name

Returns
pointer to the parameter with the given name
Parameters
scipSCIP data structure
namename of the parameter

Definition at line 4388 of file scip.c.

References NULL, SCIPsetGetParam(), and Scip::set.

Referenced by copySofttimelimit().

◆ SCIPgetBoolParam()

SCIP_RETCODE SCIPgetBoolParam ( SCIP scip,
const char *  name,
SCIP_Bool value 
)

gets the value of an existing SCIP_Bool parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuepointer to store the parameter

Definition at line 4404 of file scip.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPsetGetBoolParam(), and Scip::set.

Referenced by checkConsnames(), checkVarnames(), createAndAddAndCons(), createVariable(), disableConflictingDualReductions(), displayRelevantStats(), fromCommandLine(), getVariable(), mpsinputCreate(), printConformName(), printExpr(), readBounds(), readCnf(), readConstraints(), readMst(), readSol(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXITSOL(), SCIP_DECL_EVENTINITSOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_READERREAD(), SCIPcount(), SCIPreadLp(), SCIPreadPip(), SCIPreadProb(), SCIPwriteGms(), and writeOpb().

◆ SCIPgetIntParam()

SCIP_RETCODE SCIPgetIntParam ( SCIP scip,
const char *  name,
int *  value 
)

gets the value of an existing int parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuepointer to store the parameter

Definition at line 4423 of file scip.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPsetGetIntParam(), and Scip::set.

Referenced by checkParameters(), getNSyncdata(), SCIP_DECL_DIALOGEXEC(), SCIPapplyUndercover(), SCIPincludeHeurSync(), and SCIPsyncstoreInit().

◆ SCIPgetLongintParam()

SCIP_RETCODE SCIPgetLongintParam ( SCIP scip,
const char *  name,
SCIP_Longint value 
)

gets the value of an existing SCIP_Longint parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuepointer to store the parameter

Definition at line 4442 of file scip.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPsetGetLongintParam(), and Scip::set.

Referenced by SCIP_DECL_CONSPROP(), solveComponent(), and subscipdataCopySubscip().

◆ SCIPgetRealParam()

SCIP_RETCODE SCIPgetRealParam ( SCIP scip,
const char *  name,
SCIP_Real value 
)

◆ SCIPgetCharParam()

SCIP_RETCODE SCIPgetCharParam ( SCIP scip,
const char *  name,
char *  value 
)

gets the value of an existing char parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuepointer to store the parameter

Definition at line 4480 of file scip.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPsetGetCharParam(), and Scip::set.

Referenced by printIndicatorCons(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_SEPAEXECLP(), and separateCuts().

◆ SCIPgetStringParam()

SCIP_RETCODE SCIPgetStringParam ( SCIP scip,
const char *  name,
char **  value 
)

gets the value of an existing string(char*) parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuepointer to store the parameter

Definition at line 4499 of file scip.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPsetGetStringParam(), and Scip::set.

Referenced by SCIP_DECL_CONCSOLVERCREATEINST().

◆ SCIPfixParam()

SCIP_RETCODE SCIPfixParam ( SCIP scip,
const char *  name 
)

fixes the value of an existing parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Note
: Be careful with this method! Some general settings, e.g., the time or node limit, should not be fixed because they have to be changed for sub-SCIPs.
Parameters
scipSCIP data structure
namename of the parameter

Definition at line 4521 of file scip.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPsetChgParamFixed(), Scip::set, and TRUE.

Referenced by createSubscip(), fixOrUnfixRelevantParameters(), and SCIP_DECL_CONCSOLVERCREATEINST().

◆ SCIPunfixParam()

SCIP_RETCODE SCIPunfixParam ( SCIP scip,
const char *  name 
)

unfixes the value of an existing parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter

Definition at line 4539 of file scip.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetChgParamFixed(), and Scip::set.

Referenced by checkParameters(), fixOrUnfixRelevantParameters(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), and solveSubproblem().

◆ SCIPsetParam()

SCIP_RETCODE SCIPsetParam ( SCIP scip,
const char *  name,
void *  value 
)

changes the value of an existing parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuenew value of the parameter

Definition at line 4557 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetSetParam(), and Scip::set.

◆ SCIPchgBoolParam()

SCIP_RETCODE SCIPchgBoolParam ( SCIP scip,
SCIP_PARAM param,
SCIP_Bool  value 
)

changes the value of an existing SCIP_Bool parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramparameter
valuenew value of the parameter

Definition at line 4576 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgBoolParam(), and Scip::set.

Referenced by checkTransferBoolParam(), and SCIP_DECL_DIALOGEXEC().

◆ SCIPsetBoolParam()

◆ SCIPisBoolParamValid()

SCIP_Bool SCIPisBoolParamValid ( SCIP scip,
SCIP_PARAM param,
SCIP_Bool  value 
)

checks whether the value of an existing SCIP_Bool parameter is valid

Parameters
scipSCIP data structure
paramparameter
valuevalue to check

Definition at line 4617 of file scip.c.

References NULL, and SCIPparamIsValidBool().

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPchgIntParam()

SCIP_RETCODE SCIPchgIntParam ( SCIP scip,
SCIP_PARAM param,
int  value 
)

changes the value of an existing int parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramparameter
valuenew value of the parameter

Definition at line 4634 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgIntParam(), and Scip::set.

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPsetIntParam()

◆ SCIPisIntParamValid()

SCIP_Bool SCIPisIntParamValid ( SCIP scip,
SCIP_PARAM param,
int  value 
)

checks whether the value of an existing int parameter is valid

checks whether parameter value of an existing int paramter is valid

Parameters
scipSCIP data structure
paramparameter
valuevalue to check

Definition at line 4675 of file scip.c.

References NULL, and SCIPparamIsValidInt().

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPchgLongintParam()

SCIP_RETCODE SCIPchgLongintParam ( SCIP scip,
SCIP_PARAM param,
SCIP_Longint  value 
)

changes the value of an existing SCIP_Longint parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramparameter
valuenew value of the parameter

Definition at line 4692 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgLongintParam(), and Scip::set.

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPsetLongintParam()

SCIP_RETCODE SCIPsetLongintParam ( SCIP scip,
const char *  name,
SCIP_Longint  value 
)

changes the value of an existing SCIP_Longint parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuenew value of the parameter

Definition at line 4718 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetSetLongintParam(), and Scip::set.

Referenced by applyCompletesol(), applyDomainChanges(), applyOfins(), applyRepair(), applyVbounds(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SOLVECUMULATIVE(), SCIPapplyHeurDualval(), SCIPapplyProximity(), SCIPapplyRens(), SCIPapplyZeroobj(), SCIPcopyLimits(), searchEcAggrWithMIP(), setSubscipLimits(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), solveCoveringProblem(), solveSubMIP(), solveSubNLP(), solveSubproblem(), solveSubscip(), and writeBounds().

◆ SCIPisLongintParamValid()

SCIP_Bool SCIPisLongintParamValid ( SCIP scip,
SCIP_PARAM param,
SCIP_Longint  value 
)

checks whether parameter value of an existing SCIP_Longint paramter is valid

Parameters
scipSCIP data structure
paramparameter
valuevalue to check

Definition at line 4733 of file scip.c.

References NULL, and SCIPparamIsValidLongint().

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPchgRealParam()

SCIP_RETCODE SCIPchgRealParam ( SCIP scip,
SCIP_PARAM param,
SCIP_Real  value 
)

changes the value of an existing SCIP_Real parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramparameter
valuenew value of the parameter

Definition at line 4750 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgRealParam(), and Scip::set.

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPsetRealParam()

SCIP_RETCODE SCIPsetRealParam ( SCIP scip,
const char *  name,
SCIP_Real  value 
)

changes the value of an existing SCIP_Real parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuenew value of the parameter

Definition at line 4776 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetSetRealParam(), and Scip::set.

Referenced by applyRepair(), copySofttimelimit(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_SOLVECUMULATIVE(), SCIPcopyLimits(), SCIPsolve(), searchEcAggrWithMIP(), setSubscipLimits(), solveCoveringProblem(), solveIndependentCons(), solveSubNLP(), solveSubproblem(), solveSubscip(), and subscipSetParams().

◆ SCIPisRealParamValid()

SCIP_Bool SCIPisRealParamValid ( SCIP scip,
SCIP_PARAM param,
SCIP_Real  value 
)

checks whether parameter value of an existing SCIP_Real paramter is valid

Parameters
scipSCIP data structure
paramparameter
valuevalue to check

Definition at line 4791 of file scip.c.

References NULL, and SCIPparamIsValidReal().

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPchgCharParam()

SCIP_RETCODE SCIPchgCharParam ( SCIP scip,
SCIP_PARAM param,
char  value 
)

changes the value of an existing char parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramparameter
valuenew value of the parameter

Definition at line 4808 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgCharParam(), and Scip::set.

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPsetCharParam()

SCIP_RETCODE SCIPsetCharParam ( SCIP scip,
const char *  name,
char  value 
)

changes the value of an existing char parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuenew value of the parameter

Definition at line 4834 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetSetCharParam(), and Scip::set.

Referenced by setChildSelRule(), and solveIndependentCons().

◆ SCIPisCharParamValid()

SCIP_Bool SCIPisCharParamValid ( SCIP scip,
SCIP_PARAM param,
const char  value 
)

checks whether parameter value for a given SCIP_Real parameter is valid

Parameters
scipSCIP data structure
paramparameter
valuevalue to check

Definition at line 4849 of file scip.c.

References NULL, and SCIPparamIsValidChar().

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPchgStringParam()

SCIP_RETCODE SCIPchgStringParam ( SCIP scip,
SCIP_PARAM param,
const char *  value 
)

changes the value of an existing string(char*) parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramparameter
valuenew value of the parameter

Definition at line 4866 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgStringParam(), and Scip::set.

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPsetStringParam()

SCIP_RETCODE SCIPsetStringParam ( SCIP scip,
const char *  name,
const char *  value 
)

changes the value of an existing string(char*) parameter

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter
valuenew value of the parameter

Definition at line 4892 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetSetStringParam(), and Scip::set.

◆ SCIPisStringParamValid()

SCIP_Bool SCIPisStringParamValid ( SCIP scip,
SCIP_PARAM param,
const char *  value 
)

checks whether parameter value for a given string parameter is valid

Parameters
scipSCIP data structure
paramparameter
valuevalue to check

Definition at line 4907 of file scip.c.

References NULL, and SCIPparamIsValidString().

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPreadParams()

SCIP_RETCODE SCIPreadParams ( SCIP scip,
const char *  filename 
)

reads parameters from a file

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
filenamefile name

Definition at line 4924 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetReadParams(), and Scip::set.

Referenced by changeParametersUsingSettingsFiles(), readParams(), SCIP_DECL_CONCSOLVERCREATEINST(), and SCIP_DECL_DIALOGEXEC().

◆ SCIPwriteParam()

SCIP_RETCODE SCIPwriteParam ( SCIP scip,
SCIP_PARAM param,
const char *  filename,
SCIP_Bool  comments,
SCIP_Bool  onlychanged 
)

writes a single parameter to a file

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramparameter
filenamefile name, or NULL for stdout
commentsshould parameter descriptions be written as comments?
onlychangedshould only those parameters be written that are changed from their default value?

Definition at line 4942 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, and SCIPparamWrite().

◆ SCIPwriteParams()

SCIP_RETCODE SCIPwriteParams ( SCIP scip,
const char *  filename,
SCIP_Bool  comments,
SCIP_Bool  onlychanged 
)

writes all parameters in the parameter set to a file

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
filenamefile name, or NULL for stdout
commentsshould parameter descriptions be written as comments?
onlychangedshould only those parameters be written that are changed from their default value?

Definition at line 4965 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetWriteParams(), and Scip::set.

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPresetParam()

SCIP_RETCODE SCIPresetParam ( SCIP scip,
const char *  name 
)

resets a single parameter to its default value

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
namename of the parameter

Definition at line 4987 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetResetParam(), and Scip::set.

Referenced by createSubSCIP(), and solveSubNLP().

◆ SCIPresetParams()

SCIP_RETCODE SCIPresetParams ( SCIP scip)

resets all parameters to their default values

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure

Definition at line 5005 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetResetParams(), and Scip::set.

Referenced by SCIP_DECL_DIALOGEXEC().

◆ SCIPsetEmphasis()

SCIP_RETCODE SCIPsetEmphasis ( SCIP scip,
SCIP_PARAMEMPHASIS  paramemphasis,
SCIP_Bool  quiet 
)

sets parameters to

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramemphasisparameter settings
quietshould the parameter be set quiet (no output)

Definition at line 5033 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetSetEmphasis(), and Scip::set.

Referenced by adaptSolverBehavior(), changeEmphasisParameters(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_SOLVECUMULATIVE(), SCIPsetParamsCountsols(), solveSubproblem(), and subscipSetParams().

◆ SCIPsetSubscipsOff()

SCIP_RETCODE SCIPsetSubscipsOff ( SCIP scip,
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

Note
only deactivates plugins which could cause recursion, some plugins which use sub-SCIPs stay activated
Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scip(auxiliary) SCIP data structure
quietshould the parameter be set quiet (no output)

Definition at line 5055 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetSetSubscipsOff(), and Scip::set.

Referenced by applyCompletesol(), applyOfins(), applyRepair(), applyVbounds(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SOLVECUMULATIVE(), SCIPapplyRens(), SCIPapplyZeroobj(), setSubscipParameters(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), solveSubMIP(), and subscipSetParams().

◆ SCIPsetHeuristics()

SCIP_RETCODE SCIPsetHeuristics ( SCIP scip,
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
Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramsettingparameter settings
quietshould the parameter be set quiet (no output)

Definition at line 5078 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIP_PARAMSETTING_DEFAULT, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIPsetSetHeuristics(), and Scip::set.

Referenced by applyDomainChanges(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), searchEcAggrWithMIP(), setupSCIPparamsFP2(), and solveSubproblem().

◆ SCIPsetPresolving()

SCIP_RETCODE SCIPsetPresolving ( SCIP scip,
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
Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramsettingparameter settings
quietshould the parameter be set quiet (no output)

Definition at line 5104 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIP_PARAMSETTING_DEFAULT, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIPsetSetPresolving(), and Scip::set.

Referenced by applyCompletesol(), applyOfins(), applyVbounds(), createSubscip(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIPapplyRens(), SCIPapplyZeroobj(), setSubscipParameters(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), solveSubMIP(), solveSubNLP(), solveSubproblem(), and subscipSetParams().

◆ SCIPsetSeparating()

SCIP_RETCODE SCIPsetSeparating ( SCIP scip,
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
Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
paramsettingparameter settings
quietshould the parameter be set quiet (no output)

Definition at line 5130 of file scip.c.

References Scip::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIP_PARAMSETTING_DEFAULT, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIPsetSetSeparating(), and Scip::set.

Referenced by applyCompletesol(), applyOfins(), applyVbounds(), runShell(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIPapplyRens(), SCIPapplyZeroobj(), setSubscipParameters(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), solveSubMIP(), and subscipSetParams().

◆ SCIPgetParams()

SCIP_PARAM** SCIPgetParams ( SCIP scip)

returns the array of all available SCIP parameters

Returns
SCIP_PARAM* array, containing all SCIP parameters.
Parameters
scipSCIP data structure

Definition at line 5150 of file scip.c.

References NULL, SCIPsetGetParams(), and Scip::set.

Referenced by collectNondefaultParams(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().

◆ SCIPgetNParams()

int SCIPgetNParams ( SCIP scip)

returns the total number of all available SCIP parameters

Returns
number of all SCIP parameters.
Parameters
scipSCIP data structure

Definition at line 5164 of file scip.c.

References NULL, SCIPsetGetNParams(), and Scip::set.

Referenced by collectNondefaultParams(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().