Detailed Description
Definition at line 209 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
◆ FarkasPricing() [1/2]
|
delete |
constructor
◆ FarkasPricing() [2/2]
| FarkasPricing::FarkasPricing | ( | GCG * | gcgstruct | ) |
Definition at line 122 of file class_pricingtype.cpp.
References GCG_PRICETYPE_FARKAS, and PricingType::type.
◆ ~FarkasPricing()
|
inlinevirtual |
destructor
Definition at line 220 of file class_pricingtype.h.
Member Function Documentation
◆ addParameters()
|
virtual |
adds parameters to the SCIP data structure
Implements PricingType.
Definition at line 186 of file class_pricingtype.cpp.
References DEFAULT_MAXCOLSPROBFARKAS, DEFAULT_MAXCOLSROUNDFARKAS, DEFAULT_RELMAXPROBSFARKAS, FALSE, GCGgetOrigprob(), PricingType::maxcolsprob, PricingType::maxcolsround, NULL, PricingType::relmaxprobs, 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 129 of file class_pricingtype.cpp.
References PricingType::masterprob, SCIP_Real, and SCIPgetDualfarkasLinear().
◆ rowGetDual()
get dual value of a row
- Parameters
-
row row to get dual value for
Implements PricingType.
Definition at line 136 of file class_pricingtype.cpp.
References SCIP_Real, and SCIProwGetDualfarkas().
◆ extendedmasterconsGetDual()
|
virtual |
get dual value of an extended master cons
- Parameters
-
extendedmasterconsdata extended master cons data
Implements PricingType.
Definition at line 143 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, SCIPgetDualfarkasLinear(), and SCIProwGetDualfarkas().
◆ varGetObj()
get objective value of variable
- Parameters
-
var variable to get objective value for
Implements PricingType.
Definition at line 160 of file class_pricingtype.cpp.
◆ getMaxcolsround()
|
virtual |
returns the maximal number of columns per pricing round
Implements PricingType.
Definition at line 169 of file class_pricingtype.cpp.
References PricingType::maxcolsround.
◆ getMaxcolsprob()
|
virtual |
returns the maximal number of columns per problem to be generated during pricing
Implements PricingType.
Definition at line 175 of file class_pricingtype.cpp.
References PricingType::maxcolsprob.
◆ getRelmaxprobs()
|
virtual |
returns the maximal percentage of pricing problems that are solved if variables have already been found
Implements PricingType.
Definition at line 181 of file class_pricingtype.cpp.
References PricingType::relmaxprobs, and SCIP_Real.
Public Member Functions inherited from