solver.c
Go to the documentation of this file.
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
70 SCIP_Bool heurenabled, /**< flag to indicate whether heuristic solving method of the solver is enabled */
71 SCIP_Bool exactenabled, /**< flag to indicate whether exact solving method of the solver is enabled */
94 SCIPwarningMessage(masterprob, "Solver <%s> has neither heuristic nor exact solving method and will not be included.\n", name);
126 (void) SCIPsnprintf(paramdesc, SCIP_MAXSTRLEN, "flag to indicate whether heuristic solving method of solver <%s> is enabled", name);
136 (void) SCIPsnprintf(paramdesc, SCIP_MAXSTRLEN, "flag to indicate whether exact solving method of solver <%s> is enabled", name);
284 SCIP_CALL( solver->solverupdate(gcg, pricingprob, solver, probnr, varobjschanged, varbndschanged, consschanged) );
337 SCIP_CALL( solver->solversolveheur(gcg, pricingprob, solver, probnr, dualsolconv, lowerbound, status) );
366 SCIP_CALL( solver->solversolve(gcg, pricingprob, solver, probnr, dualsolconv, lowerbound, status) );
#define SCIP_MAXSTRLEN
#define SCIP_Bool
#define SCIP_ALLOC(x)
#define SCIP_Real
#define SCIP_CALL_ABORT(x)
#define SCIP_CALL(x)
#define TRUE
#define FALSE
GCG interface methods.
void SCIPwarningMessage(SCIP *scip, const char *formatstr,...)
SCIP_RETCODE SCIPgetBoolParam(SCIP *scip, const char *name, SCIP_Bool *value)
SCIP_RETCODE SCIPaddIntParam(SCIP *scip, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPaddBoolParam(SCIP *scip, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
#define SCIPallocMemory(scip, ptr)
#define SCIPfreeMemory(scip, ptr)
SCIP_RETCODE SCIPresetClock(SCIP *scip, SCIP_CLOCK *clck)
SCIP_RETCODE SCIPcreateCPUClock(SCIP *scip, SCIP_CLOCK **clck)
SCIP_RETCODE SCIPstopClock(SCIP *scip, SCIP_CLOCK *clck)
SCIP_RETCODE SCIPfreeClock(SCIP *scip, SCIP_CLOCK **clck)
SCIP_Real SCIPgetClockTime(SCIP *scip, SCIP_CLOCK *clck)
SCIP_RETCODE SCIPstartClock(SCIP *scip, SCIP_CLOCK *clck)
int SCIPsnprintf(char *t, int len, const char *s,...)
#define NULL
#define BMSduplicateMemoryArray(ptr, source, num)
#define BMSfreeMemoryArray(ptr)
Definition: class_conspartition.cpp:44
GCG variable pricer.
int GCGsolverGetHeurFarkasCalls(GCG_SOLVER *solver)
Definition: solver.c:491
SCIP_RETCODE GCGsolverCreate(GCG *gcg, GCG_SOLVER **solver, const char *name, const char *desc, int priority, SCIP_Bool heurenabled, SCIP_Bool exactenabled, GCG_DECL_SOLVERUPDATE((*solverupdate)), GCG_DECL_SOLVERSOLVE((*solversolve)), GCG_DECL_SOLVERSOLVEHEUR((*solveheur)), GCG_DECL_SOLVERFREE((*solverfree)), GCG_DECL_SOLVERINIT((*solverinit)), GCG_DECL_SOLVEREXIT((*solverexit)), GCG_DECL_SOLVERINITSOL((*solverinitsol)), GCG_DECL_SOLVEREXITSOL((*solverexitsol)), GCG_SOLVERDATA *solverdata)
Definition: solver.c:64
SCIP_Bool GCGsolverIsExactEnabled(GCG_SOLVER *solver)
Definition: solver.c:461
int GCGsolverGetOptRedcostCalls(GCG_SOLVER *solver)
Definition: solver.c:481
SCIP_RETCODE GCGsolverSolve(GCG *gcg, SCIP *pricingprob, GCG_SOLVER *solver, SCIP_Bool redcost, SCIP_Bool heuristic, int probnr, SCIP_Real dualsolconv, SCIP_Real *lowerbound, GCG_PRICINGSTATUS *status, SCIP_Bool *solved)
Definition: solver.c:293
SCIP_Real GCGsolverGetOptRedcostTime(GCG *gcg, GCG_SOLVER *solver)
Definition: solver.c:523
SCIP_Real GCGsolverGetHeurRedcostTime(GCG *gcg, GCG_SOLVER *solver)
Definition: solver.c:547
void GCGsolverSetData(GCG_SOLVER *solver, GCG_SOLVERDATA *solverdata)
Definition: solver.c:410
int GCGsolverGetHeurRedcostCalls(GCG_SOLVER *solver)
Definition: solver.c:501
SCIP_RETCODE GCGsolverUpdate(GCG *gcg, SCIP *pricingprob, GCG_SOLVER *solver, int probnr, SCIP_Bool varobjschanged, SCIP_Bool varbndschanged, SCIP_Bool consschanged)
Definition: solver.c:269
SCIP_Real GCGsolverGetHeurFarkasTime(GCG *gcg, GCG_SOLVER *solver)
Definition: solver.c:535
int GCGsolverGetOptFarkasCalls(GCG_SOLVER *solver)
Definition: solver.c:471
SCIP_Real GCGsolverGetOptFarkasTime(GCG *gcg, GCG_SOLVER *solver)
Definition: solver.c:511
public methods for GCG pricing solvers
Definition: solver_cliquer.c:91
Definition: struct_solver.h:48
Definition: struct_gcg.h:55
data structures for solvers
SCIP_OKAY
enum SCIP_Retcode SCIP_RETCODE