Detailed Description
Definition at line 168 of file class_pricingtype.h.
#include <class_pricingtype.h>
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
◆ ReducedCostPricing() [2/2]
| ReducedCostPricing::ReducedCostPricing | ( | GCG * | gcgstruct | ) |
Definition at line 236 of file class_pricingtype.cpp.
References GCG_PRICETYPE_REDCOST, 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, FALSE, GCGgetOrigprob(), PricingType::maxcolsprob, PricingType::maxcolsprobroot, PricingType::maxcolsround, PricingType::maxcolsroundroot, PricingType::maxrounds, PricingType::maxsuccessfulprobs, NULL, PricingType::relmaxprobs, PricingType::relmaxprobsroot, PricingType::relmaxsuccessfulprobs, SCIP_CALL, SCIP_OKAY, SCIPaddIntParam(), and SCIPaddRealParam().
Referenced by ObjPricerGcg::createPricingTypes().
◆ 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, SCIP_Real, and SCIPgetDualsolLinear().
◆ 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.
References SCIP_Real, and SCIProwGetDualsol().
◆ 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 GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, GCGextendedmasterconsGetCons(), GCGextendedmasterconsGetRow(), GCGextendedmasterconsGetType(), PricingType::masterprob, NULL, SCIP_CALL_ABORT, SCIP_ERROR, SCIP_Real, SCIPgetDualsolLinear(), and SCIProwGetDualsol().
◆ 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 GCGoriginalVarIsLinking(), GCGpricingVarGetOrigvars(), NULL, SCIP_Real, and SCIPvarGetObj().
◆ 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.
Referenced by ObjPricerGcg::createPricestore().
◆ 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.
Referenced by ObjPricerGcg::createPricestore().
◆ 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, PricingType::relmaxprobsroot, and SCIP_Real.
Public Member Functions inherited from