Detailed Description
Definition at line 168 of file class_pricingtype.h.
#include <class_pricingtype.h>
Public Member Functions | |
| ReducedCostPricing ()=delete | |
| ReducedCostPricing (GCG *gcgstruct) | |
| virtual | ~ReducedCostPricing () |
| virtual SCIP_RETCODE | addParameters () |
| virtual SCIP_Real | consGetDual (SCIP_CONS *cons) const |
| virtual SCIP_Real | rowGetDual (SCIP_ROW *row) const |
| virtual SCIP_Real | extendedmasterconsGetDual (GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata) const |
| virtual SCIP_Real | varGetObj (SCIP_VAR *var) const |
| virtual int | getMaxcolsround () const |
| virtual int | getMaxcolsprob () const |
| virtual SCIP_Real | getRelmaxprobs () const |
| Public Member Functions inherited from PricingType | |
| PricingType ()=delete | |
| PricingType (GCG *gcgstruct) | |
| virtual | ~PricingType () |
| virtual SCIP_RETCODE | startClock () |
| virtual SCIP_RETCODE | stopClock () |
| virtual SCIP_Real | getClockTime () const |
| virtual int | getMaxrounds () const |
| int | getMaxsuccessfulprobs () const |
| SCIP_Real | getRelmaxsuccessfulprobs () const |
| GCG_PRICETYPE | getType () const |
| int | getCalls () const |
| virtual void | incCalls () |
| SCIP_RETCODE | resetCalls () |
Additional Inherited Members | |
| Protected Attributes inherited from PricingType | |
| GCG * | gcg |
| SCIP * | masterprob |
| GCG_PRICETYPE | type |
| SCIP_CLOCK * | clock |
| int | calls |
| int | maxrounds |
| int | maxcolsroundroot |
| int | maxcolsround |
| int | maxcolsprobroot |
| int | maxcolsprob |
| int | maxsuccessfulprobs |
| SCIP_Real | relmaxprobsroot |
| SCIP_Real | relmaxprobs |
| SCIP_Real | relmaxsuccessfulprobs |
Constructor & Destructor Documentation
◆ ReducedCostPricing() [1/2]
|
delete |
constructor
Referenced by ObjPricerGcg::createPricingTypes().
◆ ReducedCostPricing() [2/2]
| ReducedCostPricing::ReducedCostPricing | ( | GCG * | gcgstruct | ) |
Definition at line 236 of file class_pricingtype.cpp.
References GCG_PRICETYPE_REDCOST, PricingType::PricingType(), and PricingType::type.
◆ ~ReducedCostPricing()
|
inlinevirtual |
destructor
Definition at line 179 of file class_pricingtype.h.
Member Function Documentation
◆ addParameters()
|
virtual |
adds parameters to the SCIP data structure
Implements PricingType.
Definition at line 276 of file class_pricingtype.cpp.
References DEFAULT_MAXCOLSPROBREDCOST, DEFAULT_MAXCOLSPROBREDCOSTROOT, DEFAULT_MAXCOLSROUNDREDCOST, DEFAULT_MAXCOLSROUNDREDCOSTROOT, DEFAULT_MAXROUNDSREDCOST, DEFAULT_MAXSUCCESSFULPROBSREDCOST, DEFAULT_RELMAXPROBSREDCOST, DEFAULT_RELMAXPROBSREDCOSTROOT, DEFAULT_RELMAXSUCCESSFULPROBSREDCOST, GCGgetOrigprob(), PricingType::maxcolsprob, PricingType::maxcolsprobroot, PricingType::maxcolsround, PricingType::maxcolsroundroot, PricingType::maxrounds, PricingType::maxsuccessfulprobs, origprob, PricingType::relmaxprobs, PricingType::relmaxprobsroot, PricingType::relmaxsuccessfulprobs, and SCIP_CALL().
◆ consGetDual()
get dual value of a constraint
- Parameters
-
cons constraint to get dual for
Implements PricingType.
Definition at line 205 of file class_pricingtype.cpp.
References PricingType::masterprob.
◆ rowGetDual()
get dual value of a row
- Parameters
-
row row to get dual value for
Implements PricingType.
Definition at line 212 of file class_pricingtype.cpp.
◆ extendedmasterconsGetDual()
|
virtual |
get dual value of an extended master cons
- Parameters
-
extendedmasterconsdata extended master cons data
Implements PricingType.
Definition at line 219 of file class_pricingtype.cpp.
References assert(), GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGextendedmasterconsGetCons(), GCGextendedmasterconsGetRow(), GCGextendedmasterconsGetType(), and PricingType::masterprob.
◆ varGetObj()
get objective value of variable
- Parameters
-
var variable to get objective value for
Implements PricingType.
Definition at line 243 of file class_pricingtype.cpp.
References assert(), GCGoriginalVarIsLinking(), GCGpricingVarGetOrigvars(), and var.
◆ getMaxcolsround()
|
virtual |
returns the maximal number of columns per pricing round
Implements PricingType.
Definition at line 259 of file class_pricingtype.cpp.
References GCGisRootNode(), PricingType::maxcolsround, and PricingType::maxcolsroundroot.
◆ getMaxcolsprob()
|
virtual |
returns the maximal number of columns per problem to be generated during pricing
Implements PricingType.
Definition at line 265 of file class_pricingtype.cpp.
References GCGisRootNode(), PricingType::maxcolsprob, and PricingType::maxcolsprobroot.
◆ getRelmaxprobs()
|
virtual |
returns the maximal percentage of pricing problems that are solved if variables have already been found
Implements PricingType.
Definition at line 271 of file class_pricingtype.cpp.
References GCGisRootNode(), PricingType::relmaxprobs, and PricingType::relmaxprobsroot.