methods for timing
gets current time of day in seconds (standard time zone)
scip | SCIP data structure |
Definition at line 62 of file scip_timing.c.
References assert(), NULL, SCIP_Real, and SCIPclockGetTimeOfDay().
SCIP_RETCODE SCIPcreateClock | ( | SCIP * | scip, |
SCIP_CLOCK ** | clck ) |
creates a clock using the default clock type
scip | SCIP data structure |
clck | pointer to clock timer |
Definition at line 76 of file scip_timing.c.
References assert(), NULL, SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_OKAY, and SCIPclockCreate().
Referenced by alnsIncludeNeighborhood(), applyVbounds(), includeDivingHeurs(), runBenders(), schedulerIncludeNeighborhood(), SCIP_DECL_BRANCHINIT(), SCIPapplyUndercover(), SCIPincludeBranchruleCloud(), SCIPincludeConshdlrNonlinear(), SCIPincludeEventHdlrShadowTree(), SCIPnlhdlrCreate(), and SCIPnlpiOracleCreate().
SCIP_RETCODE SCIPcreateCPUClock | ( | SCIP * | scip, |
SCIP_CLOCK ** | clck ) |
creates a clock counting the CPU user seconds
scip | SCIP data structure |
clck | pointer to clock timer |
Definition at line 93 of file scip_timing.c.
References assert(), NULL, SCIP_CALL, SCIP_CLOCKTYPE_CPU, SCIP_OKAY, and SCIPclockCreate().
SCIP_RETCODE SCIPcreateWallClock | ( | SCIP * | scip, |
SCIP_CLOCK ** | clck ) |
creates a clock counting the wall clock seconds
scip | SCIP data structure |
clck | pointer to clock timer |
Definition at line 110 of file scip_timing.c.
References assert(), NULL, SCIP_CALL, SCIP_CLOCKTYPE_WALL, SCIP_OKAY, and SCIPclockCreate().
Referenced by SCIPconcsolverCreateInstance(), and SCIPcreateConcurrent().
SCIP_RETCODE SCIPfreeClock | ( | SCIP * | scip, |
SCIP_CLOCK ** | clck ) |
frees a clock
scip | SCIP data structure |
clck | pointer to clock timer |
Definition at line 127 of file scip_timing.c.
References assert(), NULL, SCIP_OKAY, and SCIPclockFree().
Referenced by alnsFreeNeighborhood(), applyVbounds(), runBenders(), schedulerFreeDivingHeur(), schedulerFreeNeighborhood(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_CONSFREE(), SCIP_DECL_EVENTFREE(), SCIPapplyUndercover(), SCIPconcsolverDestroyInstance(), SCIPfreeConcurrent(), SCIPnlhdlrFree(), and SCIPnlpiOracleFree().
SCIP_RETCODE SCIPresetClock | ( | SCIP * | scip, |
SCIP_CLOCK * | clck ) |
resets the time measurement of a clock to zero and completely stops the clock
scip | SCIP data structure |
clck | clock timer |
Definition at line 144 of file scip_timing.c.
References assert(), NULL, SCIP_OKAY, and SCIPclockReset().
Referenced by heurStatsReset(), neighborhoodStatsReset(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_CONSINIT(), SCIP_DECL_NLHDLRINIT(), SCIPincrementConcurrentTime(), SCIPnlpiOracleResetEvalTime(), and updateTimelimit().
SCIP_RETCODE SCIPstartClock | ( | SCIP * | scip, |
SCIP_CLOCK * | clck ) |
starts the time measurement of a clock
scip | SCIP data structure |
clck | clock timer |
Definition at line 161 of file scip_timing.c.
References assert(), NULL, SCIP_OKAY, and SCIPclockStart().
Referenced by applyVbounds(), canonicalizeConstraints(), executeDivingHeuristic(), executeLNSHeuristic(), runBenders(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_NLHDLRDETECT(), SCIP_DECL_NLHDLRENFO(), SCIP_DECL_NLHDLRESTIMATE(), SCIP_DECL_NLHDLREXITSEPA(), SCIP_DECL_NLHDLRINITSEPA(), SCIP_DECL_NLHDLRINTEVAL(), SCIP_DECL_NLHDLRREVERSEPROP(), SCIPapplyUndercover(), SCIPconcsolverSync(), SCIPcreateConcurrent(), SCIPincrementConcurrentTime(), SCIPnlpiOracleEvalConstraintGradient(), SCIPnlpiOracleEvalConstraintValue(), SCIPnlpiOracleEvalConstraintValues(), SCIPnlpiOracleEvalHessianLag(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleEvalObjectiveGradient(), SCIPnlpiOracleEvalObjectiveValue(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleGetJacobianSparsity(), and updateTimelimit().
SCIP_RETCODE SCIPstopClock | ( | SCIP * | scip, |
SCIP_CLOCK * | clck ) |
stops the time measurement of a clock
scip | SCIP data structure |
clck | clock timer |
Definition at line 178 of file scip_timing.c.
References assert(), NULL, SCIP_OKAY, and SCIPclockStop().
Referenced by applyVbounds(), canonicalizeConstraints(), executeDivingHeuristic(), executeLNSHeuristic(), runBenders(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_NLHDLRDETECT(), SCIP_DECL_NLHDLRENFO(), SCIP_DECL_NLHDLRESTIMATE(), SCIP_DECL_NLHDLREXITSEPA(), SCIP_DECL_NLHDLRINITSEPA(), SCIP_DECL_NLHDLRINTEVAL(), SCIP_DECL_NLHDLRREVERSEPROP(), SCIPconcsolverSync(), SCIPnlpiOracleEvalConstraintGradient(), SCIPnlpiOracleEvalConstraintValue(), SCIPnlpiOracleEvalConstraintValues(), SCIPnlpiOracleEvalHessianLag(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleEvalObjectiveGradient(), SCIPnlpiOracleEvalObjectiveValue(), SCIPnlpiOracleGetHessianLagSparsity(), and SCIPnlpiOracleGetJacobianSparsity().
void SCIPsetClockEnabled | ( | SCIP_CLOCK * | clck, |
SCIP_Bool | enable ) |
enables or disables clck
clck | the clock to be disabled/enabled |
enable | should the clock be enabled or disabled? |
Definition at line 191 of file scip_timing.c.
References SCIP_Bool, and SCIPclockEnableOrDisable().
Referenced by SCIPnlpiOracleCreate().
SCIP_RETCODE SCIPenableOrDisableStatisticTiming | ( | SCIP * | scip | ) |
enables or disables all statistic clocks of SCIP concerning plugin statistics, LP execution time, strong branching time, etc.
Method reads the value of the parameter timing/statistictiming. In order to disable statistic timing, set the parameter to FALSE.
See SCIP_STAGE for a complete list of all possible solving stages.
enables or disables all statistic clocks of SCIP concerning plugin statistics, LP execution time, strong branching time, etc.
Method reads the value of the parameter timing/statistictiming. In order to disable statistic timing, set the parameter to FALSE.
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 227 of file scip_timing.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_INIT, SCIP_STAGE_TRANSFORMING, SCIPcheckStage(), SCIPconflictEnableOrDisableClocks(), SCIPsetEnableOrDisablePluginClocks(), SCIPstatEnableOrDisableStatClocks(), and TRUE.
Referenced by SCIP_DECL_PARAMCHGD().
SCIP_RETCODE SCIPstartSolvingTime | ( | SCIP * | scip | ) |
starts the current solving time
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 270 of file scip_timing.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPclockStart(), and TRUE.
SCIP_RETCODE SCIPstopSolvingTime | ( | SCIP * | scip | ) |
stops the current solving time in seconds
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 303 of file scip_timing.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPclockStop(), and TRUE.
SCIP_Real SCIPgetClockTime | ( | SCIP * | scip, |
SCIP_CLOCK * | clck ) |
gets the measured time of a clock in seconds
scip | SCIP data structure |
clck | clock timer |
Definition at line 319 of file scip_timing.c.
References assert(), NULL, SCIP_Real, and SCIPclockGetTime().
Referenced by printDivingHeurStatistics(), printLongStatistics(), printNeighborhoodStatistics(), printNeighborhoodStatistics(), printShortStatistics(), runBenders(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_TABLEOUTPUT(), SCIPapplyUndercover(), SCIPcopyConcurrentSolvingStats(), SCIPgetShadowTreeEventHandlerExecutionTime(), SCIPincrementConcurrentTime(), SCIPnlhdlrPrintStatistics(), SCIPnlpiOracleGetEvalTime(), and updateTimelimit().
SCIP_RETCODE SCIPsetClockTime | ( | SCIP * | scip, |
SCIP_CLOCK * | clck, | ||
SCIP_Real | sec ) |
sets the measured time of a clock to the given value in seconds
scip | SCIP data structure |
clck | clock timer |
sec | time in seconds to set the clock's timer to |
Definition at line 334 of file scip_timing.c.
References assert(), NULL, SCIP_OKAY, SCIP_Real, and SCIPclockSetTime().
Referenced by SCIPcopyConcurrentSolvingStats().
gets the current total SCIP time in seconds, possibly accumulated over several problems.
scip | SCIP data structure |
Definition at line 351 of file scip_timing.c.
References assert(), NULL, SCIP_Real, and SCIPclockGetTime().
Referenced by detectMinors(), detectMinors(), enumeratePatterns(), reoptimize(), SCIP_DECL_SEPAEXECLP(), SCIPprobdataEnumeratePatterns(), SCIPverifyCircularPatternHeuristic(), setupProblem(), and solvePricingHeuristic().
gets the current solving time in seconds
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 378 of file scip_timing.c.
References FALSE, SCIP_CALL_ABORT, SCIP_Real, SCIPcheckStage(), SCIPclockGetTime(), and TRUE.
Referenced by applyBoundHeur(), applyOptcumulative(), applyProbing(), applyRepair(), applyVbounds(), computeAutomorphisms(), computeAutomorphisms(), computeAutomorphisms(), copyMemoryAndTimeLimits(), copySofttimelimit(), determineLimits(), determineSymmetry(), doPricing(), doSeachEcAggr(), ensureSymmetryComponentsComputed(), getCopyTimelimit(), getTimeLeft(), getX(), presolve(), presolveRound(), printReport(), SCIP_DECL_CONCSOLVEREXEC(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_SEPAEXECLP(), SCIPapplyProximity(), SCIPprintSolutionStatistics(), SCIPsolve(), setAndUpdateCorePoint(), setSubscipLimits(), setupAndSolve(), setupAndSolve(), setupAndSolveSubscip(), solveAndEvalSubscip(), solveComponent(), solveCumulative(), solveIndependentCons(), solveLagromoryLP(), solveLPWithHardCuts(), solveNlp(), solveSubNLP(), solveSubscip(), solveSubscip(), SYMcomputeSymmetryGenerators(), testCriteria(), transitionPhase3(), and verifyCircularPattern().
gets the current reading time in seconds
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 405 of file scip_timing.c.
References assert(), FALSE, NULL, r, SCIP_CALL_ABORT, SCIP_Real, SCIPcheckStage(), SCIPisNegative(), SCIPreaderGetReadingTime(), and TRUE.
Referenced by SCIPprintTimingStatistics(), and SCIPreadProb().
gets the current presolving time in seconds
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 442 of file scip_timing.c.
References FALSE, SCIP_CALL_ABORT, SCIP_Real, SCIPcheckStage(), SCIPclockGetTime(), and TRUE.
Referenced by applyRepair(), SCIPapplyProximity(), and solveSubscipLpface().
gets the time need to solve the first LP in the root node
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 468 of file scip_timing.c.
References FALSE, SCIP_CALL_ABORT, SCIP_Real, SCIPcheckStage(), and TRUE.
Referenced by SCIP_DECL_SEPAEXECLP(), and SCIPprintRootStatistics().