Scippy

GCG

Branch-and-Price & Column Generation for Everyone

Detailed Description

All pricing-related public functionalities.

Modules

 Pricing Job
 
 Pricing Problem
 
 GCG Variable Pricer
 
GCG_EXPORT SCIP_DECL_SORTPTRCOMP (GCGsolverComp)
 
GCG_EXPORT GCG_SOLVERDATA * GCGsolverGetData (GCG_SOLVER *solver)
 
GCG_EXPORT void GCGsolverSetData (GCG_SOLVER *solver, GCG_SOLVERDATA *solverdata)
 
GCG_EXPORT const char * GCGsolverGetName (GCG_SOLVER *solver)
 
GCG_EXPORT const char * GCGsolverGetDesc (GCG_SOLVER *solver)
 
GCG_EXPORT int GCGsolverGetPriority (GCG_SOLVER *solver)
 
GCG_EXPORT SCIP_Bool GCGsolverIsHeurEnabled (GCG_SOLVER *solver)
 
GCG_EXPORT SCIP_Bool GCGsolverIsExactEnabled (GCG_SOLVER *solver)
 
GCG_EXPORT int GCGsolverGetOptFarkasCalls (GCG_SOLVER *solver)
 
GCG_EXPORT int GCGsolverGetOptRedcostCalls (GCG_SOLVER *solver)
 
GCG_EXPORT int GCGsolverGetHeurFarkasCalls (GCG_SOLVER *solver)
 
GCG_EXPORT int GCGsolverGetHeurRedcostCalls (GCG_SOLVER *solver)
 
GCG_EXPORT SCIP_Real GCGsolverGetOptFarkasTime (GCG *gcg, GCG_SOLVER *solver)
 
GCG_EXPORT SCIP_Real GCGsolverGetOptRedcostTime (GCG *gcg, GCG_SOLVER *solver)
 
GCG_EXPORT SCIP_Real GCGsolverGetHeurFarkasTime (GCG *gcg, GCG_SOLVER *solver)
 
GCG_EXPORT SCIP_Real GCGsolverGetHeurRedcostTime (GCG *gcg, GCG_SOLVER *solver)
 

Function Documentation

◆ SCIP_DECL_SORTPTRCOMP()

GCG_EXPORT SCIP_DECL_SORTPTRCOMP ( GCGsolverComp  )

compares two solvers w. r. t. their priorities

Definition at line 52 of file solver.c.

References NULL, and GCG_Solver::priority.

◆ GCGsolverGetData()

GCG_EXPORT GCG_SOLVERDATA * GCGsolverGetData ( GCG_SOLVER *  solver)

gets user data of GCG pricing solver

Parameters
solverpricing solver

Definition at line 400 of file solver.c.

References NULL, and GCG_Solver::solverdata.

Referenced by GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERFREE(), GCG_DECL_SOLVERINITSOL(), GCG_DECL_SOLVERSOLVE(), GCG_DECL_SOLVERSOLVEHEUR(), GCG_DECL_SOLVERUPDATE(), and solverGcgPrepareNestedSolver().

◆ GCGsolverSetData()

GCG_EXPORT void GCGsolverSetData ( GCG_SOLVER *  solver,
GCG_SOLVERDATA *  solverdata 
)

sets user data of GCG pricing solver

Parameters
solverpricing solver
solverdatapricing solver data

Definition at line 410 of file solver.c.

References NULL, and GCG_Solver::solverdata.

Referenced by GCG_DECL_SOLVERFREE().

◆ GCGsolverGetName()

GCG_EXPORT const char * GCGsolverGetName ( GCG_SOLVER *  solver)

gets name of GCG pricing solver

Parameters
solverpricing solver

Definition at line 421 of file solver.c.

References GCG_Solver::name, and NULL.

Referenced by gcg::Pricingcontroller::evaluatePricingjob(), GCGpricerPrintListOfSolvers(), GCGpricerPrintPricingStatistics(), and ObjPricerGcg::pricingLoop().

◆ GCGsolverGetDesc()

GCG_EXPORT const char * GCGsolverGetDesc ( GCG_SOLVER *  solver)

gets description of GCG pricing solver

Parameters
solverpricing solver

Definition at line 431 of file solver.c.

References GCG_Solver::desc, and NULL.

Referenced by GCGpricerPrintListOfSolvers().

◆ GCGsolverGetPriority()

GCG_EXPORT int GCGsolverGetPriority ( GCG_SOLVER *  solver)

gets priority of GCG pricing solver

Parameters
solverpricing solver

Definition at line 441 of file solver.c.

References NULL, and GCG_Solver::priority.

Referenced by GCGpricerPrintListOfSolvers(), and gcg::SCIP_DECL_SORTPTRCOMP().

◆ GCGsolverIsHeurEnabled()

GCG_EXPORT SCIP_Bool GCGsolverIsHeurEnabled ( GCG_SOLVER *  solver)

gets whether heuristic solving method of GCG pricing solver is enabled

Parameters
solverpricing solver

Definition at line 451 of file solver.c.

References GCG_Solver::heurenabled, NULL, and SCIP_Bool.

Referenced by GCGpricerPrintListOfSolvers(), GCGpricingjobNextSolver(), GCGpricingjobResetHeuristic(), GCGpricingjobResetSolver(), GCGpricingjobSetup(), and gcg::Pricingcontroller::initSol().

◆ GCGsolverIsExactEnabled()

GCG_EXPORT SCIP_Bool GCGsolverIsExactEnabled ( GCG_SOLVER *  solver)

gets whether exact solving method of GCG pricing solver is enabled

Parameters
solverpricing solver

Definition at line 461 of file solver.c.

References GCG_Solver::exactenabled, NULL, and SCIP_Bool.

Referenced by GCGpricerPrintListOfSolvers(), GCGpricingjobNextSolver(), GCGpricingjobResetSolver(), and gcg::Pricingcontroller::initSol().

◆ GCGsolverGetOptFarkasCalls()

GCG_EXPORT int GCGsolverGetOptFarkasCalls ( GCG_SOLVER *  solver)

gets number of exact Farkas pricing calls of pricing solver

Parameters
solverpricing solver

Definition at line 471 of file solver.c.

References NULL, and GCG_Solver::optfarkascalls.

Referenced by GCGpricerPrintPricingStatistics().

◆ GCGsolverGetOptRedcostCalls()

GCG_EXPORT int GCGsolverGetOptRedcostCalls ( GCG_SOLVER *  solver)

gets number of exact reduced cost pricing calls of pricing solver

Parameters
solverpricing solver

Definition at line 481 of file solver.c.

References NULL, and GCG_Solver::optredcostcalls.

Referenced by GCGpricerPrintPricingStatistics().

◆ GCGsolverGetHeurFarkasCalls()

GCG_EXPORT int GCGsolverGetHeurFarkasCalls ( GCG_SOLVER *  solver)

gets number of heuristic Farkas pricing calls of pricing solver

Parameters
solverpricing solver

Definition at line 491 of file solver.c.

References GCG_Solver::heurfarkascalls, and NULL.

Referenced by GCGpricerPrintPricingStatistics().

◆ GCGsolverGetHeurRedcostCalls()

GCG_EXPORT int GCGsolverGetHeurRedcostCalls ( GCG_SOLVER *  solver)

gets number of heuristic reduced cost pricing calls of pricing solver

Parameters
solverpricing solver

Definition at line 501 of file solver.c.

References GCG_Solver::heurredcostcalls, and NULL.

Referenced by GCGpricerPrintPricingStatistics().

◆ GCGsolverGetOptFarkasTime()

GCG_EXPORT SCIP_Real GCGsolverGetOptFarkasTime ( GCG *  gcg,
GCG_SOLVER *  solver 
)

gets exact Farkas pricing time of pricing solver

Parameters
gcgGCG data structure
solverpricing solver

Definition at line 511 of file solver.c.

References GCGgetMasterprob(), NULL, GCG_Solver::optfarkasclock, SCIP_Real, and SCIPgetClockTime().

Referenced by GCGpricerPrintPricingStatistics().

◆ GCGsolverGetOptRedcostTime()

GCG_EXPORT SCIP_Real GCGsolverGetOptRedcostTime ( GCG *  gcg,
GCG_SOLVER *  solver 
)

gets exact reduced cost pricing time of pricing solver

Parameters
gcgGCG data structure
solverpricing solver

Definition at line 523 of file solver.c.

References GCGgetMasterprob(), NULL, GCG_Solver::optredcostclock, SCIP_Real, and SCIPgetClockTime().

Referenced by GCGpricerPrintPricingStatistics().

◆ GCGsolverGetHeurFarkasTime()

GCG_EXPORT SCIP_Real GCGsolverGetHeurFarkasTime ( GCG *  gcg,
GCG_SOLVER *  solver 
)

gets heuristic Farkas pricing time of pricing solver

Parameters
gcgGCG data structure
solverpricing solver

Definition at line 535 of file solver.c.

References GCGgetMasterprob(), GCG_Solver::heurfarkasclock, NULL, SCIP_Real, and SCIPgetClockTime().

Referenced by GCGpricerPrintPricingStatistics().

◆ GCGsolverGetHeurRedcostTime()

GCG_EXPORT SCIP_Real GCGsolverGetHeurRedcostTime ( GCG *  gcg,
GCG_SOLVER *  solver 
)

gets heuristic reduced cost pricing time of pricing solver

Parameters
gcgGCG data structure
solverpricing solver

Definition at line 547 of file solver.c.

References GCGgetMasterprob(), GCG_Solver::heurredcostclock, NULL, SCIP_Real, and SCIPgetClockTime().

Referenced by GCGpricerPrintPricingStatistics().