Scippy

GCG

Branch-and-Price & Column Generation for Everyone

pricingjob.h File Reference

Detailed Description

private methods for working with pricing jobs, to be used by the pricing controller only

Author
Christian Puchert

Definition in file pricingjob.h.

#include "struct_pricingjob.h"
#include "type_pricingjob.h"
#include "type_pricingprob.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 
)

◆ 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)

◆ 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().