methods to create, query, and print user parameters
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
scip | SCIP data structure |
name | name of the parameter |
desc | description of the parameter |
valueptr | pointer to store the current parameter value, or NULL |
isadvanced | is this parameter an advanced parameter? |
defaultvalue | default value of the parameter |
paramdata | locally defined parameter specific data |
Definition at line 4239 of file scip.c.
References Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetAddBoolParam(), Scip::set, and SCIP_Mem::setmem.
Referenced by alnsIncludeNeighborhood(), includeConshdlrCountsols(), tsp::ReaderTSP::ReaderTSP(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleMultAggr(), SCIPincludeComprWeakcompr(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), SCIPincludeConshdlrXor(), SCIPincludeEventHdlrBoundwriting(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurIndicator(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurRins(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurZeroobj(), SCIPincludeHeurZirounding(), SCIPincludeNodeselRestartdfs(), SCIPincludeNodeselUct(), SCIPincludeNonlinconsUpgrade(), SCIPincludePresolBoundshift(), SCIPincludePresolConvertinttobin(), SCIPincludePresolDomcol(), SCIPincludePresolDualcomp(), SCIPincludePresolQPKKTref(), SCIPincludePresolSparsify(), SCIPincludePresolSymbreak(), SCIPincludePresolSymmetry(), SCIPincludePropNlobbt(), SCIPincludePropRedcost(), SCIPincludePropRootredcost(), SCIPincludePropVbounds(), SCIPincludeQuadconsUpgrade(), SCIPincludeReaderBnd(), SCIPincludeReaderCip(), SCIPincludeReaderCnf(), SCIPincludeReaderGms(), SCIPincludeReaderLp(), SCIPincludeReaderMps(), SCIPincludeReaderOpb(), SCIPincludeReaderPbm(), SCIPincludeReaderPpm(), SCIPincludeReaderZpl(), SCIPincludeSepaCGMIP(), SCIPincludeSepaClosecuts(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaEccuts(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaImpliedbounds(), SCIPincludeSepaMcf(), SCIPincludeSepaOddcycle(), SCIPincludeSepaStrongcg(), and SCIPincludeSepaZerohalf().
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
scip | SCIP data structure |
name | name of the parameter |
desc | description of the parameter |
valueptr | pointer to store the current parameter value, or NULL |
isadvanced | is this parameter an advanced parameter? |
defaultvalue | default value of the parameter |
minvalue | minimum value for parameter |
maxvalue | maximum value for parameter |
paramdata | locally defined parameter specific data |
Definition at line 4265 of file scip.c.
References Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetAddIntParam(), Scip::set, and SCIP_Mem::setmem.
Referenced by includeNeighborhoods(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeComprLargestrepr(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrXor(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurZirounding(), SCIPincludeNlpi(), SCIPincludeNodeselBfs(), SCIPincludeNodeselEstimate(), SCIPincludeNodeselHybridestim(), SCIPincludeNodeselRestartdfs(), SCIPincludeNodeselUct(), SCIPincludePresolDomcol(), SCIPincludePresolSparsify(), SCIPincludePresolSymmetry(), SCIPincludePropNlobbt(), SCIPincludeReaderPbm(), SCIPincludeReaderPpm(), SCIPincludeSepaCGMIP(), SCIPincludeSepaClique(), SCIPincludeSepaClosecuts(), SCIPincludeSepaConvexproj(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaEccuts(), SCIPincludeSepaGauge(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaMcf(), SCIPincludeSepaOddcycle(), SCIPincludeSepaStrongcg(), and SCIPincludeSepaZerohalf().
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
scip | SCIP data structure |
name | name of the parameter |
desc | description of the parameter |
valueptr | pointer to store the current parameter value, or NULL |
isadvanced | is this parameter an advanced parameter? |
defaultvalue | default value of the parameter |
minvalue | minimum value for parameter |
maxvalue | maximum value for parameter |
paramdata | locally defined parameter specific data |
Definition at line 4293 of file scip.c.
References Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetAddLongintParam(), Scip::set, and SCIP_Mem::setmem.
Referenced by includeConshdlrCountsols(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleMultAggr(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrCumulative(), SCIPincludeEventHdlrBoundwriting(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurAlns(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurLpface(), SCIPincludeHeurOfins(), SCIPincludeHeurProximity(), SCIPincludeHeurRens(), SCIPincludeHeurUndercover(), SCIPincludeHeurZeroobj(), SCIPincludePresolBoundshift(), SCIPincludePresolConvertinttobin(), and SCIPincludeSepaCGMIP().
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
scip | SCIP data structure |
name | name of the parameter |
desc | description of the parameter |
valueptr | pointer to store the current parameter value, or NULL |
isadvanced | is this parameter an advanced parameter? |
defaultvalue | default value of the parameter |
minvalue | minimum value for parameter |
maxvalue | maximum value for parameter |
paramdata | locally defined parameter specific data |
Definition at line 4321 of file scip.c.
References Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetAddRealParam(), Scip::set, and SCIP_Mem::setmem.
Referenced by alnsIncludeNeighborhood(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleInference(), SCIPincludeBranchrulePscost(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrVarbound(), SCIPincludeEventHdlrSofttimelimit(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurAlns(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOfins(), SCIPincludeHeurProximity(), SCIPincludeHeurRens(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurZeroobj(), SCIPincludeHeurZirounding(), SCIPincludeNodeselBfs(), SCIPincludeNodeselEstimate(), SCIPincludeNodeselHybridestim(), SCIPincludeNodeselUct(), SCIPincludePresolSparsify(), SCIPincludePropNlobbt(), SCIPincludePropVbounds(), SCIPincludeReaderGms(), SCIPincludeSepaCGMIP(), SCIPincludeSepaClique(), SCIPincludeSepaClosecuts(), SCIPincludeSepaConvexproj(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaEccuts(), SCIPincludeSepaGauge(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaMcf(), and SCIPincludeSepaZerohalf().
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
scip | SCIP data structure |
name | name of the parameter |
desc | description of the parameter |
valueptr | pointer to store the current parameter value, or NULL |
isadvanced | is this parameter an advanced parameter? |
defaultvalue | default value of the parameter |
allowedvalues | array with possible parameter values, or NULL if not restricted |
paramdata | locally defined parameter specific data |
Definition at line 4349 of file scip.c.
References Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetAddCharParam(), Scip::set, and SCIP_Mem::setmem.
Referenced by SCIPincludeBranchruleDistribution(), SCIPincludeBranchrulePscost(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurLpface(), SCIPincludeHeurRens(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurUndercover(), SCIPincludePresolSparsify(), and SCIPincludeReaderGms().
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
scip | SCIP data structure |
name | name of the parameter |
desc | description of the parameter |
valueptr | pointer to store the current parameter value, or NULL; if not NULL then *valueptr should be NULL |
isadvanced | is this parameter an advanced parameter? |
defaultvalue | default value of the parameter |
paramdata | locally defined parameter specific data |
Definition at line 4376 of file scip.c.
References Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetAddStringParam(), Scip::set, and SCIP_Mem::setmem.
Referenced by SCIPincludeEventHdlrBoundwriting(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurAlns(), SCIPincludeHeurSubNlp(), SCIPincludeHeurUndercover(), and SCIPincludeReaderZpl().
gets the fixing status of an existing parameter
scip | SCIP data structure |
name | name of the parameter |
Definition at line 4401 of file scip.c.
References SCIPsetIsParamFixed(), and Scip::set.
Referenced by applyRepair(), checkParameters(), createSubSCIP(), createSubscip(), doSolveSubMIP(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), setSubscipParameters(), setupAndSolve(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), solveSubNLP(), solveSubproblem(), subscipSetParams(), wrapperDins(), and wrapperRins().
SCIP_PARAM* SCIPgetParam | ( | SCIP * | scip, |
const char * | name | ||
) |
returns the pointer to the SCIP parameter with the given name
scip | SCIP data structure |
name | name of the parameter |
Definition at line 4416 of file scip.c.
References SCIPsetGetParam(), and Scip::set.
Referenced by copySofttimelimit().
SCIP_RETCODE SCIPgetBoolParam | ( | SCIP * | scip, |
const char * | name, | ||
SCIP_Bool * | value | ||
) |
gets the value of an existing SCIP_Bool parameter
scip | SCIP data structure |
name | name of the parameter |
value | pointer to store the parameter |
Definition at line 4432 of file scip.c.
References 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().
SCIP_RETCODE SCIPgetIntParam | ( | SCIP * | scip, |
const char * | name, | ||
int * | value | ||
) |
gets the value of an existing int parameter
scip | SCIP data structure |
name | name of the parameter |
value | pointer to store the parameter |
Definition at line 4451 of file scip.c.
References SCIP_CALL, SCIP_OKAY, SCIPsetGetIntParam(), and Scip::set.
Referenced by checkParameters(), determineSymmetry(), getNSyncdata(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_PRESOLINIT(), SCIP_DECL_PRESOLINITPRE(), SCIP_DECL_PROPINIT(), SCIPapplyUndercover(), SCIPincludeHeurSync(), and SCIPsyncstoreInit().
SCIP_RETCODE SCIPgetLongintParam | ( | SCIP * | scip, |
const char * | name, | ||
SCIP_Longint * | value | ||
) |
gets the value of an existing SCIP_Longint parameter
scip | SCIP data structure |
name | name of the parameter |
value | pointer to store the parameter |
Definition at line 4470 of file scip.c.
References SCIP_CALL, SCIP_OKAY, SCIPsetGetLongintParam(), and Scip::set.
Referenced by SCIP_DECL_CONSPROP(), solveComponent(), and subscipdataCopySubscip().
SCIP_RETCODE SCIPgetRealParam | ( | SCIP * | scip, |
const char * | name, | ||
SCIP_Real * | value | ||
) |
gets the value of an existing SCIP_Real parameter
scip | SCIP data structure |
name | name of the parameter |
value | pointer to store the parameter |
Definition at line 4489 of file scip.c.
References SCIP_CALL, SCIP_OKAY, SCIPsetGetRealParam(), and Scip::set.
Referenced by applyHeur(), applyRepair(), checkArraySizesGLS(), checkArraySizesHeur(), computeInteriorPoint(), copySofttimelimit(), determineLimits(), displayRelevantStats(), doSeachEcAggr(), getCopyMemlimit(), getCopyTimelimit(), getTimeLeft(), printIndicatorCons(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPapplyUndercover(), SCIPsolve(), SCIPsyncstoreInit(), SCIPvalidateSolve(), separateCuts(), setSubscipLimits(), solveIndependentCons(), solveNlp(), solveSubNLP(), solveSubscip(), and subscipdataCopySubscip().
SCIP_RETCODE SCIPgetCharParam | ( | SCIP * | scip, |
const char * | name, | ||
char * | value | ||
) |
gets the value of an existing char parameter
scip | SCIP data structure |
name | name of the parameter |
value | pointer to store the parameter |
Definition at line 4508 of file scip.c.
References SCIP_CALL, SCIP_OKAY, SCIPsetGetCharParam(), and Scip::set.
Referenced by printIndicatorCons(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_CONSINITSOL(), and SCIP_DECL_SEPAEXECLP().
SCIP_RETCODE SCIPgetStringParam | ( | SCIP * | scip, |
const char * | name, | ||
char ** | value | ||
) |
gets the value of an existing string(char*) parameter
scip | SCIP data structure |
name | name of the parameter |
value | pointer to store the parameter |
Definition at line 4527 of file scip.c.
References SCIP_CALL, SCIP_OKAY, SCIPsetGetStringParam(), and Scip::set.
Referenced by SCIP_DECL_CONCSOLVERCREATEINST().
SCIP_RETCODE SCIPfixParam | ( | SCIP * | scip, |
const char * | name | ||
) |
fixes the value of an existing parameter
scip | SCIP data structure |
name | name of the parameter |
Definition at line 4549 of file scip.c.
References SCIP_CALL, SCIP_OKAY, SCIPsetChgParamFixed(), Scip::set, and TRUE.
Referenced by createSubscip(), fixOrUnfixRelevantParameters(), and SCIP_DECL_CONCSOLVERCREATEINST().
SCIP_RETCODE SCIPunfixParam | ( | SCIP * | scip, |
const char * | name | ||
) |
unfixes the value of an existing parameter
scip | SCIP data structure |
name | name of the parameter |
Definition at line 4567 of file scip.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPsetChgParamFixed(), and Scip::set.
Referenced by checkParameters(), fixOrUnfixRelevantParameters(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_DIALOGEXEC(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), and solveSubproblem().
SCIP_RETCODE SCIPsetParam | ( | SCIP * | scip, |
const char * | name, | ||
void * | value | ||
) |
changes the value of an existing parameter
scip | SCIP data structure |
name | name of the parameter |
value | new value of the parameter |
Definition at line 4585 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetSetParam(), and Scip::set.
SCIP_RETCODE SCIPchgBoolParam | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
SCIP_Bool | value | ||
) |
changes the value of an existing SCIP_Bool parameter
scip | SCIP data structure |
param | parameter |
value | new value of the parameter |
Definition at line 4604 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgBoolParam(), and Scip::set.
Referenced by checkTransferBoolParam(), and SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPsetBoolParam | ( | SCIP * | scip, |
const char * | name, | ||
SCIP_Bool | value | ||
) |
changes the value of an existing SCIP_Bool parameter
scip | SCIP data structure |
name | name of the parameter |
value | new value of the parameter |
Definition at line 4630 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetSetBoolParam(), and Scip::set.
Referenced by applyDomainChanges(), createSubSCIP(), createSubscip(), disableConflictingDualReductions(), doSolveSubMIP(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_CONCSOLVERINITSEEDS(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SOLVECUMULATIVE(), SCIPcount(), setSubscipParameters(), setupAndSolve(), setupAndSolveCumulativeSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), solveIndependentCons(), solveSubNLP(), solveSubproblem(), solveSubscip(), subscipSetParams(), wrapperDins(), wrapperRins(), and writeBounds().
SCIP_Bool SCIPisBoolParamValid | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
SCIP_Bool | value | ||
) |
checks whether the value of an existing SCIP_Bool parameter is valid
scip | SCIP data structure |
param | parameter |
value | value to check |
Definition at line 4645 of file scip.c.
References SCIPparamIsValidBool().
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPchgIntParam | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
int | value | ||
) |
changes the value of an existing int parameter
scip | SCIP data structure |
param | parameter |
value | new value of the parameter |
Definition at line 4662 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgIntParam(), and Scip::set.
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPsetIntParam | ( | SCIP * | scip, |
const char * | name, | ||
int | value | ||
) |
changes the value of an existing int parameter
scip | SCIP data structure |
name | name of the parameter |
value | new value of the parameter |
Definition at line 4688 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetSetIntParam(), and Scip::set.
Referenced by applyDomainChanges(), applyRepair(), checkParameters(), componentCreateSubscip(), createSubscip(), createSubSCIP(), determineSymmetry(), doSolveSubMIP(), getActivities(), runShell(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_CONCSOLVERINITSEEDS(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINIT(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRESOLEXIT(), SCIP_DECL_PRESOLINITPRE(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_SOLVECUMULATIVE(), SCIPapplyHeurDualval(), SCIPapplyProximity(), SCIPcopyLimits(), SCIPprocessShellArguments(), SCIPsolveConcurrent(), searchEcAggrWithMIP(), setSubscipParameters(), setupAndSolve(), setupAndSolveCumulativeSubscip(), setupAndSolveFiniteSolSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), setupSubscipLpface(), solveCoveringProblem(), solveIndependentCons(), solveSubNLP(), solveSubproblem(), solveSubscip(), subscipSetParams(), wrapperDins(), wrapperRins(), and writeBounds().
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
scip | SCIP data structure |
param | parameter |
value | value to check |
Definition at line 4703 of file scip.c.
References SCIPparamIsValidInt().
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPchgLongintParam | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
SCIP_Longint | value | ||
) |
changes the value of an existing SCIP_Longint parameter
scip | SCIP data structure |
param | parameter |
value | new value of the parameter |
Definition at line 4720 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgLongintParam(), and Scip::set.
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPsetLongintParam | ( | SCIP * | scip, |
const char * | name, | ||
SCIP_Longint | value | ||
) |
changes the value of an existing SCIP_Longint parameter
scip | SCIP data structure |
name | name of the parameter |
value | new value of the parameter |
Definition at line 4746 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetSetLongintParam(), and Scip::set.
Referenced by applyDomainChanges(), applyRepair(), doSolveSubMIP(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SOLVECUMULATIVE(), SCIPapplyHeurDualval(), SCIPapplyProximity(), SCIPcopyLimits(), searchEcAggrWithMIP(), setLimits(), setSubscipLimits(), setupAndSolve(), setupAndSolveCumulativeSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), solveCoveringProblem(), solveSubNLP(), solveSubproblem(), solveSubscip(), wrapperDins(), wrapperRins(), and writeBounds().
SCIP_Bool SCIPisLongintParamValid | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
SCIP_Longint | value | ||
) |
checks whether parameter value of an existing SCIP_Longint paramter is valid
scip | SCIP data structure |
param | parameter |
value | value to check |
Definition at line 4761 of file scip.c.
References SCIPparamIsValidLongint().
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPchgRealParam | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
SCIP_Real | value | ||
) |
changes the value of an existing SCIP_Real parameter
scip | SCIP data structure |
param | parameter |
value | new value of the parameter |
Definition at line 4778 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgRealParam(), and Scip::set.
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPsetRealParam | ( | SCIP * | scip, |
const char * | name, | ||
SCIP_Real | value | ||
) |
changes the value of an existing SCIP_Real parameter
scip | SCIP data structure |
name | name of the parameter |
value | new value of the parameter |
Definition at line 4804 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetSetRealParam(), and Scip::set.
Referenced by applyRepair(), copySofttimelimit(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_SOLVECUMULATIVE(), SCIPcopyLimits(), SCIPsolve(), searchEcAggrWithMIP(), setLimits(), setSubscipLimits(), setupAndSolveCumulativeSubscip(), setupAndSolveSubscipRapidlearning(), solveCoveringProblem(), solveIndependentCons(), solveSubNLP(), solveSubproblem(), solveSubscip(), and subscipSetParams().
SCIP_Bool SCIPisRealParamValid | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
SCIP_Real | value | ||
) |
checks whether parameter value of an existing SCIP_Real paramter is valid
scip | SCIP data structure |
param | parameter |
value | value to check |
Definition at line 4819 of file scip.c.
References SCIPparamIsValidReal().
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPchgCharParam | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
char | value | ||
) |
changes the value of an existing char parameter
scip | SCIP data structure |
param | parameter |
value | new value of the parameter |
Definition at line 4836 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgCharParam(), and Scip::set.
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPsetCharParam | ( | SCIP * | scip, |
const char * | name, | ||
char | value | ||
) |
changes the value of an existing char parameter
scip | SCIP data structure |
name | name of the parameter |
value | new value of the parameter |
Definition at line 4862 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetSetCharParam(), and Scip::set.
Referenced by doSolveSubMIP(), setChildSelRule(), setSubscipParameters(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupSubScip(), solveIndependentCons(), wrapperDins(), and wrapperRins().
SCIP_Bool SCIPisCharParamValid | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
const char | value | ||
) |
checks whether parameter value for a given SCIP_Real parameter is valid
scip | SCIP data structure |
param | parameter |
value | value to check |
Definition at line 4877 of file scip.c.
References SCIPparamIsValidChar().
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPchgStringParam | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
const char * | value | ||
) |
changes the value of an existing string(char*) parameter
scip | SCIP data structure |
param | parameter |
value | new value of the parameter |
Definition at line 4894 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_PARAMETERWRONGVAL, SCIPsetChgStringParam(), and Scip::set.
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPsetStringParam | ( | SCIP * | scip, |
const char * | name, | ||
const char * | value | ||
) |
changes the value of an existing string(char*) parameter
scip | SCIP data structure |
name | name of the parameter |
value | new value of the parameter |
Definition at line 4920 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetSetStringParam(), and Scip::set.
SCIP_Bool SCIPisStringParamValid | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
const char * | value | ||
) |
checks whether parameter value for a given string parameter is valid
scip | SCIP data structure |
param | parameter |
value | value to check |
Definition at line 4935 of file scip.c.
References SCIPparamIsValidString().
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPreadParams | ( | SCIP * | scip, |
const char * | filename | ||
) |
reads parameters from a file
scip | SCIP data structure |
filename | file name |
Definition at line 4952 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetReadParams(), and Scip::set.
Referenced by changeParametersUsingSettingsFiles(), readParams(), SCIP_DECL_CONCSOLVERCREATEINST(), and SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPwriteParam | ( | SCIP * | scip, |
SCIP_PARAM * | param, | ||
const char * | filename, | ||
SCIP_Bool | comments, | ||
SCIP_Bool | onlychanged | ||
) |
writes a single parameter to a file
scip | SCIP data structure |
param | parameter |
filename | file name, or NULL for stdout |
comments | should parameter descriptions be written as comments? |
onlychanged | should only those parameters be written that are changed from their default value? |
Definition at line 4970 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, and SCIPparamWrite().
SCIP_RETCODE SCIPwriteParams | ( | SCIP * | scip, |
const char * | filename, | ||
SCIP_Bool | comments, | ||
SCIP_Bool | onlychanged | ||
) |
writes all parameters in the parameter set to a file
scip | SCIP data structure |
filename | file name, or NULL for stdout |
comments | should parameter descriptions be written as comments? |
onlychanged | should only those parameters be written that are changed from their default value? |
Definition at line 4993 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetWriteParams(), and Scip::set.
Referenced by SCIP_DECL_DIALOGEXEC(), and solveSubscipLpface().
SCIP_RETCODE SCIPresetParam | ( | SCIP * | scip, |
const char * | name | ||
) |
resets a single parameter to its default value
scip | SCIP data structure |
name | name of the parameter |
Definition at line 5015 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetResetParam(), and Scip::set.
Referenced by createSubSCIP(), and solveSubNLP().
SCIP_RETCODE SCIPresetParams | ( | SCIP * | scip | ) |
resets all parameters to their default values
scip | SCIP data structure |
Definition at line 5033 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetResetParams(), and Scip::set.
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_RETCODE SCIPsetEmphasis | ( | SCIP * | scip, |
SCIP_PARAMEMPHASIS | paramemphasis, | ||
SCIP_Bool | quiet | ||
) |
sets parameters to
scip | SCIP data structure |
paramemphasis | parameter settings |
quiet | should the parameter be set quiet (no output) |
Definition at line 5061 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetSetEmphasis(), and Scip::set.
Referenced by adaptSolverBehavior(), changeEmphasisParameters(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_DIALOGEXEC(), SCIPsetParamsCountsols(), setupAndSolveCumulativeSubscip(), solveSubproblem(), and subscipSetParams().
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
scip | (auxiliary) SCIP data structure |
quiet | should the parameter be set quiet (no output) |
Definition at line 5083 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIPsetSetSubscipsOff(), and Scip::set.
Referenced by applyRepair(), doSolveSubMIP(), SCIP_DECL_HEUREXEC(), setSubscipParameters(), setupAndSolve(), setupAndSolveCumulativeSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipRapidlearning(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), subscipSetParams(), wrapperDins(), and wrapperRins().
SCIP_RETCODE SCIPsetHeuristics | ( | SCIP * | scip, |
SCIP_PARAMSETTING | paramsetting, | ||
SCIP_Bool | quiet | ||
) |
sets heuristic parameters values to
sets heuristic parameters values to
scip | SCIP data structure |
paramsetting | parameter settings |
quiet | should the parameter be set quiet (no output) |
Definition at line 5106 of file scip.c.
References Scip::messagehdlr, 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(), searchEcAggrWithMIP(), setupAndSolveSubscipOneopt(), setupSCIPparamsFP2(), and solveSubproblem().
SCIP_RETCODE SCIPsetPresolving | ( | SCIP * | scip, |
SCIP_PARAMSETTING | paramsetting, | ||
SCIP_Bool | quiet | ||
) |
sets presolving parameters to
sets presolving parameters to
scip | SCIP data structure |
paramsetting | parameter settings |
quiet | should the parameter be set quiet (no output) |
Definition at line 5132 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIP_PARAMSETTING_DEFAULT, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIPsetSetPresolving(), and Scip::set.
Referenced by createSubscip(), doSolveSubMIP(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), setSubscipParameters(), setupAndSolve(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), solveSubNLP(), solveSubproblem(), subscipSetParams(), wrapperDins(), and wrapperRins().
SCIP_RETCODE SCIPsetSeparating | ( | SCIP * | scip, |
SCIP_PARAMSETTING | paramsetting, | ||
SCIP_Bool | quiet | ||
) |
sets separating parameters to
sets separating parameters to
scip | SCIP data structure |
paramsetting | parameter settings |
quiet | should the parameter be set quiet (no output) |
Definition at line 5158 of file scip.c.
References Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIP_PARAMSETTING_DEFAULT, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIPsetSetSeparating(), and Scip::set.
Referenced by doSolveSubMIP(), runShell(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), setSubscipParameters(), setupAndSolve(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), subscipSetParams(), wrapperDins(), and wrapperRins().
SCIP_PARAM** SCIPgetParams | ( | SCIP * | scip | ) |
returns the array of all available SCIP parameters
scip | SCIP data structure |
Definition at line 5178 of file scip.c.
References SCIPsetGetParams(), and Scip::set.
Referenced by collectNondefaultParams(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
int SCIPgetNParams | ( | SCIP * | scip | ) |
returns the total number of all available SCIP parameters
scip | SCIP data structure |
Definition at line 5192 of file scip.c.
References SCIPsetGetNParams(), and Scip::set.
Referenced by collectNondefaultParams(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().