Detailed Description
mip solver for pricing problems
Definition in file solver_mip.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()
| GCG_EXPORT SCIP_RETCODE GCGincludeSolverMip | ( | GCG * | gcg | ) |
creates the mip solver for pricing problems and includes it in GCG
- Parameters
-
gcg GCG data structure
Definition at line 730 of file solver_mip.c.
References GCG_SolverData::checksols, DEFAULT_CHECKSOLS, DEFAULT_ENABLE_WARNINGS, DEFAULT_GAPLIMITFAC, DEFAULT_NODELIMITFAC, DEFAULT_SETTINGSFILE, DEFAULT_SOLLIMITFAC, DEFAULT_STALLNODELIMITFAC, DEFAULT_STARTGAPLIMIT, DEFAULT_STARTNODELIMIT, DEFAULT_STARTSOLLIMIT, DEFAULT_STARTSTALLNODELIMIT, GCG_SolverData::enablewarnings, GCG_SolverData::gaplimitfac, GCGgetDwMasterprob(), GCGgetOrigprob(), GCGincludeSolverMip(), GCGpricerIncludeSolver(), masterprob, GCG_SolverData::nodelimitfac, origprob, SCIP_CALL(), GCG_SolverData::settingsfile, GCG_SolverData::sollimitfac, SOLVER_DESC, SOLVER_EXACTENABLED, SOLVER_HEURENABLED, SOLVER_NAME, SOLVER_PRIORITY, solverExitMip, solverInitMip, solverUpdateMip, GCG_SolverData::stallnodelimitfac, GCG_SolverData::startgaplimit, GCG_SolverData::startnodelimit, GCG_SolverData::startsollimit, and GCG_SolverData::startstallnodelimit.
Referenced by GCGincludeMasterPlugins(), and GCGincludeSolverMip().
◆ getPricingstatus()
| GCG_EXPORT GCG_PRICINGSTATUS getPricingstatus | ( | SCIP * | pricingprob | ) |
get the status of the pricing problem
- Parameters
-
pricingprob pricing problem SCIP data structure
Definition at line 592 of file solver_mip.c.
References assert(), GCG_PRICINGSTATUS_INFEASIBLE, GCG_PRICINGSTATUS_OPTIMAL, GCG_PRICINGSTATUS_SOLVERLIMIT, GCG_PRICINGSTATUS_UNBOUNDED, GCG_PRICINGSTATUS_UNKNOWN, getPricingstatus(), and SCIPdebugMessage().
Referenced by getPricingstatus(), solveProblem(), and solveProblem().
◆ 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
-
gcg GCG data structure pricingprob pricing problem SCIP data structure subproblem SCIP data structure that contains the actual solution (if NULL pricingprob will be used) varmap mapping of pricingprob vars to subproblem vars (can be NULL if subproblem is NULL) probnr problem number newcol column pointer to store new column
Definition at line 521 of file solver_mip.c.
References assert(), createColumnFromRay(), GCGcreateGcgCol(), i, SCIP_CALL(), SCIPdebugMessage(), SCIPfreeBufferArray(), and solval.
Referenced by createColumnFromRay(), solveProblem(), and 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
-
gcg GCG data structure pricingprob pricing problem SCIP data structure subproblem SCIP data structure that contains the actual solution (if NULL pricingprob will be used) varmap mapping of pricingprob vars to subproblem vars (can be NULL if subproblem is NULL) probnr problem number checksols should solutions be checked extensively
Definition at line 652 of file solver_mip.c.
References assert(), checkSolNew(), GCGcreateGcgColFromSol(), GCGpricerAddCol(), getColumnsFromPricingprob(), SCIP_CALL(), SCIPdebugMessage(), solutionHasInfiniteValue(), and success.
Referenced by getColumnsFromPricingprob(), solveProblem(), and solveProblem().