GCG 4.1.1 (dev)

Generic Column Generation

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

Detailed Description

pricing controller managing the pricing strategy

Author
Christian Puchert

Definition in file class_pricingcontroller.cpp.

#include "gcg/class_pricingcontroller.h"
#include "gcg/pricer_gcg.h"
#include "gcg/class_pricingtype.h"
#include "gcg/gcg.h"
#include "gcg/scip_misc.h"
#include "gcg/branch_generic.h"
#include "gcg/cons_masterbranch.h"
#include "gcg/pub_gcgpqueue.h"
#include "gcg/pub_pricingjob.h"
#include "gcg/pub_pricingprob.h"
#include "gcg/pub_solver.h"
#include "gcg/pricingjob.h"
#include "gcg/pricingprob.h"
#include "scip/scip.h"
#include "objscip/objscip.h"
#include <exception>

Go to the source code of this file.

Namespaces

namespace  gcg

Macros

#define DEFAULT_HEURPRICINGITERS   1
#define DEFAULT_MAXHEURDEPTH   -1
#define DEFAULT_SORTING   'r'
#define DEFAULT_NROUNDSCOL   15
#define DEFAULT_CHUNKSIZE   INT_MAX
#define DEFAULT_EAGERFREQ   10
#define SCIP_CALL_EXC(x)

Functions

 gcg::SCIP_DECL_SORTPTRCOMP (Pricingcontroller::comparePricingjobs)

Macro Definition Documentation

◆ DEFAULT_HEURPRICINGITERS

#define DEFAULT_HEURPRICINGITERS   1

maximum number of heuristic pricing iterations per pricing call and problem

Definition at line 59 of file class_pricingcontroller.cpp.

Referenced by gcg::Pricingcontroller::addParameters().

◆ DEFAULT_MAXHEURDEPTH

#define DEFAULT_MAXHEURDEPTH   -1

maximum depth at which heuristic pricing should be performed (-1 for infinity)

Definition at line 60 of file class_pricingcontroller.cpp.

Referenced by gcg::Pricingcontroller::addParameters().

◆ DEFAULT_SORTING

#define DEFAULT_SORTING   'r'

order by which the pricing problems should be sorted: 'i'ndices 'd'ual solutions of convexity constraints 'r'eliability from all previous rounds reliability from the 'l'ast nroundscol rounds

Definition at line 61 of file class_pricingcontroller.cpp.

Referenced by gcg::Pricingcontroller::addParameters(), and gcg::Pricingcontroller::Pricingcontroller().

◆ DEFAULT_NROUNDSCOL

#define DEFAULT_NROUNDSCOL   15

◆ DEFAULT_CHUNKSIZE

#define DEFAULT_CHUNKSIZE   INT_MAX

maximal number of pricing problems to be solved during one pricing loop

Definition at line 68 of file class_pricingcontroller.cpp.

Referenced by gcg::Pricingcontroller::addParameters(), and gcg::Pricingcontroller::Pricingcontroller().

◆ DEFAULT_EAGERFREQ

#define DEFAULT_EAGERFREQ   10

frequency at which all pricingproblems should be solved (0 to disable)

Definition at line 69 of file class_pricingcontroller.cpp.

Referenced by gcg::Pricingcontroller::addParameters(), and gcg::Pricingcontroller::Pricingcontroller().

◆ SCIP_CALL_EXC

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

Definition at line 71 of file class_pricingcontroller.cpp.