Detailed Description
Definition at line 52 of file class_stabilization.h.
#include <class_stabilization.h>
Constructor & Destructor Documentation
◆ Stabilization() [1/2]
| gcg::Stabilization::Stabilization | ( | GCG * | gcgstruct, |
| PricingType * | pricingtype, | ||
| SCIP_Bool | hybridascent ) |
constructor
- Parameters
-
gcgstruct SCIP data structure pricingtype the pricing type when the stabilization should run hybridascent enable hybridization of smoothing with an ascent method?
Definition at line 64 of file class_stabilization.cpp.
References GCGgetMasterprob().
Referenced by Stabilization().
◆ Stabilization() [2/2]
| gcg::Stabilization::Stabilization | ( | ) |
constructor
References activateMispricingSchedule(), branchmasterconsGetDual(), branchmasterconsGetStabCenter(), consGetDual(), convGetDual(), disablingMispricingSchedule(), hasStabilityCenter(), i, isInMispricingSchedule(), isStabilized(), linkingconsGetDual(), rowGetDual(), setNConvconsvals(), setNLinkingconsvals(), Stabilization(), updateAlpha(), updateAlphaMisprice(), updateHybrid(), updateNode(), updateStabcenterextendedmasterconsvals(), updateStabilityCenter(), and updateSubgradientProduct().
Referenced by ObjPricerGcg::createStabilization().
◆ ~Stabilization()
|
virtual |
destructor
Definition at line 83 of file class_stabilization.cpp.
Member Function Documentation
◆ consGetDual()
| SCIP_RETCODE gcg::Stabilization::consGetDual | ( | int | i, |
| SCIP_Real * | dual ) |
gets the stabilized dual solution of constraint at position i
- Parameters
-
i index of the constraint dual return pointer for dual value
Definition at line 317 of file class_stabilization.cpp.
References assert(), GCGgetMasterConss(), GCGgetNMasterConss(), i, and SCIP_CALL().
Referenced by Stabilization(), and updateStabilityCenter().
◆ rowGetDual()
| SCIP_RETCODE gcg::Stabilization::rowGetDual | ( | int | i, |
| SCIP_Real * | dual ) |
gets the stabilized dual solution of cut at position i
- Parameters
-
i index of the row dual return pointer for dual value
Definition at line 354 of file class_stabilization.cpp.
References assert(), GCGsepaGetNOriginalSepaCuts(), GCGsepaGetOriginalSepaMastercuts(), i, and SCIP_CALL().
Referenced by Stabilization(), and updateStabilityCenter().
◆ convGetDual()
| SCIP_Real gcg::Stabilization::convGetDual | ( | int | i | ) |
gets the stabilized dual of the convexity constraint at position i
Definition at line 394 of file class_stabilization.cpp.
References assert(), GCGgetConvCons(), GCGgetNIdenticalBlocks(), GCGgetNPricingprobs(), and i.
Referenced by Stabilization().
◆ branchmasterconsGetDual()
| SCIP_Real gcg::Stabilization::branchmasterconsGetDual | ( | int | i | ) |
- Parameters
-
i index of extendedmasterconsdata
Definition at line 414 of file class_stabilization.cpp.
References GCGextendedmasterconsGetLhs(), GCGextendedmasterconsGetRhs(), i, and SCIP_CALL().
Referenced by Stabilization(), and updateStabilityCenter().
◆ branchmasterconsGetStabCenter()
| SCIP_Real gcg::Stabilization::branchmasterconsGetStabCenter | ( | int | i | ) |
- Parameters
-
i index of extendedmasterconsdata
Definition at line 432 of file class_stabilization.cpp.
References i.
Referenced by Stabilization().
◆ updateStabilityCenter()
| SCIP_RETCODE gcg::Stabilization::updateStabilityCenter | ( | SCIP_Real | lowerbound, |
| SCIP_Real * | dualsolconv, | ||
| GCG_COL ** | pricingcols ) |
updates the stability center if the bound has increased
- Parameters
-
lowerbound lower bound due to lagrange function corresponding to current (stabilized) dual vars dualsolconv corresponding feasible dual solution for convexity constraints pricingcols columns of the pricing problems
Definition at line 439 of file class_stabilization.cpp.
References assert(), branchmasterconsGetDual(), consGetDual(), GCGgetNMasterConss(), GCGgetNPricingprobs(), GCGgetNVarLinkingconss(), GCGisPricingprobRelevant(), GCGrelaxBranchGetAllActiveExtendedMasterConss(), GCGsepaGetNOriginalSepaCuts(), i, linkingconsGetDual(), rowGetDual(), SCIP_CALL(), SCIPdebugMessage(), and updateStabcenterextendedmasterconsvals().
Referenced by Stabilization().
◆ updateAlphaMisprice()
| void gcg::Stabilization::updateAlphaMisprice | ( | ) |
updates the alpha after unsuccessful pricing
Definition at line 608 of file class_stabilization.cpp.
References SCIPdebugMessage().
Referenced by Stabilization().
◆ updateAlpha()
| void gcg::Stabilization::updateAlpha | ( | ) |
updates the alpha after successful pricing
Definition at line 616 of file class_stabilization.cpp.
References SCIPdebugMessage().
Referenced by Stabilization().
◆ isStabilized()
| SCIP_Bool gcg::Stabilization::isStabilized | ( | ) |
returns whether the stabilization is active
Definition at line 1439 of file class_stabilization.cpp.
Referenced by Stabilization().
◆ activateMispricingSchedule()
| void gcg::Stabilization::activateMispricingSchedule | ( | ) |
enabling mispricing schedule
Definition at line 1447 of file class_stabilization.cpp.
Referenced by Stabilization().
◆ disablingMispricingSchedule()
| void gcg::Stabilization::disablingMispricingSchedule | ( | ) |
disabling mispricing schedule
Definition at line 1454 of file class_stabilization.cpp.
Referenced by Stabilization().
◆ isInMispricingSchedule()
| SCIP_Bool gcg::Stabilization::isInMispricingSchedule | ( | ) | const |
is mispricing schedule enabled
Definition at line 1462 of file class_stabilization.cpp.
Referenced by Stabilization().
◆ setNLinkingconsvals()
| SCIP_RETCODE gcg::Stabilization::setNLinkingconsvals | ( | int | nlinkingconssnew | ) |
increases the number of new variable linking constraints
- Parameters
-
nlinkingconssnew number of new linking constraints
Definition at line 254 of file class_stabilization.cpp.
References SCIP_CALL().
Referenced by Stabilization().
◆ setNConvconsvals()
| SCIP_RETCODE gcg::Stabilization::setNConvconsvals | ( | int | nconvconssnew | ) |
increases the number of new convexity constraints
Definition at line 280 of file class_stabilization.cpp.
References SCIP_CALL().
Referenced by Stabilization().
◆ linkingconsGetDual()
| SCIP_Real gcg::Stabilization::linkingconsGetDual | ( | int | i | ) |
gets the dual of variable linking constraints at index i update node
Definition at line 293 of file class_stabilization.cpp.
References assert(), GCGgetNVarLinkingconss(), GCGgetVarLinkingconss(), and i.
Referenced by Stabilization(), and updateStabilityCenter().
◆ updateNode()
| void gcg::Stabilization::updateNode | ( | ) |
update information for hybrid stablization with dual ascent
update information for hybrid stabilization with dual ascent
Definition at line 571 of file class_stabilization.cpp.
Referenced by Stabilization().
◆ updateHybrid()
| SCIP_RETCODE gcg::Stabilization::updateHybrid | ( | ) |
Definition at line 586 of file class_stabilization.cpp.
References SCIP_CALL().
Referenced by Stabilization().
◆ updateSubgradientProduct()
| SCIP_RETCODE gcg::Stabilization::updateSubgradientProduct | ( | GCG_COL ** | pricingcols | ) |
update subgradient product
- Parameters
-
pricingcols solutions of the pricing problems
Definition at line 1469 of file class_stabilization.cpp.
References SCIP_CALL(), and updateStabcenterextendedmasterconsvals().
Referenced by Stabilization().
◆ updateStabcenterextendedmasterconsvals()
| SCIP_RETCODE gcg::Stabilization::updateStabcenterextendedmasterconsvals | ( | ) |
updates the extended master conss in the stability center (and allocates more memory)
Definition at line 151 of file class_stabilization.cpp.
References GCGrelaxBranchGetAllActiveExtendedMasterConss(), i, and SCIP_CALL().
Referenced by Stabilization(), updateStabilityCenter(), and updateSubgradientProduct().
◆ hasStabilityCenter()
| SCIP_Bool gcg::Stabilization::hasStabilityCenter | ( | ) | const |
Definition at line 1483 of file class_stabilization.cpp.
Referenced by Stabilization().