GCG 4.1.1 (dev)

Generic Column Generation

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

Detailed Description

pricer for generic column generation

Author
Gerald Gamrath
Martin Bergner
Alexander Gross
Christian Puchert
Michael Bastubbe
Jonas Witt
Erik Muehmer

Definition in file pricer_gcg.cpp.

#include "gcg/pub_extendedmasterconsdata.h"
#include "gcg/extendedmasterconsdata.h"
#include "gcg/gcgvarhistory.h"
#include "gcg/pub_gcgvar.h"
#include "gcg/type_branchgcg.h"
#include "gcg/type_extendedmasterconsdata.h"
#include "gcg/type_pricingprob.h"
#include "gcg/struct_gcg.h"
#include "gcg/pub_mastersepacut.h"
#include "gcg/pub_gcg.hpp"
#include <cassert>
#include <cstring>
#include "scip/scip.h"
#include "gcg/gcg.h"
#include "scip/cons_linear.h"
#include "scip/cons_knapsack.h"
#include "gcg/pricer_gcg.h"
#include "gcg/objpricer_gcg.h"
#include "gcg/sepa_original.h"
#include "gcg/sepa_basis.h"
#include "gcg/relax_gcg.h"
#include "gcg/scip_misc.h"
#include "gcg/pub_gcgcol.h"
#include "gcg/pub_pricingjob.h"
#include "gcg/pub_pricingprob.h"
#include "gcg/pub_solver.h"
#include "gcg/solver.h"
#include "gcg/cons_masterbranch.h"
#include "objscip/objscip.h"
#include "gcg/class_pricingtype.h"
#include "gcg/class_pricingcontroller.h"
#include "gcg/class_stabilization.h"
#include "gcg/branch_generic.h"
#include "gcg/event_display.h"
#include "gcg/pub_colpool.h"
#include "gcg/struct_solver.h"
#include "gcg/pricingcb.h"

Go to the source code of this file.

Data Structures

struct  SCIP_PricerData
struct  SCIP_EventhdlrData
struct  GCG_MastervarKey

Macros

#define PRICER_NAME   "gcg"
#define PRICER_DESC   "pricer for gcg"
#define PRICER_PRIORITY   5000000
#define PRICER_DELAY   TRUE
#define DEFAULT_ABORTPRICINGINT   TRUE
#define DEFAULT_ABORTPRICINGGAP   0.00
#define DEFAULT_DISPINFOS   FALSE
#define DEFAULT_DISABLECUTOFF   2
#define DEFAULT_NTHREADS   1
#define DEFAULT_STABILIZATION   TRUE
#define DEFAULT_STABILIZATIONTREE   FALSE
#define DEFAULT_HYBRIDASCENT   FALSE
#define DEFAULT_HYBRIDASCENT_NOAGG   FALSE
#define DEFAULT_USECOLPOOL   TRUE
#define DEFAULT_PREVENTDUPLICATECOLS   TRUE
#define DEFAULT_COLPOOL_AGELIMIT   100
#define DEFAULT_PRICE_ORTHOFAC   0.0
#define DEFAULT_PRICE_OBJPARALFAC   0.0
#define DEFAULT_PRICE_REDCOSTFAC   1.0
#define DEFAULT_PRICE_MINCOLORTH   0.0
#define DEFAULT_PRICE_EFFICIACYCHOICE   0
#define DEFAULT_USEARTIFICIALVARS   FALSE
#define DEFAULT_USEMAXOBJ   TRUE
#define DEFAULT_ONLYRELIABLEBIGM   TRUE
#define DEFAULT_FACTORUNRELIABLE   1000
#define DEFAULT_BIGMARTIFICIAL   1000
#define EVENTHDLR_NAME   "probdatavardeleted"
#define EVENTHDLR_DESC   "event handler for variable deleted event"
#define GCGpricerPrintInfo(scip, pricerdata, ...)
#define PRICER_STAT_ARRAYLEN_TIME   1024
#define PRICER_STAT_BUCKETSIZE_TIME   10
#define PRICER_STAT_ARRAYLEN_VARS   1024
#define PRICER_STAT_BUCKETSIZE_VARS   1
#define eventInitVardeleted   NULL
#define eventExitVardeleted   NULL
#define eventInitsolVardeleted   NULL
#define eventExitsolVardeleted   NULL
#define eventDeleteVardeleted   NULL

Functions

static SCIP_DECL_HASHGETKEY (hashGetKeyMastervarkey)
static SCIP_DECL_HASHKEYEQ (hashKeyEqMastervarkey)
static SCIP_DECL_HASHKEYVAL (hashKeyValMastervarkey)
static SCIP_Bool getMastervarKey (SCIP *masterprob, SCIP_VAR *mastervar, GCG_MASTERVARKEY *mvkey)
static SCIP_DECL_PARAMCHGD (paramChgdDisablecutoff)
static SCIP_DECL_EVENTFREE (eventFreeVardeleted)
static SCIP_DECL_EVENTEXEC (eventExecVardeleted)
SCIP_RETCODE GCGsetPricingObjs (GCG *gcg, SCIP_Real *dualsolconv)
void GCGsetPricingObjDualWeight (GCG *gcg, SCIP_Real dualweight)
void GCGsetPricingObjRelaxWeight (GCG *gcg, SCIP_Real *weights, int *weightids, int nweights)
SCIP_RETCODE GCGcreateNewMasterVarFromGcgCol (GCG *gcg, SCIP_Bool infarkas, GCG_COL *gcgcol, SCIP_Bool force, SCIP_Bool *added, SCIP_VAR **addedvar, SCIP_Real score)
SCIP_RETCODE GCGcomputeColMastercoefs (GCG *gcg, GCG_COL *gcgcol)
SCIP_Real GCGcomputeRedCostGcgCol (GCG *gcg, SCIP_Bool infarkas, GCG_COL *gcgcol, SCIP_Real *objvalptr)
SCIP_RETCODE GCGpricerIncludePricingcb (GCG *gcg, const char *name, const char *desc, int priority, GCG_DECL_PRICINGCBFREE((*pricingcbfree)), GCG_DECL_PRICINGCBINIT((*pricingcbinit)), GCG_DECL_PRICINGCBEXIT((*pricingcbexit)), GCG_DECL_PRICINGCBINITSOL((*pricingcbinitsol)), GCG_DECL_PRICINGCBEXITSOL((*pricingcbexitsol)), GCG_DECL_PRICINGCBPREPRICING((*pricingcbprepricing)), GCG_DECL_PRICINGCBPOSTPRICING((*pricingcbpostpricing)), GCG_PRICINGCBDATA *pricingcbdata)
GCG_PRICINGCB ** GCGpricerGetPricingcbs (GCG *gcg)
int GCGpricerGetNPricingcbs (GCG *gcg)
GCG_PRICINGCB * GCGpricerFindPricingcb (GCG *gcg, const char *name)
 SCIP_DECL_PRICERFREE (ObjPricerGcg::scip_free)
 SCIP_DECL_PRICERINIT (ObjPricerGcg::scip_init)
 SCIP_DECL_PRICEREXIT (ObjPricerGcg::scip_exit)
 SCIP_DECL_PRICERINITSOL (ObjPricerGcg::scip_initsol)
 SCIP_DECL_PRICEREXITSOL (ObjPricerGcg::scip_exitsol)
 SCIP_DECL_PRICERREDCOST (ObjPricerGcg::scip_redcost)
 SCIP_DECL_PRICERFARKAS (ObjPricerGcg::scip_farkas)
SCIP_RETCODE GCGincludePricerGcg (GCG *gcg)
SCIP_VAR ** GCGmasterGetPricedvars (GCG *gcg)
int GCGmasterGetNPricedvars (GCG *gcg)
SCIP_RETCODE GCGmasterAddMasterconsToHashmap (GCG *gcg, SCIP_CONS *cons, int pos)
SCIP_RETCODE GCGpricerIncludeSolver (GCG *gcg, const char *name, const char *desc, int priority, SCIP_Bool heurenabled, SCIP_Bool exactenabled, GCG_DECL_SOLVERUPDATE((*solverupdate)), GCG_DECL_SOLVERSOLVE((*solversolve)), GCG_DECL_SOLVERSOLVEHEUR((*solversolveheur)), GCG_DECL_SOLVERFREE((*solverfree)), GCG_DECL_SOLVERINIT((*solverinit)), GCG_DECL_SOLVEREXIT((*solverexit)), GCG_DECL_SOLVERINITSOL((*solverinitsol)), GCG_DECL_SOLVEREXITSOL((*solverexitsol)), GCG_SOLVERDATA *solverdata)
GCG_SOLVER ** GCGpricerGetSolvers (GCG *gcg)
int GCGpricerGetNSolvers (GCG *gcg)
void GCGpricerPrintListOfSolvers (GCG *gcg)
void GCGpricerPrintPricingStatistics (GCG *gcg, FILE *file)
void GCGpricerPrintStatistics (GCG *gcg, FILE *file)
SCIP_RETCODE GCGpricerExistRays (GCG *gcg, SCIP_Bool *exist)
int GCGpricerGetNPointsProb (GCG *gcg, int probnr)
int GCGpricerGetNRaysProb (GCG *gcg, int probnr)
int GCGpricerGetMaxColsRound (GCG *gcg)
int GCGpricerGetMaxColsProb (GCG *gcg)
SCIP_RETCODE GCGpricerAddCol (GCG *gcg, GCG_COL *col)
SCIP_RETCODE GCGpricerAddColResult (GCG *gcg, GCG_COL *col, SCIP_Bool *added)
SCIP_RETCODE GCGmasterTransOrigSolToMasterVars (GCG *gcg, SCIP_SOL *origsol, SCIP_Bool *stored)
SCIP_RETCODE GCGmasterCreateInitialMastervars (GCG *gcg)
SCIP_Real GCGmasterGetDegeneracy (GCG *gcg)
SCIP_Bool GCGmasterIsCurrentSolValid (GCG *gcg)
SCIP_Bool GCGmasterIsBestsolValid (GCG *gcg)
SCIP_Bool GCGmasterIsSolValid (GCG *gcg, SCIP_SOL *mastersol)
SCIP_Longint GCGmasterGetPricingSimplexIters (GCG *gcg)
SCIP_RETCODE GCGmasterPrintSimplexIters (GCG *gcg, FILE *file)
GCG_COLPOOL * GCGgetColpool (GCG *gcg)
GCG_VARHISTORY * GCGgetCurrentVarhistoryReference (GCG *gcg)
GCG * GCGpricerGetGcg (SCIP *masterprob)
int GCGgetNActivePricingproblemModifications (GCG *gcg, int probnr)
int GCGgetNAppliedPricingproblemModifications (GCG *gcg, int probnr)

Macro Definition Documentation

◆ PRICER_NAME

#define PRICER_NAME   "gcg"

Definition at line 108 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), and GCGpricerGetGcg().

◆ PRICER_DESC

#define PRICER_DESC   "pricer for gcg"

Definition at line 109 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ PRICER_PRIORITY

#define PRICER_PRIORITY   5000000

Definition at line 110 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ PRICER_DELAY

#define PRICER_DELAY   TRUE

Definition at line 111 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_ABORTPRICINGINT

#define DEFAULT_ABORTPRICINGINT   TRUE

should the pricing be aborted when integral

Definition at line 113 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_ABORTPRICINGGAP

#define DEFAULT_ABORTPRICINGGAP   0.00

gap between dual bound and RMP objective at which pricing is aborted

Definition at line 114 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_DISPINFOS

#define DEFAULT_DISPINFOS   FALSE

should additional information be displayed

Definition at line 115 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), and GCGincludeRelaxGcg().

◆ DEFAULT_DISABLECUTOFF

#define DEFAULT_DISABLECUTOFF   2

should the cutoffbound be applied in master LP solving? (0: on, 1:off, 2:auto)

Definition at line 116 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_NTHREADS

#define DEFAULT_NTHREADS   1

number of threads (0: up to omp_get_max_threads())

Definition at line 117 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_STABILIZATION

#define DEFAULT_STABILIZATION   TRUE

should stabilization be used

Definition at line 118 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_STABILIZATIONTREE

#define DEFAULT_STABILIZATIONTREE   FALSE

should stabilization be used in nodes other than the root node

Definition at line 119 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_HYBRIDASCENT

#define DEFAULT_HYBRIDASCENT   FALSE

should hybridization of smoothing with an ascent method be enabled

Definition at line 120 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_HYBRIDASCENT_NOAGG

#define DEFAULT_HYBRIDASCENT_NOAGG   FALSE

should hybridization of smoothing with an ascent method be enabled if pricing problems cannot be aggregated

Definition at line 121 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_USECOLPOOL

#define DEFAULT_USECOLPOOL   TRUE

should the colpool be checked for negative redcost cols before solving the pricing problems?

Definition at line 124 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_PREVENTDUPLICATECOLS

#define DEFAULT_PREVENTDUPLICATECOLS   TRUE

should existing master variables be reused when transferring an original solution instead of creating duplicate columns?

Definition at line 125 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_COLPOOL_AGELIMIT

#define DEFAULT_COLPOOL_AGELIMIT   100

default age limit for columns in column pool

Definition at line 127 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_PRICE_ORTHOFAC

#define DEFAULT_PRICE_ORTHOFAC   0.0

Definition at line 129 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_PRICE_OBJPARALFAC

#define DEFAULT_PRICE_OBJPARALFAC   0.0

Definition at line 130 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_PRICE_REDCOSTFAC

#define DEFAULT_PRICE_REDCOSTFAC   1.0

Definition at line 131 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_PRICE_MINCOLORTH

#define DEFAULT_PRICE_MINCOLORTH   0.0

Definition at line 132 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_PRICE_EFFICIACYCHOICE

#define DEFAULT_PRICE_EFFICIACYCHOICE   0

Definition at line 133 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_USEARTIFICIALVARS

#define DEFAULT_USEARTIFICIALVARS   FALSE

add artificial vars to master (instead of using Farkas pricing)

Definition at line 135 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_USEMAXOBJ

#define DEFAULT_USEMAXOBJ   TRUE

default value for using maxobj for big M objective of artificial variables

Definition at line 136 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_ONLYRELIABLEBIGM

#define DEFAULT_ONLYRELIABLEBIGM   TRUE

default value for only using maxobj for big M objective of artificial variables if it is reliable

Definition at line 137 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_FACTORUNRELIABLE

#define DEFAULT_FACTORUNRELIABLE   1000

default factor to use for objective of unbounded variables

Definition at line 138 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ DEFAULT_BIGMARTIFICIAL

#define DEFAULT_BIGMARTIFICIAL   1000

default value for big M objective of artificial variables (if maxobj is not used)

Definition at line 139 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ EVENTHDLR_NAME

#define EVENTHDLR_NAME   "probdatavardeleted"

Definition at line 141 of file pricer_gcg.cpp.

◆ EVENTHDLR_DESC

#define EVENTHDLR_DESC   "event handler for variable deleted event"

Definition at line 142 of file pricer_gcg.cpp.

◆ GCGpricerPrintInfo

#define GCGpricerPrintInfo ( scip,
pricerdata,
... )
Value:
do { \
if( pricerdata->dispinfos ) { \
SCIPverbMessage(scip, SCIP_VERBLEVEL_NORMAL, NULL, __VA_ARGS__);\
} else {\
SCIPdebugMessage(__VA_ARGS__); \
}\
}while( FALSE )
#define NULL
SCIP_VERBLEVEL_NORMAL

small macro to simplify printing pricer information

Definition at line 145 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::priceNewVariables().

◆ PRICER_STAT_ARRAYLEN_TIME

#define PRICER_STAT_ARRAYLEN_TIME   1024

length of the array for Time histogram representation

Definition at line 153 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), and SCIP_DECL_PRICERINITSOL().

◆ PRICER_STAT_BUCKETSIZE_TIME

#define PRICER_STAT_BUCKETSIZE_TIME   10

size of the buckets for Time histogram representation

Definition at line 154 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics().

◆ PRICER_STAT_ARRAYLEN_VARS

#define PRICER_STAT_ARRAYLEN_VARS   1024

length of the array for foundVars histogram representation

Definition at line 155 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), and SCIP_DECL_PRICERINITSOL().

◆ PRICER_STAT_BUCKETSIZE_VARS

#define PRICER_STAT_BUCKETSIZE_VARS   1

size of the buckets for foundVars histogram representation

Definition at line 156 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics().

◆ eventInitVardeleted

#define eventInitVardeleted   NULL

initialization method of event handler (called after problem was transformed)

Definition at line 448 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ eventExitVardeleted

#define eventExitVardeleted   NULL

deinitialization method of event handler (called before transformed problem is freed)

Definition at line 451 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ eventInitsolVardeleted

#define eventInitsolVardeleted   NULL

solving process initialization method of event handler (called when branch and bound process is about to begin)

Definition at line 454 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ eventExitsolVardeleted

#define eventExitsolVardeleted   NULL

solving process deinitialization method of event handler (called before branch and bound process data is freed)

Definition at line 457 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ eventDeleteVardeleted

#define eventDeleteVardeleted   NULL

frees specific event data

Definition at line 460 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

Typedef Documentation

◆ GCG_MASTERVARKEY

Definition at line 305 of file pricer_gcg.cpp.

Function Documentation

◆ SCIP_DECL_HASHGETKEY()

SCIP_DECL_HASHGETKEY ( hashGetKeyMastervarkey )
static

gets the key of a master variable key (the key is the element itself)

Definition at line 310 of file pricer_gcg.cpp.

◆ SCIP_DECL_HASHKEYEQ()

SCIP_DECL_HASHKEYEQ ( hashKeyEqMastervarkey )
static

returns whether two master variable keys describe the same column

Definition at line 317 of file pricer_gcg.cpp.

References GCG_MastervarKey::block, i, GCG_MastervarKey::nvars, GCG_MastervarKey::vals, and GCG_MastervarKey::vars.

◆ SCIP_DECL_HASHKEYVAL()

SCIP_DECL_HASHKEYVAL ( hashKeyValMastervarkey )
static

returns the hash value of a master variable key

Note
mirrors GCGhashKeyValCol; like that one it does not respect tolerances

Definition at line 343 of file pricer_gcg.cpp.

References assert(), GCG_MastervarKey::block, GCG_MastervarKey::nvars, GCG_MastervarKey::vals, and GCG_MastervarKey::vars.

◆ getMastervarKey()

SCIP_Bool getMastervarKey ( SCIP * masterprob,
SCIP_VAR * mastervar,
GCG_MASTERVARKEY * mvkey )
static

fills a master variable key describing the column of the given master variable

GCGcreateMasterVar stores either only nonzero entries, or - for a column without any nonzero entry - every pricing variable with value 0 (its trivialsol case).

Returns
TRUE if the key describes the variable, FALSE if the variable mixes zero and nonzero entries and can therefore not be described without compaction.
Parameters
masterprobmaster SCIP data structure
mastervarmaster variable to describe
mvkeykey to fill

Definition at line 377 of file pricer_gcg.cpp.

References assert(), GCG_MastervarKey::block, GCGmasterVarGetNOrigvars(), GCGmasterVarGetOrigvals(), GCGmasterVarGetOrigvars(), GCGvarGetBlock(), GCGvarIsMaster(), getMastervarKey(), i, masterprob, GCG_MastervarKey::mastervar, GCG_MastervarKey::nvars, GCG_MastervarKey::vals, and GCG_MastervarKey::vars.

Referenced by GCGmasterTransOrigSolToMasterVars(), and getMastervarKey().

◆ SCIP_DECL_PARAMCHGD()

SCIP_DECL_PARAMCHGD ( paramChgdDisablecutoff )
static

information method for a parameter change of disablecutoff

Definition at line 416 of file pricer_gcg.cpp.

References GCGgetMasterprob(), GCGorigGetGcg(), masterprob, and SCIP_CALL().

◆ SCIP_DECL_EVENTFREE()

SCIP_DECL_EVENTFREE ( eventFreeVardeleted )
static

destructor of event handler to free user data (called when SCIP is exiting)

Definition at line 436 of file pricer_gcg.cpp.

References assert().

◆ SCIP_DECL_EVENTEXEC()

◆ SCIP_DECL_PRICERFREE()

SCIP_DECL_PRICERFREE ( ObjPricerGcg::scip_free )

destructor of variable pricer to free user data (called when SCIP is exiting)

Definition at line 4699 of file pricer_gcg.cpp.

References assert(), SCIP_PricerData::pricingcbs, SCIP_CALL(), SCIP_DECL_PRICERFREE(), SCIPfreeMemory(), and SCIP_PricerData::solvers.

Referenced by SCIP_DECL_PRICERFREE().

◆ SCIP_DECL_PRICERINIT()

SCIP_DECL_PRICERINIT ( ObjPricerGcg::scip_init )

initialization method of variable pricer (called after problem was transformed)

Definition at line 4735 of file pricer_gcg.cpp.

References SCIP_PricerData::artificialused, SCIP_PricerData::artificialvars, assert(), SCIP_PricerData::maxartificialvars, SCIP_PricerData::nartificialvars, and SCIP_CALL().

◆ SCIP_DECL_PRICEREXIT()

SCIP_DECL_PRICEREXIT ( ObjPricerGcg::scip_exit )

deinitialization method of variable pricer (called before transformed problem is freed)

Definition at line 4757 of file pricer_gcg.cpp.

References assert(), SCIP_CALL(), and SCIP_DECL_PRICEREXIT().

Referenced by SCIP_DECL_PRICEREXIT().

◆ SCIP_DECL_PRICERINITSOL()

SCIP_DECL_PRICERINITSOL ( ObjPricerGcg::scip_initsol )

solving process initialization method of variable pricer (called when branch and bound process is about to begin)

Definition at line 4768 of file pricer_gcg.cpp.

References SCIP_PricerData::artificialused, assert(), SCIP_PricerData::avgrootnodedegeneracy, SCIP_PricerData::calls, SCIP_PricerData::currnodenr, SCIP_PricerData::dualsolconv, SCIP_PricerData::dualweight, SCIP_PricerData::duplicatecolclock, SCIP_PricerData::factorunreliable, SCIP_PricerData::farkascallsdist, SCIP_PricerData::farkasfoundvars, SCIP_PricerData::farkasnodetimedist, SCIP_PricerData::freeclock, GCGactivateEventHdlrDisplay(), GCGcountInferredCoefPricingVars(), GCGgetMasterConss(), GCGgetNMasterConss(), GCGgetNPricingprobs(), GCGgetNVarLinkingconss(), GCGgetPricingprob(), GCGisPricingprobRelevant(), GCGvarhistoryCreate(), i, SCIP_PricerData::mapcons2idx, SCIP_PricerData::maxobj, SCIP_PricerData::maxpricedvars, SCIP_PricerData::maxsolvals, SCIP_PricerData::nactivepricingmods, SCIP_PricerData::nappliedpricingmods, SCIP_PricerData::ndegeneracycalcs, SCIP_PricerData::nduplicatecols, SCIP_PricerData::nefficaciouscols, SCIP_PricerData::npointsprob, SCIP_PricerData::npricedvars, SCIP_PricerData::npricingcbs, SCIP_PricerData::npricingloopiters, SCIP_PricerData::npricingprobs, SCIP_PricerData::npricingprobsnotnull, SCIP_PricerData::nraysprob, SCIP_PricerData::nrealdualvalues, SCIP_PricerData::nroundsredcost, SCIP_PricerData::nsolvers, obj, SCIP_PricerData::oldvars, SCIP_PricerData::onlyreliablebigm, origprob, SCIP_PricerData::pricedvars, PRICER_STAT_ARRAYLEN_TIME, PRICER_STAT_ARRAYLEN_VARS, SCIP_PricerData::pricingcbs, SCIP_PricerData::pricingiters, SCIP_PricerData::pricingprobs, SCIP_PricerData::realdualvalues, SCIP_PricerData::redcostcallsdist, SCIP_PricerData::redcostfoundvars, SCIP_PricerData::redcostnodetimedist, SCIP_PricerData::relaxobjective, SCIP_PricerData::relaxweight, SCIP_PricerData::rootnodedegeneracy, SCIP_CALL(), SCIP_DECL_PRICERINITSOL(), SCIP_PricerData::solvals, SCIP_PricerData::solvedsubmipsheur, SCIP_PricerData::solvedsubmipsoptimal, SCIP_PricerData::solvers, SCIP_PricerData::transformclock, SCIP_PricerData::useartificialvars, SCIP_PricerData::usecolpool, SCIP_PricerData::usemaxobj, var, SCIP_PricerData::varhistory, and SCIP_PricerData::vartype.

Referenced by SCIP_DECL_PRICERINITSOL().

◆ SCIP_DECL_PRICEREXITSOL()

SCIP_DECL_PRICEREXITSOL ( ObjPricerGcg::scip_exitsol )

◆ SCIP_DECL_PRICERREDCOST()

◆ SCIP_DECL_PRICERFARKAS()

◆ GCGpricerIncludeSolver()

SCIP_RETCODE GCGpricerIncludeSolver ( GCG * gcg,
const char * name,
const char * desc,
int priority,
SCIP_Bool heurenabled,
SCIP_Bool exactenabled,
GCG_DECL_SOLVERUPDATE((*solverupdate)) ,
GCG_DECL_SOLVERSOLVE((*solversolve)) ,
GCG_DECL_SOLVERSOLVEHEUR((*solversolveheur)) ,
GCG_DECL_SOLVERFREE((*solverfree)) ,
GCG_DECL_SOLVERINIT((*solverinit)) ,
GCG_DECL_SOLVEREXIT((*solverexit)) ,
GCG_DECL_SOLVERINITSOL((*solverinitsol)) ,
GCG_DECL_SOLVEREXITSOL((*solverexitsol)) ,
GCG_SOLVERDATA * solverdata )

includes a solver into the pricer data

Parameters
gcgGCG data structure
namename of solver
descdescription of solver
prioritypriority of solver
heurenabledflag to indicate whether heuristic solving method of the solver is enabled
exactenabledflag to indicate whether exact solving method of the solver is enabled
-update method for solver
-solving method for solver
-heuristic solving method for solver
-free method of solver
-init method of solver
-exit method of solver
-initsol method of solver
-exitsol method of solver
solverdatapricing solver data

Definition at line 5750 of file pricer_gcg.cpp.

References assert(), GCG_DECL_SOLVEREXIT, GCG_DECL_SOLVEREXITSOL, GCG_DECL_SOLVERFREE, GCG_DECL_SOLVERINIT, GCG_DECL_SOLVERINITSOL, GCG_DECL_SOLVERSOLVE, GCG_DECL_SOLVERSOLVEHEUR, GCG_DECL_SOLVERUPDATE, GCGgetObjPricer(), GCGpricerIncludeSolver(), GCGsolverCreate(), ObjPricerGcg::getPricerdata(), SCIP_PricerData::nsolvers, SCIP_CALL(), and SCIP_PricerData::solvers.

Referenced by GCGincludeSolverCliquer(), GCGincludeSolverCplex(), GCGincludeSolverGcg(), GCGincludeSolverHighs(), GCGincludeSolverKnapsack(), GCGincludeSolverMip(), GCGpricerIncludeSolver(), and GCGpricerIncludeSolver().