ReducedCostPricing Class Reference

Detailed Description

Definition at line 153 of file class_pricingtype.h.

#include <class_pricingtype.h>

Public Member Functions

 ReducedCostPricing ()
 
 ReducedCostPricing (SCIP *p_scip)
 
virtual ~ReducedCostPricing ()
 
virtual SCIP_RETCODE addParameters ()
 
virtual SCIP_Real consGetDual (SCIP *scip, SCIP_CONS *cons) const
 
virtual SCIP_Real rowGetDual (SCIP_ROW *row) 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 ()
 
 PricingType (SCIP *p_scip)
 
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
SCIP * scip_
 
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::ReducedCostPricing ( )

constructor

ReducedCostPricing::ReducedCostPricing ( SCIP *  p_scip)

Definition at line 202 of file class_pricingtype.cpp.

References GCG_PRICETYPE_REDCOST, and PricingType::type.

Member Function Documentation

SCIP_Real ReducedCostPricing::consGetDual ( SCIP *  scip,
SCIP_CONS *  cons 
) const
virtual

get dual value of a constraint

Implements PricingType.

Definition at line 187 of file class_pricingtype.cpp.

int ReducedCostPricing::getMaxcolsprob ( ) const
virtual

returns the maximal number of columns per problem to be generated during pricing

Implements PricingType.

Definition at line 231 of file class_pricingtype.cpp.

References GCGisRootNode(), PricingType::maxcolsprob, PricingType::maxcolsprobroot, and PricingType::scip_.

int ReducedCostPricing::getMaxcolsround ( ) const
virtual

returns the maximal number of columns per pricing round

Implements PricingType.

Definition at line 225 of file class_pricingtype.cpp.

References GCGisRootNode(), PricingType::maxcolsround, PricingType::maxcolsroundroot, and PricingType::scip_.

SCIP_Real ReducedCostPricing::getRelmaxprobs ( ) const
virtual

returns the maximal percentage of pricing problems that are solved if variables have already been found

Implements PricingType.

Definition at line 237 of file class_pricingtype.cpp.

References GCGisRootNode(), PricingType::relmaxprobs, PricingType::relmaxprobsroot, and PricingType::scip_.

SCIP_Real ReducedCostPricing::rowGetDual ( SCIP_ROW *  row) const
virtual

get dual value of a row

Implements PricingType.

Definition at line 195 of file class_pricingtype.cpp.

SCIP_Real ReducedCostPricing::varGetObj ( SCIP_VAR *  var) const
virtual

get objective value of variable

Implements PricingType.

Definition at line 209 of file class_pricingtype.cpp.

References GCGoriginalVarIsLinking(), and GCGpricingVarGetOrigvars().