pub_solver.h File Reference
#include "type_solver.h"
#include "scip/scip.h"

Go to the source code of this file.

Functions

EXTERN SCIP_DECL_SORTPTRCOMP (GCGsolverComp)
 
EXTERN GCG_SOLVERDATAGCGsolverGetData (GCG_SOLVER *solver)
 
EXTERN void GCGsolverSetData (GCG_SOLVER *solver, GCG_SOLVERDATA *solverdata)
 
EXTERN const char * GCGsolverGetName (GCG_SOLVER *solver)
 
EXTERN const char * GCGsolverGetDesc (GCG_SOLVER *solver)
 
EXTERN int GCGsolverGetPriority (GCG_SOLVER *solver)
 
EXTERN SCIP_Bool GCGsolverIsEnabled (GCG_SOLVER *solver)
 
EXTERN int GCGsolverGetOptFarkasCalls (GCG_SOLVER *solver)
 
EXTERN int GCGsolverGetOptRedcostCalls (GCG_SOLVER *solver)
 
EXTERN int GCGsolverGetHeurFarkasCalls (GCG_SOLVER *solver)
 
EXTERN int GCGsolverGetHeurRedcostCalls (GCG_SOLVER *solver)
 
EXTERN SCIP_Real GCGsolverGetOptFarkasTime (SCIP *scip, GCG_SOLVER *solver)
 
EXTERN SCIP_Real GCGsolverGetOptRedcostTime (SCIP *scip, GCG_SOLVER *solver)
 
EXTERN SCIP_Real GCGsolverGetHeurFarkasTime (SCIP *scip, GCG_SOLVER *solver)
 
EXTERN SCIP_Real GCGsolverGetHeurRedcostTime (SCIP *scip, GCG_SOLVER *solver)
 

Function Documentation

EXTERN GCG_SOLVERDATA* GCGsolverGetData ( GCG_SOLVER solver)

gets user data of GCG pricing solver

Parameters
solverpricing solver

Definition at line 353 of file solver.c.

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

EXTERN const char* GCGsolverGetDesc ( GCG_SOLVER solver)

gets description of GCG pricing solver

Parameters
solverpricing solver

Definition at line 384 of file solver.c.

Referenced by GCGpricerPrintListOfSolvers().

EXTERN int GCGsolverGetHeurFarkasCalls ( GCG_SOLVER solver)

gets number of heuristic Farkas pricing calls of pricing solver

Parameters
solverpricing solver

Definition at line 434 of file solver.c.

Referenced by GCGpricerPrintPricingStatistics().

EXTERN SCIP_Real GCGsolverGetHeurFarkasTime ( SCIP *  scip,
GCG_SOLVER solver 
)

gets heuristic Farkas pricing time of pricing solver

Parameters
scipSCIP data structure (master problem)
solverpricing solver

Definition at line 478 of file solver.c.

Referenced by GCGpricerPrintPricingStatistics().

EXTERN int GCGsolverGetHeurRedcostCalls ( GCG_SOLVER solver)

gets number of heuristic reduced cost pricing calls of pricing solver

Parameters
solverpricing solver

Definition at line 444 of file solver.c.

Referenced by GCGpricerPrintPricingStatistics().

EXTERN SCIP_Real GCGsolverGetHeurRedcostTime ( SCIP *  scip,
GCG_SOLVER solver 
)

gets heuristic reduced cost pricing time of pricing solver

Parameters
scipSCIP data structure (master problem)
solverpricing solver

Definition at line 490 of file solver.c.

Referenced by GCGpricerPrintPricingStatistics().

EXTERN const char* GCGsolverGetName ( GCG_SOLVER solver)

gets name of GCG pricing solver

Parameters
solverpricing solver

Definition at line 374 of file solver.c.

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

EXTERN int GCGsolverGetOptFarkasCalls ( GCG_SOLVER solver)

gets number of exact Farkas pricing calls of pricing solver

Parameters
solverpricing solver

Definition at line 414 of file solver.c.

Referenced by GCGpricerPrintPricingStatistics().

EXTERN SCIP_Real GCGsolverGetOptFarkasTime ( SCIP *  scip,
GCG_SOLVER solver 
)

gets exact Farkas pricing time of pricing solver

Parameters
scipSCIP data structure (master problem)
solverpricing solver

Definition at line 454 of file solver.c.

Referenced by GCGpricerPrintPricingStatistics().

EXTERN int GCGsolverGetOptRedcostCalls ( GCG_SOLVER solver)

gets number of exact reduced cost pricing calls of pricing solver

Parameters
solverpricing solver

Definition at line 424 of file solver.c.

Referenced by GCGpricerPrintPricingStatistics().

EXTERN SCIP_Real GCGsolverGetOptRedcostTime ( SCIP *  scip,
GCG_SOLVER solver 
)

gets exact reduced cost pricing time of pricing solver

Parameters
scipSCIP data structure (master problem)
solverpricing solver

Definition at line 466 of file solver.c.

Referenced by GCGpricerPrintPricingStatistics().

EXTERN int GCGsolverGetPriority ( GCG_SOLVER solver)

gets priority of GCG pricing solver

Parameters
solverpricing solver

Definition at line 394 of file solver.c.

Referenced by GCGpricerPrintListOfSolvers().

EXTERN SCIP_Bool GCGsolverIsEnabled ( GCG_SOLVER solver)

gets whether GCG pricing solver is enabled

Parameters
solverpricing solver

Definition at line 404 of file solver.c.

Referenced by GCGpricerPrintListOfSolvers().

EXTERN void GCGsolverSetData ( GCG_SOLVER solver,
GCG_SOLVERDATA solverdata 
)

sets user data of GCG pricing solver

Parameters
solverpricing solver
solverdatapricing solver data

Definition at line 363 of file solver.c.

Referenced by GCG_DECL_SOLVERFREE().

EXTERN SCIP_DECL_SORTPTRCOMP ( GCGsolverComp  )

compares two solvers w. r. t. their priorities

Definition at line 47 of file solver.c.