GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
class_pricingtype.cpp File Reference

Detailed Description

abstraction for SCIP pricing types

Author
Martin Bergner
Christian Puchert

Definition in file class_pricingtype.cpp.

#include "scip/scip.h"
#include "gcg/class_pricingtype.h"
#include "scip/cons_linear.h"
#include "gcg/pub_gcgvar.h"
#include "gcg/pub_extendedmasterconsdata.h"
#include "scip/pub_lp.h"
#include "scip/clock.h"
#include "gcg/scip_misc.h"
#include <exception>

Go to the source code of this file.

Macros

#define DEFAULT_MAXROUNDSREDCOST   INT_MAX
#define DEFAULT_MAXCOLSROUNDREDCOSTROOT   100
#define DEFAULT_MAXCOLSROUNDREDCOST   100
#define DEFAULT_MAXCOLSPROBREDCOSTROOT   10
#define DEFAULT_MAXCOLSPROBREDCOST   10
#define DEFAULT_MAXSUCCESSFULPROBSREDCOST   INT_MAX
#define DEFAULT_RELMAXPROBSREDCOSTROOT   1.0
#define DEFAULT_RELMAXPROBSREDCOST   1.0
#define DEFAULT_RELMAXSUCCESSFULPROBSREDCOST   1.0
#define DEFAULT_MAXCOLSROUNDFARKAS   10
#define DEFAULT_MAXCOLSPROBFARKAS   10
#define DEFAULT_RELMAXPROBSFARKAS   1.0
#define SCIP_CALL_EXC(x)

Macro Definition Documentation

◆ DEFAULT_MAXROUNDSREDCOST

#define DEFAULT_MAXROUNDSREDCOST   INT_MAX

maximal number of reduced cost pricing rounds

Definition at line 48 of file class_pricingtype.cpp.

Referenced by ReducedCostPricing::addParameters().

◆ DEFAULT_MAXCOLSROUNDREDCOSTROOT

#define DEFAULT_MAXCOLSROUNDREDCOSTROOT   100

maximal number of columns per reduced cost pricing round at root node

Definition at line 49 of file class_pricingtype.cpp.

Referenced by ReducedCostPricing::addParameters().

◆ DEFAULT_MAXCOLSROUNDREDCOST

#define DEFAULT_MAXCOLSROUNDREDCOST   100

maximal number of columns per reduced cost pricing round

Definition at line 50 of file class_pricingtype.cpp.

Referenced by ReducedCostPricing::addParameters().

◆ DEFAULT_MAXCOLSPROBREDCOSTROOT

#define DEFAULT_MAXCOLSPROBREDCOSTROOT   10

maximal number of columns per problem to be generated during red. cost pricing at root node

Definition at line 51 of file class_pricingtype.cpp.

Referenced by ReducedCostPricing::addParameters().

◆ DEFAULT_MAXCOLSPROBREDCOST

#define DEFAULT_MAXCOLSPROBREDCOST   10

maximal number of columns per problem to be generated during red. cost pricing

Definition at line 52 of file class_pricingtype.cpp.

Referenced by ReducedCostPricing::addParameters().

◆ DEFAULT_MAXSUCCESSFULPROBSREDCOST

#define DEFAULT_MAXSUCCESSFULPROBSREDCOST   INT_MAX

maximal number of successfully solved red. cost pricing problems until pricing loop is aborted

Definition at line 53 of file class_pricingtype.cpp.

Referenced by ReducedCostPricing::addParameters().

◆ DEFAULT_RELMAXPROBSREDCOSTROOT

#define DEFAULT_RELMAXPROBSREDCOSTROOT   1.0

maximal percentage of red. cost pricing problems that are solved at root node if variables have already been found

Definition at line 54 of file class_pricingtype.cpp.

Referenced by ReducedCostPricing::addParameters().

◆ DEFAULT_RELMAXPROBSREDCOST

#define DEFAULT_RELMAXPROBSREDCOST   1.0

maximal percentage of red. cost pricing problems that are solved if variables have already been found

Definition at line 55 of file class_pricingtype.cpp.

Referenced by ReducedCostPricing::addParameters().

◆ DEFAULT_RELMAXSUCCESSFULPROBSREDCOST

#define DEFAULT_RELMAXSUCCESSFULPROBSREDCOST   1.0

maximal percentage of successfully solved red. cost pricing problems until pricing loop is aborted

Definition at line 56 of file class_pricingtype.cpp.

Referenced by ReducedCostPricing::addParameters().

◆ DEFAULT_MAXCOLSROUNDFARKAS

#define DEFAULT_MAXCOLSROUNDFARKAS   10

maximal number of columns per Farkas pricing round

Definition at line 58 of file class_pricingtype.cpp.

Referenced by FarkasPricing::addParameters().

◆ DEFAULT_MAXCOLSPROBFARKAS

#define DEFAULT_MAXCOLSPROBFARKAS   10

maximal number of columns per problem to be generated during Farkas pricing

Definition at line 59 of file class_pricingtype.cpp.

Referenced by FarkasPricing::addParameters().

◆ DEFAULT_RELMAXPROBSFARKAS

#define DEFAULT_RELMAXPROBSFARKAS   1.0

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

Definition at line 60 of file class_pricingtype.cpp.

Referenced by FarkasPricing::addParameters().

◆ SCIP_CALL_EXC

#define SCIP_CALL_EXC ( x)
Value:
do \
{ \
SCIP_RETCODE _restat_; \
if( (_restat_ = (x)) != SCIP_OKAY ) \
{ \
SCIPerrorMessage("Error <%d> in function call\n", _restat_); \
throw std::exception(); \
} \
} \
while( FALSE )
SCIP_VAR ** x
enum SCIP_Retcode SCIP_RETCODE

Definition at line 63 of file class_pricingtype.cpp.