class_pricingtype.cpp
Go to the documentation of this file.
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
49#define DEFAULT_MAXCOLSROUNDREDCOSTROOT 100 /**< maximal number of columns per reduced cost pricing round at root node */
50#define DEFAULT_MAXCOLSROUNDREDCOST 100 /**< maximal number of columns per reduced cost pricing round */
51#define DEFAULT_MAXCOLSPROBREDCOSTROOT 10 /**< maximal number of columns per problem to be generated during red. cost pricing at root node */
52#define DEFAULT_MAXCOLSPROBREDCOST 10 /**< maximal number of columns per problem to be generated during red. cost pricing */
53#define DEFAULT_MAXSUCCESSFULPROBSREDCOST INT_MAX /**< maximal number of successfully solved red. cost pricing problems until pricing loop is aborted */
54#define DEFAULT_RELMAXPROBSREDCOSTROOT 1.0 /**< maximal percentage of red. cost pricing problems that are solved at root node if variables have already been found */
55#define DEFAULT_RELMAXPROBSREDCOST 1.0 /**< maximal percentage of red. cost pricing problems that are solved if variables have already been found */
56#define DEFAULT_RELMAXSUCCESSFULPROBSREDCOST 1.0 /**< maximal percentage of successfully solved red. cost pricing problems until pricing loop is aborted */
59#define DEFAULT_MAXCOLSPROBFARKAS 10 /**< maximal number of columns per problem to be generated during Farkas pricing */
60#define DEFAULT_RELMAXPROBSFARKAS 1.0 /**< maximal percentage of Farkas pricing problems that are solved if variables have already been found */
88 maxcolsprobroot = INT_MAX; /* maximal number of columns per problem to be generated at root node */
90 maxsuccessfulprobs = INT_MAX; /* maximal number of successfully solved pricing problems until pricing loop is aborted */
91 relmaxprobsroot = 1.0; /* maximal percentage of pricing problems that are solved at root node if variables have already been found */
92 relmaxprobs = 1.0; /* maximal percentage of pricing problems that are solved if variables have already been found */
93 relmaxsuccessfulprobs = 1.0; /* maximal percentage of successfully solved pricing problems until pricing loop is aborted */
151 return SCIPgetDualfarkasLinear(masterprob, GCGextendedmasterconsGetCons(extendedmasterconsdata));
180/** returns the maximal percentage of pricing problems that are solved if variables have already been found */
199 "maximal percentage of Farkas pricing problems that are solved if variables have already been found",
270/** returns the maximal percentage of pricing problems that are solved if variables have already been found */
305 "maximal number of successfully solved red. cost pricing problems until pricing loop is aborted",
306 &maxsuccessfulprobs, FALSE, DEFAULT_MAXSUCCESSFULPROBSREDCOST, 1, INT_MAX, NULL, (SCIP_PARAMDATA*) NULL) );
309 "maximal percentage of red. cost pricing problems that are solved at root node if variables have already been found",
310 &relmaxprobsroot, FALSE, DEFAULT_RELMAXPROBSREDCOSTROOT, 0.0, 1.0, NULL, (SCIP_PARAMDATA*) NULL) );
313 "maximal percentage of red. cost pricing problems that are solved if variables have already been found",
317 "maximal percentage of successfully solved red. cost pricing problems until pricing loop is aborted",
virtual SCIP_Real rowGetDual(SCIP_ROW *row) const
Definition: class_pricingtype.cpp:136
virtual SCIP_RETCODE addParameters()
Definition: class_pricingtype.cpp:186
virtual int getMaxcolsround() const
Definition: class_pricingtype.cpp:169
virtual SCIP_Real getRelmaxprobs() const
Definition: class_pricingtype.cpp:181
virtual SCIP_Real varGetObj(SCIP_VAR *var) const
Definition: class_pricingtype.cpp:160
FarkasPricing()=delete
virtual SCIP_Real extendedmasterconsGetDual(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata) const
Definition: class_pricingtype.cpp:143
virtual SCIP_Real consGetDual(SCIP_CONS *cons) const
Definition: class_pricingtype.cpp:129
virtual int getMaxcolsprob() const
Definition: class_pricingtype.cpp:175
Definition: class_pricingtype.h:49
PricingType()=delete
virtual SCIP_Real getClockTime() const
Definition: class_pricingtype.cpp:117
virtual SCIP_Real extendedmasterconsGetDual(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata) const
Definition: class_pricingtype.cpp:219
virtual SCIP_Real getRelmaxprobs() const
Definition: class_pricingtype.cpp:271
virtual SCIP_RETCODE addParameters()
Definition: class_pricingtype.cpp:276
virtual SCIP_Real varGetObj(SCIP_VAR *var) const
Definition: class_pricingtype.cpp:243
ReducedCostPricing()=delete
virtual SCIP_Real consGetDual(SCIP_CONS *cons) const
Definition: class_pricingtype.cpp:205
virtual int getMaxcolsprob() const
Definition: class_pricingtype.cpp:265
virtual int getMaxcolsround() const
Definition: class_pricingtype.cpp:259
virtual SCIP_Real rowGetDual(SCIP_ROW *row) const
Definition: class_pricingtype.cpp:212
#define DEFAULT_RELMAXPROBSREDCOSTROOT
Definition: class_pricingtype.cpp:54
#define DEFAULT_RELMAXSUCCESSFULPROBSREDCOST
Definition: class_pricingtype.cpp:56
#define DEFAULT_MAXSUCCESSFULPROBSREDCOST
Definition: class_pricingtype.cpp:53
#define DEFAULT_MAXCOLSPROBREDCOSTROOT
Definition: class_pricingtype.cpp:51
#define DEFAULT_MAXCOLSROUNDREDCOSTROOT
Definition: class_pricingtype.cpp:49
abstraction for SCIP pricing types
#define SCIP_Real
#define SCIP_CALL_ABORT(x)
#define SCIP_CALL(x)
#define FALSE
SCIP_ROW * GCGextendedmasterconsGetRow(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition: extendedmasterconsdata.c:411
GCG_EXTENDEDMASTERCONSTYPE GCGextendedmasterconsGetType(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition: extendedmasterconsdata.c:850
SCIP_CONS * GCGextendedmasterconsGetCons(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition: extendedmasterconsdata.c:397
SCIP_VAR ** GCGpricingVarGetOrigvars(SCIP_VAR *var)
Definition: gcgvar.c:1100
SCIP_Real SCIPgetDualsolLinear(SCIP *scip, SCIP_CONS *cons)
SCIP_Real SCIPgetDualfarkasLinear(SCIP *scip, SCIP_CONS *cons)
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 SCIPaddRealParam(SCIP *scip, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_Real SCIProwGetDualfarkas(SCIP_ROW *row)
SCIP_Real SCIProwGetDualsol(SCIP_ROW *row)
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)
SCIP_Real SCIPvarGetObj(SCIP_VAR *var)
#define NULL
Definition: class_conspartition.cpp:44
public methods for interacting with GCG_EXTENDEDMASTERCONSDATA
public methods for GCG variables
various SCIP helper methods
Definition: struct_gcg.h:55
@ GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW
Definition: type_extendedmasterconsdata.h:50
@ GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS
Definition: type_extendedmasterconsdata.h:49
struct SCIP_ParamData SCIP_PARAMDATA
SCIP_OKAY
SCIP_ERROR
enum SCIP_Retcode SCIP_RETCODE