class_pricingtype.cpp
Go to the documentation of this file.
34 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
47 #define DEFAULT_MAXCOLSROUNDREDCOSTROOT 100 /**< maximal number of columns per reduced cost pricing round at root node */
48 #define DEFAULT_MAXCOLSROUNDREDCOST 100 /**< maximal number of columns per reduced cost pricing round */
49 #define DEFAULT_MAXCOLSPROBREDCOSTROOT 10 /**< maximal number of columns per problem to be generated during red. cost pricing at root node */
50 #define DEFAULT_MAXCOLSPROBREDCOST 10 /**< maximal number of columns per problem to be generated during red. cost pricing */
51 #define DEFAULT_MAXSUCCESSFULPROBSREDCOST INT_MAX /**< maximal number of successfully solved red. cost pricing problems until pricing loop is aborted */
52 #define DEFAULT_RELMAXPROBSREDCOSTROOT 1.0 /**< maximal percentage of red. cost pricing problems that are solved at root node if variables have already been found */
53 #define DEFAULT_RELMAXPROBSREDCOST 1.0 /**< maximal percentage of red. cost pricing problems that are solved if variables have already been found */
54 #define DEFAULT_RELMAXSUCCESSFULPROBSREDCOST 1.0 /**< maximal percentage of successfully solved red. cost pricing problems until pricing loop is aborted */
57 #define DEFAULT_MAXCOLSPROBFARKAS 10 /**< maximal number of columns per problem to be generated during Farkas pricing */
58 #define DEFAULT_RELMAXPROBSFARKAS 1.0 /**< maximal percentage of Farkas pricing problems that are solved if variables have already been found */
86 maxcolsprobroot = INT_MAX; /* maximal number of columns per problem to be generated at root node */
88 maxsuccessfulprobs = INT_MAX; /* maximal number of successfully solved pricing problems until pricing loop is aborted */
89 relmaxprobsroot = 1.0; /* maximal percentage of pricing problems that are solved at root node if variables have already been found */
90 relmaxprobs = 1.0; /* maximal percentage of pricing problems that are solved if variables have already been found */
91 relmaxsuccessfulprobs = 1.0; /* maximal percentage of successfully solved pricing problems until pricing loop is aborted */
162 /** returns the maximal percentage of pricing problems that are solved if variables have already been found */
181 "maximal percentage of Farkas pricing problems that are solved if variables have already been found",
236 /** returns the maximal percentage of pricing problems that are solved if variables have already been found */
271 "maximal number of successfully solved red. cost pricing problems until pricing loop is aborted",
272 &maxsuccessfulprobs, FALSE, DEFAULT_MAXSUCCESSFULPROBSREDCOST, 1, INT_MAX, NULL, (SCIP_PARAMDATA*) NULL) );
275 "maximal percentage of red. cost pricing problems that are solved at root node if variables have already been found",
276 &relmaxprobsroot, FALSE, DEFAULT_RELMAXPROBSREDCOSTROOT, 0.0, 1.0, NULL, (SCIP_PARAMDATA*) NULL) );
279 "maximal percentage of red. cost pricing problems that are solved if variables have already been found",
virtual int getMaxcolsprob() const
Definition: class_pricingtype.cpp:231
#define DEFAULT_RELMAXSUCCESSFULPROBSREDCOST
Definition: class_pricingtype.cpp:54
ReducedCostPricing()
virtual int getMaxcolsround() const
Definition: class_pricingtype.cpp:151
virtual int getMaxcolsround() const
Definition: class_pricingtype.cpp:225
virtual SCIP_Real varGetObj(SCIP_VAR *var) const
Definition: class_pricingtype.cpp:209
virtual SCIP_Real rowGetDual(SCIP_ROW *row) const
Definition: class_pricingtype.cpp:195
#define DEFAULT_MAXCOLSPROBREDCOSTROOT
Definition: class_pricingtype.cpp:49
various SCIP helper methods
PricingType()
virtual SCIP_Real getRelmaxprobs() const
Definition: class_pricingtype.cpp:237
virtual SCIP_Real varGetObj(SCIP_VAR *var) const
Definition: class_pricingtype.cpp:142
virtual SCIP_RETCODE addParameters()
Definition: class_pricingtype.cpp:168
virtual SCIP_RETCODE addParameters()
Definition: class_pricingtype.cpp:242
Definition: class_pricingtype.h:41
FarkasPricing()
virtual SCIP_Real getRelmaxprobs() const
Definition: class_pricingtype.cpp:163
#define DEFAULT_MAXCOLSROUNDREDCOSTROOT
Definition: class_pricingtype.cpp:47
virtual int getMaxcolsprob() const
Definition: class_pricingtype.cpp:157
virtual SCIP_Real consGetDual(SCIP *scip, SCIP_CONS *cons) const
Definition: class_pricingtype.cpp:187
#define DEFAULT_MAXSUCCESSFULPROBSREDCOST
Definition: class_pricingtype.cpp:51
SCIP_VAR ** GCGpricingVarGetOrigvars(SCIP_VAR *var)
Definition: gcgvar.c:1015
virtual SCIP_Real getClockTime() const
Definition: class_pricingtype.cpp:115
virtual SCIP_Real consGetDual(SCIP *scip, SCIP_CONS *cons) const
Definition: class_pricingtype.cpp:127
#define DEFAULT_RELMAXPROBSREDCOSTROOT
Definition: class_pricingtype.cpp:52
virtual SCIP_Real rowGetDual(SCIP_ROW *row) const
Definition: class_pricingtype.cpp:135
abstraction for SCIP pricing types
public methods for GCG variables