FarkasPricing Class Reference

Detailed Description

Definition at line 191 of file class_pricingtype.h.

#include <class_pricingtype.h>

Public Member Functions

 FarkasPricing ()
 
 FarkasPricing (SCIP *p_scip)
 
virtual ~FarkasPricing ()
 
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

FarkasPricing::FarkasPricing ( )

constructor

FarkasPricing::FarkasPricing ( SCIP *  p_scip)

Definition at line 120 of file class_pricingtype.cpp.

References GCG_PRICETYPE_FARKAS, and PricingType::type.

Member Function Documentation

SCIP_RETCODE FarkasPricing::addParameters ( )
virtual
SCIP_Real FarkasPricing::consGetDual ( SCIP *  scip,
SCIP_CONS *  cons 
) const
virtual

get dual value of a constraint

Implements PricingType.

Definition at line 127 of file class_pricingtype.cpp.

int FarkasPricing::getMaxcolsprob ( ) const
virtual

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

Implements PricingType.

Definition at line 157 of file class_pricingtype.cpp.

References PricingType::maxcolsprob.

int FarkasPricing::getMaxcolsround ( ) const
virtual

returns the maximal number of columns per pricing round

Implements PricingType.

Definition at line 151 of file class_pricingtype.cpp.

References PricingType::maxcolsround.

SCIP_Real FarkasPricing::getRelmaxprobs ( ) const
virtual

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

Implements PricingType.

Definition at line 163 of file class_pricingtype.cpp.

References PricingType::relmaxprobs.

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

get dual value of a row

Implements PricingType.

Definition at line 135 of file class_pricingtype.cpp.

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

get objective value of variable

Implements PricingType.

Definition at line 142 of file class_pricingtype.cpp.