Scippy

GCG

Branch-and-Price & Column Generation for Everyone

Detailed Description

mip solver for pricing problems

Author
Gerald Gamrath

Definition in file solver_mip.h.

#include "scip/scip.h"
#include "gcg/gcg.h"

Go to the source code of this file.

Functions

GCG_EXPORT SCIP_RETCODE GCGincludeSolverMip (GCG *gcg)
 
GCG_EXPORT GCG_PRICINGSTATUS getPricingstatus (SCIP *pricingprob)
 
GCG_EXPORT SCIP_RETCODE createColumnFromRay (GCG *gcg, SCIP *pricingprob, SCIP *subproblem, SCIP_HASHMAP *varmap, int probnr, GCG_COL **newcol)
 
GCG_EXPORT SCIP_RETCODE getColumnsFromPricingprob (GCG *gcg, SCIP *pricingprob, SCIP *subproblem, SCIP_HASHMAP *varmap, int probnr, SCIP_Bool checksols)
 

Function Documentation

◆ GCGincludeSolverMip()

◆ getPricingstatus()

◆ createColumnFromRay()

GCG_EXPORT SCIP_RETCODE createColumnFromRay ( GCG *  gcg,
SCIP *  pricingprob,
SCIP *  subproblem,
SCIP_HASHMAP *  varmap,
int  probnr,
GCG_COL **  newcol 
)

extracts ray from a subproblem used to solve a pricing problem pricing problem (or directly from the pricing problem if no subproblem is specified)

Parameters
gcgGCG data structure
pricingprobpricing problem SCIP data structure
subproblemSCIP data structure that contains the actual solution (if NULL pricingprob will be used)
varmapmapping of pricingprob vars to subproblem vars (can be NULL if subproblem is NULL)
probnrproblem number
newcolcolumn pointer to store new column

Definition at line 521 of file solver_mip.c.

References GCGcreateGcgCol(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPdebugMessage, SCIPfreeBufferArray, SCIPfreeSolve(), SCIPgetNOrigVars(), SCIPgetOrigVars(), SCIPgetPrimalRayVal(), SCIPhashmapGetImage(), SCIPhasPrimalRay(), SCIPinfinity(), SCIPisInfinity(), SCIPisZero(), SCIPtransformProb(), SCIPvarGetName(), SCIPvarGetObj(), and TRUE.

Referenced by solveProblem().

◆ getColumnsFromPricingprob()

GCG_EXPORT SCIP_RETCODE getColumnsFromPricingprob ( GCG *  gcg,
SCIP *  pricingprob,
SCIP *  subproblem,
SCIP_HASHMAP *  varmap,
int  probnr,
SCIP_Bool  checksols 
)

transforms feasible solutions of a subproblem used to solve a pricing problem pricing problem into columns (or directly of the pricing problem if no subproblem is specified)

Parameters
gcgGCG data structure
pricingprobpricing problem SCIP data structure
subproblemSCIP data structure that contains the actual solution (if NULL pricingprob will be used)
varmapmapping of pricingprob vars to subproblem vars (can be NULL if subproblem is NULL)
probnrproblem number
checksolsshould solutions be checked extensively

Definition at line 652 of file solver_mip.c.

References checkSolNew(), FALSE, GCGcreateGcgColFromSol(), GCGpricerAddCol(), NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPcheckSolOrig(), SCIPcreateFiniteSolCopy(), SCIPdebugMessage, SCIPgetNSols(), SCIPgetProbName(), SCIPgetSols(), SCIPinfinity(), SCIPwarningMessage(), solutionHasInfiniteValue(), and TRUE.

Referenced by solveProblem().