All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
relax.h File Reference Detailed Descriptioninternal methods for relaxators Definition in file relax.h. #include "scip/def.h" #include "blockmemshell/memory.h" #include "scip/type_retcode.h" #include "scip/type_result.h" #include "scip/type_set.h" #include "scip/type_stat.h" #include "scip/type_relax.h" #include "scip/pub_relax.h" Go to the source code of this file. Function Documentation
copies the given relaxator to a new scip copies the given relaxation handler to a new scip
Definition at line 69 of file relax.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIPrelaxGetName(). Referenced by SCIPsetCopyPlugins().
creates a relaxator creates a relaxation handler
Definition at line 87 of file relax.c. References BMSallocMemory, BMSduplicateMemoryArray, FALSE, NULL, paramname, SCIP_ALLOC, SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPclockCreate(), SCIPsetAddIntParam(), and SCIPsnprintf(). Referenced by SCIPincludeRelax(), and SCIPincludeRelaxBasic().
calls destructor and frees memory of relaxator calls destructor and frees memory of relaxation handler
Definition at line 149 of file relax.c. References BMSfreeMemory, BMSfreeMemoryArray, NULL, SCIP_CALL, SCIP_OKAY, and SCIPclockFree(). Referenced by SCIPsetFree().
initializes relaxator initializes relaxation handler
Definition at line 175 of file relax.c. References SCIP_Relax::initialized, SCIP_Relax::lastsolvednode, SCIP_Relax::name, SCIP_Relax::ncalls, NULL, SCIP_Relax::relaxclock, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockReset(), SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIP_Relax::setuptime, and TRUE. Referenced by SCIPsetInitPlugins().
calls exit method of relaxator calls exit method of relaxation handler
Definition at line 213 of file relax.c. References FALSE, SCIP_Relax::initialized, SCIP_Relax::name, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, and SCIP_Relax::setuptime. Referenced by SCIPsetExitPlugins().
informs relaxator that the branch and bound process is being started informs relaxation handler that the branch and bound process is being started
Definition at line 243 of file relax.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Relax::setuptime. Referenced by SCIPsetInitsolPlugins().
informs relaxator that the branch and bound process data is being freed informs relaxation handler that the branch and bound process data is being freed
Definition at line 267 of file relax.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Relax::setuptime. Referenced by SCIPsetExitsolPlugins().
calls execution method of relaxator calls execution method of relaxation handler
Definition at line 291 of file relax.c. References SCIP_Relax::freq, SCIP_Relax::lastsolvednode, SCIP_Relax::name, SCIP_Relax::ncalls, SCIP_Stat::ntotalnodes, NULL, SCIP_Relax::relaxclock, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIP_SUCCESS, SCIP_SUSPENDED, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, SCIPerrorMessage, and SCIPrelaxMarkUnsolved(). Referenced by solveNodeRelax().
sets priority of relaxator sets priority of relaxation handler
Definition at line 471 of file relax.c. References FALSE, NULL, and SCIP_Relax::priority. Referenced by SCIPsetRelaxPriority().
set copy callback of relaxation handler set copy method of relaxation handler
Definition at line 375 of file relax.c. References NULL. Referenced by SCIPsetRelaxCopy().
set destructor callback of relaxation handler set destructor of relaxation handler
Definition at line 386 of file relax.c. References NULL. Referenced by SCIPsetRelaxFree().
set initialization callback of relaxation handler set initialization method of relaxation handler
Definition at line 397 of file relax.c. References NULL. Referenced by SCIPsetRelaxInit().
set deinitialization callback of relaxation handler set deinitialization method of relaxation handler
Definition at line 408 of file relax.c. References NULL. Referenced by SCIPsetRelaxExit().
set solving process initialization callback of relaxation handler set solving process initialization method of relaxation handler
Definition at line 419 of file relax.c. References NULL. Referenced by SCIPsetRelaxInitsol().
set solving process deinitialization callback of relaxation handler set solving process deinitialization method of relaxation handler
Definition at line 430 of file relax.c. References NULL. Referenced by SCIPsetRelaxExitsol().
returns whether the relaxation was completely solved at the current node
Definition at line 535 of file relax.c. References SCIP_Relax::lastsolvednode, SCIP_Stat::ntotalnodes, and NULL. Referenced by updateLoopStatus().
creates global relaxation data
Definition at line 561 of file relax.c. References BMSallocMemory, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, and TRUE. Referenced by SCIPtransformProb().
frees global relaxation data
Definition at line 575 of file relax.c. References BMSfreeMemory, NULL, and SCIP_OKAY. Referenced by freeTransform().
sets the relaxsolzero flag in the relaxation data to the given value
Definition at line 587 of file relax.c. References NULL, and SCIP_Relaxation::relaxsolzero. Referenced by SCIPclearRelaxSolVals(), SCIPsetRelaxSolVal(), SCIPsetRelaxSolVals(), and SCIPsetRelaxSolValsSol().
returns whether the global relaxation solution is cleared and all values are set to zero
Definition at line 598 of file relax.c. References NULL, and SCIP_Relaxation::relaxsolzero. Referenced by SCIPclearRelaxSolVals().
sets the relaxsolvalid flag in the relaxation data to the given value
Definition at line 608 of file relax.c. References NULL, and SCIP_Relaxation::relaxsolvalid. Referenced by markRelaxsUnsolved(), SCIPmarkRelaxSolInvalid(), SCIPmarkRelaxSolValid(), SCIPsetRelaxSolVal(), SCIPsetRelaxSolVals(), SCIPsetRelaxSolValsSol(), and solveNode().
returns whether the global relaxation solution is valid
Definition at line 619 of file relax.c. References NULL, and SCIP_Relaxation::relaxsolvalid. Referenced by SCIPcreateRelaxSol(), SCIPgetRelaxSolObj(), SCIPgetRelaxSolVal(), SCIPisRelaxSolValid(), SCIPlinkRelaxSol(), SCIPsolCreateRelaxSol(), and SCIPsolLinkRelaxSol().
sets the objective value of the global relaxation solution
Definition at line 629 of file relax.c. References NULL, and SCIP_Relaxation::relaxsolobjval. Referenced by SCIPclearRelaxSolVals(), and SCIPsetRelaxSolValsSol().
returns the objective value of the global relaxation solution w.r.t. the transformed problem
Definition at line 640 of file relax.c. References NULL, and SCIP_Relaxation::relaxsolobjval. Referenced by SCIPgetRelaxSolObj(), and SCIPsolLinkRelaxSol().
adds the given value to the global relaxation solution's objective value
Definition at line 650 of file relax.c. References NULL, and SCIP_Relaxation::relaxsolobjval. Referenced by SCIPvarSetRelaxSol(). |