GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
GCG_SolverData Struct Reference

Detailed Description

pricing solver data

branching data for branching decisions

Definition at line 90 of file solver_cliquer.c.

Data Fields

SCIP_Real maxdensity
int skipchecksnodelimit
int maxnodes
SCIP_Real maxcliqueconsperc
SCIP_Bool * isnotapplicable
int objcoefdistr
SCIP_Bool usemultiplicity
SCIP_Bool uselincutoff
SCIP_Real lincutoffslope
SCIP_Real lincutoffintercept
GCG * gcg
SCIP ** pricingprobs
int npricingprobs
CPXENVptr * cpxenv
CPXLPptr * lp
int * nupdates
SCIP_Longint * curnodelimit
SCIP_Real * curgaplimit
SCIP_Longint * cursollimit
SCIP_VAR *** pricingvars
SCIP_CONS *** pricingconss
int * npricingvars
int * nbasicpricingconss
SCIP_Bool checksols
int threads
SCIP_Longint startnodelimit
SCIP_Real startgaplimit
SCIP_Longint startsollimit
SCIP_Real nodelimitfac
SCIP_Real gaplimitfac
SCIP_Real sollimitfac
SCIP * origprob
SCIP * masterprob
GCG ** subgcgs
SCIP_HASHMAP ** varmaps
int depth
int maxdepth
int nrelpricingprobs
int * relpricingprobidxs
SCIP_Bool enablewarnings
SCIP_Longint startstallnodelimit
int startsollimit
SCIP_Real stallnodelimitfac
char * settingsfile
int presolmaxrounds
SCIP_Longint * curstallnodelimit
int * cursollimit
int64_t count
SCIP_Bool * translatesymmetry
void ** highsptr
int ** pricingvartypes
SCIP_Bool * ismip

Field Documentation

◆ maxdensity

SCIP_Real GCG_SolverData::maxdensity

maximum graph density the solver should run on

Definition at line 92 of file solver_cliquer.c.

Referenced by GCGincludeSolverCliquer(), and solveCliquer().

◆ skipchecksnodelimit

int GCG_SolverData::skipchecksnodelimit

maximum number of graph nodes for which additional checks (density threshold / linear cutoff) are skipped

Definition at line 93 of file solver_cliquer.c.

Referenced by GCGincludeSolverCliquer(), and solveCliquer().

◆ maxnodes

int GCG_SolverData::maxnodes

maximum number of graph nodes the solver should run on

Definition at line 94 of file solver_cliquer.c.

Referenced by GCGincludeSolverCliquer(), and solveCliquer().

◆ maxcliqueconsperc

SCIP_Real GCG_SolverData::maxcliqueconsperc

maximum clique constraint percentage the solver should run on

Definition at line 95 of file solver_cliquer.c.

Referenced by GCGincludeSolverCliquer(), and solveCliquer().

◆ isnotapplicable

SCIP_Bool* GCG_SolverData::isnotapplicable

array tracking if solver is not applicable in root node (& no cuts)

Definition at line 96 of file solver_cliquer.c.

Referenced by GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), and solveCliquer().

◆ objcoefdistr

int GCG_SolverData::objcoefdistr

param deciding strategy for distributing obj coefs of coupling vars

Definition at line 97 of file solver_cliquer.c.

Referenced by GCGincludeSolverCliquer(), and solveCliquer().

◆ usemultiplicity

SCIP_Bool GCG_SolverData::usemultiplicity

boolean for activating usage of var multiplicities for weighting

Definition at line 98 of file solver_cliquer.c.

Referenced by GCGincludeSolverCliquer(), and solveCliquer().

◆ uselincutoff

SCIP_Bool GCG_SolverData::uselincutoff

boolean for activating linear cutoff

Definition at line 99 of file solver_cliquer.c.

Referenced by GCGincludeSolverCliquer(), and solveCliquer().

◆ lincutoffslope

SCIP_Real GCG_SolverData::lincutoffslope

slope for linear cutoff

Definition at line 100 of file solver_cliquer.c.

Referenced by GCGincludeSolverCliquer(), and solveCliquer().

◆ lincutoffintercept

SCIP_Real GCG_SolverData::lincutoffintercept

intercept for linear cutoff

Definition at line 101 of file solver_cliquer.c.

Referenced by GCGincludeSolverCliquer(), and solveCliquer().

◆ gcg

GCG * GCG_SolverData::gcg

GCG instance

Definition at line 85 of file solver_cplex.c.

Referenced by GCGincludeSolverCplex().

◆ pricingprobs

SCIP ** GCG_SolverData::pricingprobs

array storing the SCIP instances for all pricing problems

Definition at line 86 of file solver_cplex.c.

Referenced by buildProblem(), buildProblem(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), and GCG_DECL_SOLVERINITSOL().

◆ npricingprobs

int GCG_SolverData::npricingprobs

◆ cpxenv

CPXENVptr* GCG_SolverData::cpxenv

◆ lp

CPXLPptr* GCG_SolverData::lp

array of CPLEX problems for the pricing problems

Definition at line 89 of file solver_cplex.c.

Referenced by buildProblem(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), GCG_DECL_SOLVERUPDATE(), solveCplex(), updateBranchingConss(), and updateVars().

◆ nupdates

int * GCG_SolverData::nupdates

array storing the number of updates for all of the pricing problems

Definition at line 90 of file solver_cplex.c.

Referenced by GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), GCG_DECL_SOLVERINITSOL(), GCG_DECL_SOLVERUPDATE(), and GCG_DECL_SOLVERUPDATE().

◆ curnodelimit

◆ curgaplimit

◆ cursollimit [1/2]

◆ pricingvars

SCIP_VAR *** GCG_SolverData::pricingvars

information about the basic pricing problem (without potential branching constraints) array storing the variables of the pricing problems

Definition at line 97 of file solver_cplex.c.

Referenced by buildProblem(), buildProblem(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), GCG_DECL_SOLVERINITSOL(), solveCplex(), and solveHighs().

◆ pricingconss

SCIP_CONS *** GCG_SolverData::pricingconss

◆ npricingvars

int * GCG_SolverData::npricingvars

array storing the number of variables of the pricing problems

Definition at line 99 of file solver_cplex.c.

Referenced by buildProblem(), buildProblem(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), GCG_DECL_SOLVERINITSOL(), updateVars(), and updateVars().

◆ nbasicpricingconss

◆ checksols

SCIP_Bool GCG_SolverData::checksols

parameters should solutions of the pricing MIPs be checked for duplicity?

should solutions be checked extensively

Definition at line 104 of file solver_cplex.c.

Referenced by GCGincludeSolverCplex(), GCGincludeSolverGcg(), GCGincludeSolverHighs(), GCGincludeSolverMip(), solveCplex(), solveHighs(), solveProblem(), solveProblem(), and solverGcgPrepareNestedSolver().

◆ threads

int GCG_SolverData::threads

number of threads the CPLEX pricing solver is allowed to use (0: automatic)

number of threads the HIGHS pricing solver is allowed to use (0: automatic)

Definition at line 105 of file solver_cplex.c.

Referenced by buildProblem(), buildProblem(), GCGincludeSolverCplex(), and GCGincludeSolverHighs().

◆ startnodelimit

◆ startgaplimit

◆ startsollimit [1/2]

◆ nodelimitfac

SCIP_Real GCG_SolverData::nodelimitfac

factor by which to increase node limit for heuristic pricing (1.0: add start limit)

factor by which to increase node limit for heuristic pricing

Definition at line 109 of file solver_cplex.c.

Referenced by GCG_DECL_SOLVERSOLVEHEUR(), GCG_DECL_SOLVERSOLVEHEUR(), GCGincludeSolverCplex(), GCGincludeSolverGcg(), GCGincludeSolverHighs(), GCGincludeSolverMip(), solveCplex(), solveHighs(), and solverGcgPrepareNestedSolver().

◆ gaplimitfac

SCIP_Real GCG_SolverData::gaplimitfac

factor by which to decrease gap limit for heuristic pricing (1.0: subtract start limit)

factor by which to decrease gap limit for heuristic pricing

Definition at line 110 of file solver_cplex.c.

Referenced by GCG_DECL_SOLVERSOLVEHEUR(), GCG_DECL_SOLVERSOLVEHEUR(), GCGincludeSolverCplex(), GCGincludeSolverGcg(), GCGincludeSolverHighs(), GCGincludeSolverMip(), solveCplex(), solveHighs(), and solverGcgPrepareNestedSolver().

◆ sollimitfac

SCIP_Real GCG_SolverData::sollimitfac

factor by which to increase solution limit for heuristic pricing (1.0: add start limit)

factor by which to increase solution limit for heuristic pricing

Definition at line 111 of file solver_cplex.c.

Referenced by GCG_DECL_SOLVERSOLVEHEUR(), GCG_DECL_SOLVERSOLVEHEUR(), GCGincludeSolverCplex(), GCGincludeSolverGcg(), GCGincludeSolverHighs(), GCGincludeSolverMip(), solveCplex(), solveHighs(), and solverGcgPrepareNestedSolver().

◆ origprob

◆ masterprob

SCIP* GCG_SolverData::masterprob

master problem SCIP instance

Definition at line 95 of file solver_gcg.cpp.

Referenced by GCG_DECL_SOLVERUPDATE(), and GCGincludeSolverGcg().

◆ subgcgs

GCG** GCG_SolverData::subgcgs

◆ varmaps

SCIP_HASHMAP** GCG_SolverData::varmaps

array of variable mappings (pricingprob -> subgcg)

Definition at line 97 of file solver_gcg.cpp.

Referenced by buildProblem(), freeBlockMemory(), GCG_DECL_SOLVERINITSOL(), GCGincludeSolverGcg(), solveProblem(), updateBranchingConss(), and updateVars().

◆ depth

int GCG_SolverData::depth

current depth of the solver

Definition at line 98 of file solver_gcg.cpp.

Referenced by GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), GCGincludeSolverGcg(), and solverGcgPrepareNestedSolver().

◆ maxdepth

int GCG_SolverData::maxdepth

maximum depth the solver should be enabled

Definition at line 99 of file solver_gcg.cpp.

Referenced by GCG_DECL_SOLVERINITSOL(), GCGincludeSolverGcg(), and solverGcgPrepareNestedSolver().

◆ nrelpricingprobs

int GCG_SolverData::nrelpricingprobs

number of relevant pricing problems

Definition at line 101 of file solver_gcg.cpp.

Referenced by GCG_DECL_SOLVERINITSOL(), GCGincludeSolverGcg(), and solveProblem().

◆ relpricingprobidxs

int* GCG_SolverData::relpricingprobidxs

indices of the relevant pricing problems (-1 if pp is not relevant)

Definition at line 103 of file solver_gcg.cpp.

Referenced by freeBlockMemory(), GCG_DECL_SOLVERINITSOL(), GCGincludeSolverGcg(), and solveProblem().

◆ enablewarnings

SCIP_Bool GCG_SolverData::enablewarnings

enable warnings of pricing problems

Definition at line 104 of file solver_gcg.cpp.

Referenced by buildProblem(), GCGincludeSolverGcg(), GCGincludeSolverMip(), solveProblem(), and solverGcgPrepareNestedSolver().

◆ startstallnodelimit

SCIP_Longint GCG_SolverData::startstallnodelimit

◆ startsollimit [2/2]

int GCG_SolverData::startsollimit

start solution limit for heuristic pricing

Definition at line 109 of file solver_gcg.cpp.

◆ stallnodelimitfac

SCIP_Real GCG_SolverData::stallnodelimitfac

factor by which to increase stalling node limit for heuristic pricing

factor by which to increase stalling node limit for heuristic pricing (1.0: add start limit)

Definition at line 111 of file solver_gcg.cpp.

Referenced by GCG_DECL_SOLVERSOLVEHEUR(), GCG_DECL_SOLVERSOLVEHEUR(), GCGincludeSolverGcg(), GCGincludeSolverMip(), and solverGcgPrepareNestedSolver().

◆ settingsfile

char * GCG_SolverData::settingsfile

settings file to be applied in pricing problems

Definition at line 114 of file solver_gcg.cpp.

Referenced by buildProblem(), GCG_DECL_SOLVERSOLVE(), GCGincludeSolverGcg(), GCGincludeSolverMip(), and solverGcgPrepareNestedSolver().

◆ presolmaxrounds

int GCG_SolverData::presolmaxrounds

maximal number of presolving rounds

Definition at line 115 of file solver_gcg.cpp.

Referenced by adjustSettings(), GCGincludeSolverGcg(), and solverGcgPrepareNestedSolver().

◆ curstallnodelimit

SCIP_Longint * GCG_SolverData::curstallnodelimit

◆ cursollimit [2/2]

int* GCG_SolverData::cursollimit

current solution limit per pricing problem

Definition at line 120 of file solver_gcg.cpp.

◆ count

int64_t GCG_SolverData::count

◆ translatesymmetry

SCIP_Bool* GCG_SolverData::translatesymmetry

◆ highsptr

◆ pricingvartypes

int** GCG_SolverData::pricingvartypes

the variable types of the variables in the highs instances

Definition at line 102 of file solver_highs.c.

Referenced by buildProblem(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), and solveHighs().

◆ ismip

SCIP_Bool* GCG_SolverData::ismip

array storing whether the subproblem is a MIP.

Definition at line 118 of file solver_highs.c.

Referenced by buildProblem(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), and solveHighs().