Loading...
Searching...
No Matches
objpricer_gcg.h
Go to the documentation of this file.
34/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
72 unsigned int delay, /**< should the pricer be delayed until no other pricers or already existing*/
85 /** solving process initialization method of variable pricer (called when branch and bound process is about to begin) */
87 /** solving process deinitialization method of variable pricer (called before branch and bound process data is freed) */
98 /** for a pricing problem, get the dual solution value or Farkas value of the convexity constraint */
120 /** performs the pricing routine, gets the type of pricing that should be done: farkas or redcost pricing */
131 SCIP_VAR** solvars, /**< array of variables with non-zero value in the solution of the pricing problem */
132 double* solvals, /**< array of values in the solution of the pricing problem for variables in array solvars*/
136 unsigned int force, /**< should the given variable be added also if it has non-negative reduced cost? */
145 SCIP_Bool force, /**< should the given variable be added also if it has non-negative reduced cost? */
166 SCIP_Bool* bestredcostvalid /**< pointer to store if bestredcost are valid (pp solvedoptimal) */
202 /** get the number of columns per pricing problem to be added to the master LP in the current pricing round */
239 /* computes the objective value of the current (stabilized) dual variables) in the dual program */
277 SCIP_VAR** solvars, /**< array of variables with non-zero value in the solution of the pricing problem */
278 SCIP_Real* solvals, /**< array of values in the solution of the pricing problem for variables in array solvars*/
329 /** adds new bounds to the bound arrays as well as some additional information on dual variables and root lp solution */
339 SCIP_VAR** solvars, /**< array of variables with non-zero value in the solution of the pricing problem */
340 SCIP_Real* solvals, /**< array of values in the solution of the pricing problem for variables in array solvars*/
354 SCIP_VAR** solvars, /**< array of variables with non-zero value in the solution of the pricing problem */
355 SCIP_Real* solvals, /**< array of values in the solution of the pricing problem for variables in array solvars*/
Definition class_pricingtype.h:210
SCIP_RETCODE createPricingcontroller()
Definition pricer_gcg.cpp:5441
SCIP_RETCODE computeColOriginalSepaCuts(GCG_COL *gcgcol)
Definition pricer_gcg.cpp:1936
SCIP_RETCODE priceColumnPoolOld(PricingType *pricetype, int *pnfoundvars)
SCIP_RETCODE priceNewVariables(PricingType *pricetype, SCIP_RESULT *result, double *lowerbound)
Definition pricer_gcg.cpp:4595
const ReducedCostPricing * getReducedCostPricing() const
Definition objpricer_gcg.h:179
SCIP_Real computeRedCostGcgCol(PricingType *pricetype, GCG_Col *gcgcol, SCIP_Real *objvalptr) const
Definition pricer_gcg.cpp:2261
void updateRedcostColumnPool(PricingType *pricetype)
virtual SCIP_DECL_PRICERINIT(scip_init)
SCIP_RETCODE createNewMasterVarFromGcgCol(PricingType *pricetype, GCG_COL *gcgcol, SCIP_Bool force, SCIP_Bool *added, SCIP_VAR **addedvar, SCIP_Real score)
Definition pricer_gcg.cpp:3163
virtual SCIP_DECL_PRICEREXIT(scip_exit)
ReducedCostPricing * getReducedCostPricingNonConst()
Definition objpricer_gcg.h:184
SCIP_RETCODE createNewMasterVar(PricingType *pricetype, SCIP_SOL *sol, SCIP_VAR **solvars, double *solvals, int nsolvars, unsigned int solisray, int prob, unsigned int force, unsigned int *added, SCIP_VAR **addedvar)
Definition pricer_gcg.cpp:3004
ObjPricerGcg(GCG *gcgstruct, const char *name, const char *desc, int priority, unsigned int delay, SCIP_PRICERDATA *p_pricerdata)
Definition pricer_gcg.cpp:4683
const FarkasPricing * getFarkasPricing() const
Definition objpricer_gcg.h:169
virtual SCIP_DECL_PRICEREXITSOL(scip_exitsol)
SCIP_RETCODE getStabilizedDualObjectiveValue(PricingType *pricetype, SCIP_Real *stabdualval, SCIP_Bool stabilize)
Definition pricer_gcg.cpp:2439
SCIP_RETCODE setPricingObjs(PricingType *pricetype, SCIP_Bool stabilize)
Definition pricer_gcg.cpp:1078
SCIP_Real getDualconvsum(GCG_COL **bestcols)
Definition pricer_gcg.cpp:2421
virtual SCIP_DECL_PRICERFARKAS(scip_farkas)
virtual SCIP_DECL_PRICERFREE(scip_free)
SCIP_RETCODE pricingLoop(PricingType *pricetype, SCIP_RESULT *result, int *nfoundvars, SCIP_Real *lowerbound, SCIP_Bool *bestredcostvalid)
Definition pricer_gcg.cpp:3639
SCIP_RETCODE addColToPricestore(GCG_COL *col, SCIP_Bool *added)
Definition pricer_gcg.cpp:2357
SCIP_RETCODE computeDualDiff(SCIP_Real **dualvals1, SCIP_Real *dualconv1, SCIP_Real **dualvals2, SCIP_Real *dualconv2, SCIP_Real *dualdiff)
Definition pricer_gcg.cpp:3605
virtual SCIP_DECL_PRICERINITSOL(scip_initsol)
SCIP_Real getConvconsDualsol(PricingType *pricetype, int probnr)
Definition pricer_gcg.cpp:1064
virtual SCIP_DECL_PRICERREDCOST(scip_redcost)
FarkasPricing * getFarkasPricingNonConst()
Definition objpricer_gcg.h:174
SCIP_RETCODE addVariableToMastersepacutsFromGCGCol(SCIP_VAR *newvar, GCG_COL *gcgcol)
Definition pricer_gcg.cpp:1846
SCIP_RETCODE addVariableToMastersepacuts(SCIP_VAR *newvar, int prob, SCIP_VAR **solvars, SCIP_Real *solvals, int nsolvars)
Definition pricer_gcg.cpp:1888
SCIP_RETCODE computeColMastersepacutCoeffs(GCG_COL *gcgcol)
Definition pricer_gcg.cpp:2038
SCIP_RETCODE computeColMastercoefs(GCG_COL *gcgcol)
Definition pricer_gcg.cpp:1630
Definition class_pricingtype.h:49
Definition class_pricingtype.h:169
pricing controller managing the pricing strategy
abstraction for SCIP pricing types
class with functions for dual variable smoothing
Definition class_stabilization.h:53
#define SCIP_Bool
#define SCIP_Real
Definition class_conspartition.cpp:44
methods for storing priced cols (based on SCIP's separation storage)
public methods for storing cols in a col pool
public methods for working with gcg columns
Definition struct_gcgcol.h:52
type definitions for branching rules in GCG projects
struct SCIP_Cons SCIP_CONS
struct GCG_ExtendedMasterConsData GCG_EXTENDEDMASTERCONSDATA
Definition type_extendedmasterconsdata.h:57
struct SCIP_Pricer SCIP_PRICER
struct SCIP_PricerData SCIP_PRICERDATA
enum SCIP_Result SCIP_RESULT
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP
struct SCIP_Sol SCIP_SOL
struct SCIP_Var SCIP_VAR