GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches

Detailed Description

All pricing-related public functionalities.

Topics

 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 assert(), and GCG_Solver::priority.

◆ GCGsolverGetData()

◆ 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 assert(), GCGsolverSetData(), and GCG_Solver::solverdata.

Referenced by GCG_DECL_SOLVERFREE(), GCG_DECL_SOLVERFREE(), GCG_DECL_SOLVERFREE(), GCG_DECL_SOLVERFREE(), GCG_DECL_SOLVERFREE(), and GCGsolverSetData().

◆ 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 assert(), GCGsolverGetName(), and GCG_Solver::name.

Referenced by gcg::Pricingcontroller::evaluatePricingjob(), GCGpricerPrintListOfSolvers(), GCGpricerPrintPricingStatistics(), GCGsolverGetName(), 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 assert(), GCG_Solver::desc, and GCGsolverGetDesc().

Referenced by GCGpricerPrintListOfSolvers(), and GCGsolverGetDesc().

◆ 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 assert(), GCGsolverGetPriority(), and GCG_Solver::priority.

Referenced by GCGpricerPrintListOfSolvers(), GCGsolverGetPriority(), 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 assert(), GCGsolverIsHeurEnabled(), and GCG_Solver::heurenabled.

Referenced by GCGpricerPrintListOfSolvers(), GCGpricingjobNextSolver(), GCGpricingjobResetHeuristic(), GCGpricingjobResetSolver(), GCGpricingjobSetup(), GCGsolverIsHeurEnabled(), 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 assert(), GCG_Solver::exactenabled, and GCGsolverIsExactEnabled().

Referenced by GCGpricerPrintListOfSolvers(), GCGpricingjobNextSolver(), GCGpricingjobResetSolver(), GCGsolverIsExactEnabled(), 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 assert(), GCGsolverGetOptFarkasCalls(), and GCG_Solver::optfarkascalls.

Referenced by GCGpricerPrintPricingStatistics(), and GCGsolverGetOptFarkasCalls().

◆ 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 assert(), GCGsolverGetOptRedcostCalls(), and GCG_Solver::optredcostcalls.

Referenced by GCGpricerPrintPricingStatistics(), and GCGsolverGetOptRedcostCalls().

◆ 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 assert(), GCGsolverGetHeurFarkasCalls(), and GCG_Solver::heurfarkascalls.

Referenced by GCGpricerPrintPricingStatistics(), and GCGsolverGetHeurFarkasCalls().

◆ 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 assert(), GCGsolverGetHeurRedcostCalls(), and GCG_Solver::heurredcostcalls.

Referenced by GCGpricerPrintPricingStatistics(), and GCGsolverGetHeurRedcostCalls().

◆ 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 assert(), GCGgetMasterprob(), GCGsolverGetOptFarkasTime(), and GCG_Solver::optfarkasclock.

Referenced by GCGpricerPrintPricingStatistics(), and GCGsolverGetOptFarkasTime().

◆ 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 assert(), GCGgetMasterprob(), GCGsolverGetOptRedcostTime(), and GCG_Solver::optredcostclock.

Referenced by GCGpricerPrintPricingStatistics(), and GCGsolverGetOptRedcostTime().

◆ 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 assert(), GCGgetMasterprob(), GCGsolverGetHeurFarkasTime(), and GCG_Solver::heurfarkasclock.

Referenced by GCGpricerPrintPricingStatistics(), and GCGsolverGetHeurFarkasTime().

◆ 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 assert(), GCGgetMasterprob(), GCGsolverGetHeurRedcostTime(), and GCG_Solver::heurredcostclock.

Referenced by GCGpricerPrintPricingStatistics(), and GCGsolverGetHeurRedcostTime().