Detailed Description
private methods for working with pricing jobs, to be used by the pricing controller only
Definition in file pricingjob.h.
Go to the source code of this file.
Functions | |
SCIP_EXPORT SCIP_RETCODE | GCGpricingjobCreate (SCIP *scip, GCG_PRICINGJOB **pricingjob, GCG_PRICINGPROB *pricingprob, GCG_SOLVER *solver, int chunk) |
SCIP_EXPORT void | GCGpricingjobFree (SCIP *scip, GCG_PRICINGJOB **pricingjob) |
SCIP_EXPORT SCIP_RETCODE | GCGpricingjobSetup (SCIP *scip, GCG_PRICINGJOB *pricingjob, SCIP_Bool heuristic, int scoring, int nroundscol, SCIP_Real dualsolconv, int npointsprob, int nraysprob) |
SCIP_EXPORT void | GCGpricingjobResetSolver (SCIP *scip, GCG_PRICINGJOB *pricingjob) |
SCIP_EXPORT void | GCGpricingjobNextSolver (SCIP *scip, GCG_PRICINGJOB *pricingjob) |
SCIP_EXPORT void | GCGpricingjobSetExact (GCG_PRICINGJOB *pricingjob) |
SCIP_EXPORT void | GCGpricingjobResetHeuristic (GCG_PRICINGJOB *pricingjob) |
SCIP_EXPORT void | GCGpricingjobIncreaseNHeurIters (GCG_PRICINGJOB *pricingjob) |
Function Documentation
◆ GCGpricingjobCreate()
SCIP_EXPORT SCIP_RETCODE GCGpricingjobCreate | ( | SCIP * | scip, |
GCG_PRICINGJOB ** | pricingjob, | ||
GCG_PRICINGPROB * | pricingprob, | ||
GCG_SOLVER * | solver, | ||
int | chunk | ||
) |
create a pricing job
Definition at line 51 of file pricingjob.c.
Referenced by gcg::Pricingcontroller::initSol().
◆ GCGpricingjobFree()
SCIP_EXPORT void GCGpricingjobFree | ( | SCIP * | scip, |
GCG_PRICINGJOB ** | pricingjob | ||
) |
free a pricing job
Definition at line 72 of file pricingjob.c.
Referenced by gcg::Pricingcontroller::exitSol().
◆ GCGpricingjobSetup()
SCIP_EXPORT SCIP_RETCODE GCGpricingjobSetup | ( | SCIP * | scip, |
GCG_PRICINGJOB * | pricingjob, | ||
SCIP_Bool | heuristic, | ||
int | scoring, | ||
int | nroundscol, | ||
SCIP_Real | dualsolconv, | ||
int | npointsprob, | ||
int | nraysprob | ||
) |
setup a pricing job at the beginning of the pricing loop
Definition at line 82 of file pricingjob.c.
References GCGpricingjobGetPricingprob(), GCGpricingjobResetHeuristic(), GCGpricingjobResetSolver(), GCGpricingjobSetExact(), GCGpricingprobGetNColsLastRounds(), GCGpricingprobGetProbnr(), and GCG_PricingJob::score.
Referenced by gcg::Pricingcontroller::setupPriorityQueue().
◆ GCGpricingjobResetSolver()
SCIP_EXPORT void GCGpricingjobResetSolver | ( | SCIP * | scip, |
GCG_PRICINGJOB * | pricingjob | ||
) |
reset the pricing solver to be used to the one with the highest priority
Definition at line 141 of file pricingjob.c.
References GCGpricerGetNSolvers(), GCGpricerGetSolvers(), GCGsolverIsExactEnabled(), GCGsolverIsHeurEnabled(), and GCG_PricingJob::solver.
Referenced by GCGpricingjobSetup().
◆ GCGpricingjobNextSolver()
SCIP_EXPORT void GCGpricingjobNextSolver | ( | SCIP * | scip, |
GCG_PRICINGJOB * | pricingjob | ||
) |
get the next pricing solver to be used, or NULL of there is none
Definition at line 171 of file pricingjob.c.
References GCGpricerGetNSolvers(), GCGpricerGetSolvers(), GCGsolverIsExactEnabled(), GCGsolverIsHeurEnabled(), and GCG_PricingJob::solver.
Referenced by gcg::Pricingcontroller::evaluatePricingjob().
◆ GCGpricingjobSetExact()
SCIP_EXPORT void GCGpricingjobSetExact | ( | GCG_PRICINGJOB * | pricingjob | ) |
set the pricing job to be performed exactly
Definition at line 230 of file pricingjob.c.
References GCG_PricingJob::heuristic.
Referenced by gcg::Pricingcontroller::evaluatePricingjob(), and GCGpricingjobSetup().
◆ GCGpricingjobResetHeuristic()
SCIP_EXPORT void GCGpricingjobResetHeuristic | ( | GCG_PRICINGJOB * | pricingjob | ) |
reset number of heuristic pricing iterations of a pricing job
Definition at line 238 of file pricingjob.c.
References GCGsolverIsHeurEnabled(), GCG_PricingJob::heuristic, GCG_PricingJob::nheuriters, and GCG_PricingJob::solver.
Referenced by gcg::Pricingcontroller::evaluatePricingjob(), GCGpricingjobSetup(), and gcg::Pricingcontroller::pricingprobNextBranchcons().
◆ GCGpricingjobIncreaseNHeurIters()
SCIP_EXPORT void GCGpricingjobIncreaseNHeurIters | ( | GCG_PRICINGJOB * | pricingjob | ) |
update number of heuristic pricing iterations of a pricing job
Definition at line 250 of file pricingjob.c.
References GCG_PricingJob::heuristic, and GCG_PricingJob::nheuriters.
Referenced by gcg::Pricingcontroller::evaluatePricingjob().