pricingjob.h File Reference

Detailed Description

private methods for working with pricing jobs, to be used by the pricing controller only

Author
Christian Puchert

Definition in file pricingjob.h.

#include "struct_pricingjob.h"
#include "type_pricingjob.h"
#include "type_pricingprob.h"

Go to the source code of this file.

Functions

EXTERN SCIP_RETCODE GCGpricingjobCreate (SCIP *scip, GCG_PRICINGJOB **pricingjob, GCG_PRICINGPROB *pricingprob, GCG_SOLVER *solver, int chunk)
 
EXTERN void GCGpricingjobFree (SCIP *scip, GCG_PRICINGJOB **pricingjob)
 
EXTERN SCIP_RETCODE GCGpricingjobSetup (GCG_PRICINGJOB *pricingjob, SCIP_Bool heuristic, int scoring, int nroundscol, SCIP_Real dualsolconv, int npointsprob, int nraysprob)
 
EXTERN void GCGpricingjobSetExact (GCG_PRICINGJOB *pricingjob)
 
EXTERN void GCGpricingjobResetHeuristic (GCG_PRICINGJOB *pricingjob)
 
EXTERN void GCGpricingjobIncreaseNHeurIters (GCG_PRICINGJOB *pricingjob)
 

Function Documentation

EXTERN SCIP_RETCODE GCGpricingjobCreate ( SCIP *  scip,
GCG_PRICINGJOB **  pricingjob,
GCG_PRICINGPROB pricingprob,
GCG_SOLVER solver,
int  chunk 
)

create a pricing job

Parameters
scipSCIP data structure (master problem)
pricingjobpricing job to be created
pricingprobdata structure of the corresponding pricing problem
solverpricing solver responsible for the pricing job
chunkchunk that the pricing problem should belong to

Definition at line 49 of file pricingjob.c.

EXTERN void GCGpricingjobFree ( SCIP *  scip,
GCG_PRICINGJOB **  pricingjob 
)

free a pricing job

Parameters
scipSCIP data structure (master problem)
pricingjobpricing job to be freed

Definition at line 70 of file pricingjob.c.

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

EXTERN void GCGpricingjobIncreaseNHeurIters ( GCG_PRICINGJOB pricingjob)

update number of heuristic pricing iterations of a pricing job

Parameters
pricingjobpricing job

Definition at line 177 of file pricingjob.c.

EXTERN void GCGpricingjobResetHeuristic ( GCG_PRICINGJOB pricingjob)

reset number of heuristic pricing iterations of a pricing job

Parameters
pricingjobpricing job

Definition at line 168 of file pricingjob.c.

EXTERN void GCGpricingjobSetExact ( GCG_PRICINGJOB pricingjob)

set the pricing job to be performed exactly

Parameters
pricingjobpricing job

Definition at line 160 of file pricingjob.c.

EXTERN SCIP_RETCODE GCGpricingjobSetup ( GCG_PRICINGJOB pricingjob,
SCIP_Bool  heuristic,
int  scoring,
int  nroundscol,
SCIP_Real  dualsolconv,
int  npointsprob,
int  nraysprob 
)

setup a pricing job at the beginning of the pricing loop

Parameters
pricingjobpricing job
heuristicshall the pricing job be performed heuristically?
scoringscoring parameter
nroundscolnumber of previous pricing rounds for which the number of improving columns should be counted
dualsolconvdual solution value of corresponding convexity constraint
npointsprobtotal number of extreme points generated so far by the pricing problem
nraysprobtotal number of extreme rays generated so far by the pricing problem

Definition at line 80 of file pricingjob.c.

References GCGpricingjobGetPricingprob(), GCGpricingprobGetNColsLastRounds(), and GCGpricingprobGetProbnr().