Loading...
Searching...
No Matches
pricer_gcg.cpp
Go to the documentation of this file.
40/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
111#define PRICER_DELAY TRUE /* only call pricer if all problem variables have non-negative reduced costs */
114#define DEFAULT_ABORTPRICINGGAP 0.00 /**< gap between dual bound and RMP objective at which pricing is aborted */
116#define DEFAULT_DISABLECUTOFF 2 /**< should the cutoffbound be applied in master LP solving? (0: on, 1:off, 2:auto) */
119#define DEFAULT_STABILIZATIONTREE FALSE /**< should stabilization be used in nodes other than the root node*/
120#define DEFAULT_HYBRIDASCENT FALSE /**< should hybridization of smoothing with an ascent method be enabled */
121#define DEFAULT_HYBRIDASCENT_NOAGG FALSE /**< should hybridization of smoothing with an ascent method be enabled
124#define DEFAULT_USECOLPOOL TRUE /**< should the colpool be checked for negative redcost cols before solving the pricing problems? */
125#define DEFAULT_PREVENTDUPLICATECOLS TRUE /**< should existing master variables be reused when transferring an original
135#define DEFAULT_USEARTIFICIALVARS FALSE /**< add artificial vars to master (instead of using Farkas pricing) */
136#define DEFAULT_USEMAXOBJ TRUE /**< default value for using maxobj for big M objective of artificial variables */
137#define DEFAULT_ONLYRELIABLEBIGM TRUE /**< default value for only using maxobj for big M objective of artificial variables if it is reliable */
138#define DEFAULT_FACTORUNRELIABLE 1000 /**< default factor to use for objective of unbounded variables */
139#define DEFAULT_BIGMARTIFICIAL 1000 /**< default value for big M objective of artificial variables (if maxobj is not used)*/
153#define PRICER_STAT_ARRAYLEN_TIME 1024 /**< length of the array for Time histogram representation */
154#define PRICER_STAT_BUCKETSIZE_TIME 10 /**< size of the buckets for Time histogram representation */
155#define PRICER_STAT_ARRAYLEN_VARS 1024 /**< length of the array for foundVars histogram representation */
156#define PRICER_STAT_BUCKETSIZE_VARS 1 /**< size of the buckets for foundVars histogram representation */
173 SCIP_HASHMAP* mapcons2idx; /**< hashmap mapping constraints to their index in the conss array */
175 int npricingloopiters; /**< number of started pricing/stabilization loop iterations (resets before the loop starts) */
187 SCIP_Bool artificialused; /**< returns if artificial variables are used in current node's LP solution */
193 SCIP_Real* relaxweight; /**< the Lagrangian relaxation weight applied to master constraints, or NULL */
199 SCIP_CLOCK* duplicatecolclock; /**< time for detecting duplicate columns when transferring original solutions */
200 int nduplicatecols; /**< number of master variables not created because an identical column existed */
222 int disablecutoff; /**< should the cutoffbound be applied in master LP solving (0: on, 1:off, 2:auto)? */
223 SCIP_Real abortpricinggap; /**< gap between dual bound and RMP objective at which pricing is aborted */
225 SCIP_Bool stabilizationtree; /**< should stabilization be used in nodes other than the root node */
226 SCIP_Bool usecolpool; /**< should the colpool be checked for negative redcost cols before solving the pricing problems? */
227 SCIP_Bool preventduplicatecols; /**< should existing master variables be reused when transferring an original solution
229 SCIP_Bool useartificialvars; /**< use artificial variables to make RMP feasible (instead of applying Farkas pricing) */
230 SCIP_Real maxobj; /**< maxobj bound that can be used for big M objective of artificial variables */
232 SCIP_Bool onlyreliablebigm; /**< only use maxobj for big M objective of artificial variables if it is reliable */
234 SCIP_Real bigmartificial; /**< value for for big M objective of artificial variables (if maxobj is not used) */
235 SCIP_Bool hybridascent; /**< should hybridization of smoothing with an ascent method be enabled */
236 SCIP_Bool hybridascentnoagg; /**< should hybridization of smoothing with an ascent method be enabled
265 int* nappliedpricingmods;/**< number of actually applied pricing modifications per pricing problem*/
275 SCIP_Real* rootpbs; /**< array of primal bounds for the root LP, one bound for each pricing call */
276 SCIP_Real* rootdbs; /**< array of dual bounds for the root LP, one bound for each pricing call */
282 int dualdiffround; /**< value of nrootbounds when difference to last dual solution was computed */
284 SCIP_Real*** dualvalues; /**< array of dual values for pricing variables for each root redcost call*/
370 * GCGcreateMasterVar stores either only nonzero entries, or - for a column without any nonzero entry - every
373 * @return TRUE if the key describes the variable, FALSE if the variable mixes zero and nonzero entries and can
453/** solving process initialization method of event handler (called when branch and bound process is about to begin) */
456/** solving process deinitialization method of event handler (called before branch and bound process data is freed) */
486 SCIPdebugMessage("remove master variable %s from pricerdata and corresponding original variables\n", SCIPvarGetName(var));
508 SCIPdropVarEvent(scip, pricerdata->pricedvars[i], SCIP_EVENTTYPE_VARDELETED, pricerdata->eventhdlr, NULL, -1));
512 assert(pricerdata->pricedvars[pricerdata->npricedvars] != NULL || i == pricerdata->npricedvars);
550/** get the number of columns per pricing problem to be added to the master LP in the current pricing round */
570 SCIP_CALL( SCIPreallocBlockMemoryArray(scip_, &(pricerdata->pricedvars), oldsize, pricerdata->maxpricedvars) );
596 SCIP_CALL( SCIPreallocBlockMemoryArray(scip_, &(pricerdata->rootpbs), oldsize, pricerdata->maxrootbounds) );
597 SCIP_CALL( SCIPreallocBlockMemoryArray(scip_, &(pricerdata->rootdbs), oldsize, pricerdata->maxrootbounds) );
598 SCIP_CALL( SCIPreallocBlockMemoryArray(scip_, &(pricerdata->roottimes), oldsize, pricerdata->maxrootbounds) );
599 SCIP_CALL( SCIPreallocBlockMemoryArray(scip_, &(pricerdata->rootdualdiffs), oldsize, pricerdata->maxrootbounds) );
600 SCIP_CALL( SCIPreallocBlockMemoryArray(scip_, &(pricerdata->dualvalues), oldsize, pricerdata->maxrootbounds) );
601 SCIP_CALL( SCIPreallocBlockMemoryArray(scip_, &(pricerdata->dualsolconvs), oldsize, pricerdata->maxrootbounds) );
920 SCIP_CALL( GCGpricingcbPrepricing(gcg, pricerdata->pricingcbs[i], pricer, type, &locabort, &result) );
922 /* if one of the prepricing methods calls for an abort of the pricing, then pricing is aborted. */
925 /* if the pricing callback plugin is to be executed exclusively, then no other callback plugins are executed.
926 * However, this only takes effect for the highest priority pricing callback plugin. For all pricing callback
963 /* if the pricing callback plugin is to be executed exclusively, then no other callback plugins are executed.
964 * However, this only takes effect for the highest priority pricing callback plugin. For all pricing callback
1010 if (SCIPisEQ(scip_, currentVal, SCIPcolGetLb(col)) || SCIPisEQ(scip_, currentVal, SCIPcolGetUb(col)))
1017 if (SCIPisEQ(scip_, currentVal, SCIProwGetRhs(row)) || SCIPisEQ(scip_, currentVal, SCIProwGetLhs(row)))
1063/** for a pricing problem, get the dual solution value or Farkas value of the convexity constraint */
1112 /* get the constraints of the master problem and the corresponding constraints in the original problem */
1117 /* the dual weight and the relaxation weight may be set when performing pricing with a Lagrangian relaxation
1144 assert( GCGoriginalVarIsLinking(GCGpricingVarGetOrigvars(probvars[j])[0]) || (GCGvarGetBlock(GCGpricingVarGetOrigvars(probvars[j])[0]) == i));
1161 /* compute reduced cost for linking variable constraints and update objectives in the pricing problems
1182 SCIP_VAR* pricingvar = GCGlinkingVarGetPricingVars(GCGmasterVarGetOrigvars(linkvar)[0])[block];
1204 SCIPdebugMessage("pricingobj var <%s> %g (cons <%s>), realdualvalues + %g -> %g\n", SCIPvarGetName(pricingvar),
1231 /* for all variables in the constraint, modify the objective of the corresponding variable in a pricing problem */
1242 /* nothing to be done if variable belongs to redundant block or variable was directly transferred to the master
1243 * or variable is linking variable (which means, the directly transferred copy is part of the master cons)
1302 SCIPdebugMessage("mastercut <%s> dualsol: %g\n", SCIProwGetName(originalsepamastercuts[i]), dualsol);
1316 /* for all variables in the cut, modify the objective of the corresponding variable in a pricing problem */
1324 * or variable is linking variable (which means, the directly transferred copy is part of the master cut) */
1350 SCIP_CALL( GCGrelaxBranchGetAllActiveExtendedMasterConss(gcg, NULL, NULL, &branchextendedmasterconsdata, &nbranchextendedmasterconsdata) );
1368 SCIPdebugMessage("extendedmasterconsdata <%s> dualsol: %g\n", GCGextendedmasterconsGetName(branchextendedmasterconsdata[i]), dualsol);
1372 SCIP_CALL( GCGextendedmasterconsUpdateDualValue(gcg, branchextendedmasterconsdata[i], dualweight * dualsol) );
1399 SCIPdebugMessage("extendedmasterconsdata <%s> dualsol: %g\n", GCGextendedmasterconsGetName(activecuts[i]), dualsol);
1423 SCIPdebugMessage("convcons <%s> dualsol: %g\n", SCIPconsGetName(GCGgetConvCons(gcg, i)), pricerdata->dualsolconv[i]);
1457 SCIP_VAR** solvars, /**< array of variables with non-zero value in the solution of the pricing problem */
1458 SCIP_Real* solvals, /**< array of values in the solution of the pricing problem for variables in array solvars*/
1519 /* for each coef, add coef * solval to the coef of the new variable for the corresponding constraint */
1561 SCIP_VAR** solvars; /* array of variables with non-zero value in the solution of the pricing problem */
1562 SCIP_Real* solvals; /* array of values in the solution of the pricing problem for variables in array solvars*/
1666// SCIPdebugMessage("Coefficients already computed, nmastercoefs = %d\n", GCGcolGetNMastercoefs(gcgcol));
1741 SCIP_VAR** solvars, /**< array of variables with non-zero value in the solution of the pricing problem */
1742 SCIP_Real* solvals, /**< array of values in the solution of the pricing problem for variables in array solvars*/
1839 SCIP_CALL( SCIPaddVarToRow(scip_ , originalsepamastercuts[i], newvar, originalsepamastercutcoefs[i]) );
1891 SCIP_VAR** solvars, /**< array of variables with non-zero value in the solution of the pricing problem */
1892 SCIP_Real* solvals, /**< array of values in the solution of the pricing problem for variables in array solvars*/
1921 SCIP_CALL( GCGvarhistoryJumpToLatest(scip_, GCGmastersepacutGetVarHistory(GCGextendedmasterconsGetMastersepacut(activecuts[j]))) );
1925 SCIP_CALL( GCGmastersepacutGetExtendedmasterconsCoeff(gcg, activecuts[j], solvars, solvals, nsolvars, prob, NULL, &coeff) );
1989 SCIP_CALL( SCIPallocBufferArray(origprob, &neworiginalsepamastercuts, noriginalsepamastercuts - noldoriginalsepamastercuts) );
2030 GCGcolUpdateOriginalSepaMastercuts(gcgcol, neworiginalsepamastercuts, nneworiginalsepamastercuts);
2068 SCIP_CALL( GCGmastersepacutGetExtendedmasterconsCoeff(gcg, activecuts[i], GCGcolGetVars(gcgcol), GCGcolGetVals(gcgcol),
2091 SCIP_CALL( GCGrelaxBranchGetAllActiveExtendedMasterConss(gcg, &branchrules, &branchdata, &branchextendedmasterconsdata, &nbranchextendedmasterconss) );
2119/** adds new bounds to the bound arrays as well as some additional information on dual variables and root lp solution */
2142 pricerdata->roottimes[pricerdata->nrootbounds] = SCIPgetSolvingTime(scip_) - pricerdata->rootfarkastime;
2147 SCIP_CALL( SCIPallocClearBlockMemoryArray(scip_, &pricerdata->dualvalues[pricerdata->nrootbounds], pricerdata->npricingprobs) );
2148 SCIP_CALL( SCIPallocBlockMemoryArray(scip_, &pricerdata->dualsolconvs[pricerdata->nrootbounds], pricerdata->npricingprobs) );
2159 SCIP_CALL( SCIPallocBlockMemoryArray(scip_, &(pricerdata->dualvalues[pricerdata->nrootbounds][i]), nprobvars) );
2230 assert(SCIPvarGetIndex(solvars[i]) >= 0 && SCIPvarGetIndex(solvars[i]) < pricerdata->nrealdualvalues[probnr]);
2257 /* compute reduced cost of variable (i.e. subtract dual solution of convexity constraint, if solution corresponds to a point) */
2302 assert(SCIPvarGetIndex(solvars[i]) >= 0 && SCIPvarGetIndex(solvars[i]) < pricerdata->nrealdualvalues[probnr]);
2328 GCG_EXTENDEDMASTERCONSDATA* extendedmasterconsdata = GCGinferredPricingVarGetExtendedmasterconsdata(solvars[i]);
2353 SCIPdebugMessage(" -> column %d/%d <%p>, reduced cost = %g\n", i+1, ncols, (void*) cols[i], redcost);
2410 if( pricingprobcols[i] == NULL || SCIPisDualfeasLT(scip_, GCGcolGetRedcost(col), GCGcolGetRedcost(pricingprobcols[i])) )
2415 SCIPdebugMessage(" -> problem %d best col <%p>, redcost: %.8g\n", i, (void*)pricingprobcols[i], GCGcolGetRedcost(pricingprobcols[i]));
2432 dualconvsum += GCGgetNIdenticalBlocks(gcg, i) * pricingtype->consGetDual(GCGgetConvCons(gcg, i));
2438/* computes the objective value of the current (stabilized) dual variables) in the dual program */
2506 assert(GCGvarIsPricing(GCGlinkingVarGetPricingVars(GCGmasterVarGetOrigvars(linkvar)[0])[block]));
2513 /* get the constraints of the master problem and the corresponding constraints in the original problem */
2527 if( !SCIPisZero(scip_, dualsol) || (!SCIPisInfinity(scip_, -lhs) && !SCIPisInfinity(scip_, rhs)) )
2566 if( !SCIPisZero(scip_, dualsol) || (!SCIPisInfinity(scip_, -lhs) && !SCIPisInfinity(scip_, rhs)) )
2581 boundval * dualsol, SCIProwGetName(originalsepamastercuts[i]), dualsol, lhs, rhs, SCIProwGetConstant(originalsepamastercuts[i]));
2587 SCIP_CALL( GCGrelaxBranchGetAllActiveExtendedMasterConss(gcg, &activebranchrules, &activebranchdata, &branchextendedmasterconsdata, &nbranchextendedmasterconsdata) );
2588 assert(nbranchextendedmasterconsdata == 0 || (activebranchrules != NULL && activebranchdata != NULL && branchextendedmasterconsdata != NULL));
2605 if( !SCIPisZero(scip_, dualsol) || (!SCIPisInfinity(scip_, -lhs) && !SCIPisInfinity(scip_, rhs)) )
2651 if( !SCIPisZero(scip_, dualsol) || (!SCIPisInfinity(scip_, -lhs) && !SCIPisInfinity(scip_, rhs)) )
2666 boundval * dualsol, SCIProwGetName(mastercutrow), dualsol, lhs, rhs, SCIProwGetConstant(mastercutrow));
2690 assert(GCGoriginalVarIsLinking(GCGmasterVarGetOrigvars(staticvars[i])[0]) || GCGoriginalVarIsTransVar(GCGmasterVarGetOrigvars(staticvars[i])[0]));
2696 SCIPdebugMessage(" stabredcost <%s> add %g\n", SCIPvarGetName(staticvars[i]), SCIPvarGetObj(staticvars[i]));
2702 * compute (stabilized) reduced cost coefficients for static variables (direct copies and linking variables);
2717 varindex = SCIPvarGetProbindex(GCGoriginalVarGetMastervars(GCGmasterVarGetOrigvars(linkvar)[0])[0]); // hack
2719 assert(staticvars[varindex] == GCGoriginalVarGetMastervars(GCGmasterVarGetOrigvars(linkvar)[0])[0]);
2737 SCIPdebugMessage(" stabredcost <%s> add %g (cons <%s>)\n", SCIPvarGetName(staticvars[varindex]), -dualsol, SCIPconsGetName(linkcons));
2777 varindex = SCIPvarGetProbindex(GCGoriginalVarGetMastervars(GCGmasterVarGetOrigvars(mastervar)[0])[0]); // hack
2779 assert(staticvars[varindex] == GCGoriginalVarGetMastervars(GCGmasterVarGetOrigvars(mastervar)[0])[0]);
2785 SCIPdebugMessage(" stabredcost <%s> add %g * %g = %g (cons <%s>)\n", SCIPvarGetName(staticvars[varindex]), dualsol, consvals[j], -dualsol * consvals[j], SCIPconsGetName(origconss[i]));
2834 varindex = SCIPvarGetProbindex(GCGoriginalVarGetMastervars(GCGmasterVarGetOrigvars(mastervar)[0])[0]); // hack
2836 assert(staticvars[varindex] == GCGoriginalVarGetMastervars(GCGmasterVarGetOrigvars(mastervar)[0])[0]);
2852 /* compute reduced cost for extended master conss and update (stabilized) reduced cost coefficients */
2886 varindex = SCIPvarGetProbindex(GCGoriginalVarGetMastervars(GCGmasterVarGetOrigvars(mastervar)[0])[0]); // hack
2888 assert(staticvars[varindex] == GCGoriginalVarGetMastervars(GCGmasterVarGetOrigvars(mastervar)[0])[0]);
2961 // coefficient of master variable in this cut corresponds to the coefficient of static var in hypothetical original cut???
2979 if( !SCIPisZero(scip_, stabredcost) || (!SCIPisInfinity(scip_, -lb) && !SCIPisInfinity(scip_, ub)) )
3007 SCIP_VAR** solvars, /**< array of variables with non-zero value in the solution of the pricing problem */
3008 SCIP_Real* solvals, /**< array of values in the solution of the pricing problem for variables in array solvars*/
3012 SCIP_Bool force, /**< should the given variable be added also if it has non-negative reduced cost? */
3046 SCIPdebugMessage("var with redcost %g (objvalue=%g, dualsol=%g, ray=%u) was not added\n", redcost, objvalue, pricerdata->dualsolconv[prob], solisray);
3051 SCIPdebugMessage("found var with redcost %g (objvalue=%g, dualsol=%g, ray=%u)\n", redcost, objvalue, pricerdata->dualsolconv[prob], solisray);
3055 SCIPdebugMessage("force var (objvalue=%g, dualsol=%g, ray=%u)\n", objvalue, pricerdata->dualsolconv[prob], solisray);
3081 /* original variable is linking variable --> directly transferred master variable got the full obj,
3097 SCIPwarningMessage(scip_, "variable with infinite objective value found in pricing, change objective to SCIPinfinity()/2\n");
3151 if( SCIPgetCurrentNode(scip_) == SCIPgetRootNode(scip_) && pricetype != NULL && pricetype->getType() == GCG_PRICETYPE_REDCOST )
3166 SCIP_Bool force, /**< should the given variable be added also if it has non-negative reduced cost? */
3208 SCIPdebugMessage(" var with redcost %g (dualsol=%g, ray=%u) was not added\n", redcost, pricerdata->dualsolconv[prob], isray);
3213 SCIPdebugMessage(" found var with redcost %g (dualsol=%g, ray=%u)\n", redcost, pricerdata->dualsolconv[prob], isray);
3239 /* original variable is linking variable --> directly transferred master variable got the full obj,
3251 SCIPwarningMessage(scip_, "variable with infinite objective value found in pricing, change objective to SCIPinfinity()/2\n");
3280 SCIP_CALL( SCIPaddPricedVar(scip_, newvar, score /* pricerdata->dualsolconv[prob] - objvalue */ ) );
3307 if( SCIPgetCurrentNode(scip_) == SCIPgetRootNode(scip_) && pricetype->getType() == GCG_PRICETYPE_REDCOST )
3332 && SCIPisEQ(scip_, SCIPceil(scip_, SCIPgetNodeLowerbound(scip_, SCIPgetCurrentNode(scip_))), SCIPceil(scip_, SCIPgetLPObjval(scip_))) /* && SCIPgetNNodes(scip) > 1 ??????*/)
3334 GCGpricerPrintInfo(scip_, pricerdata, "pricing aborted due to integral objective: node LB = %g, LP obj = %g\n",
3343 gap = (SCIPgetLPObjval(scip_) - SCIPgetNodeLowerbound(scip_, SCIPgetCurrentNode(scip_)))/SCIPgetNodeLowerbound(scip_, SCIPgetCurrentNode(scip_));
3348 GCGpricerPrintInfo(scip_, pricerdata, "pricing aborted due to small gap: node LB = %g, LP obj = %g, gap = %g\n",
3402 SCIP_CALL( SCIPtightenVarLb(pricerdata->pricingprobs[prob], var, bound, TRUE, &infeasible, &tightened));
3404 assert(infeasible || tightened || SCIPisGE(pricerdata->pricingprobs[prob], SCIPvarGetLbGlobal(var), bound));
3408 SCIP_CALL( SCIPtightenVarUb(pricerdata->pricingprobs[prob], var, bound-1, TRUE, &infeasible, &tightened));
3410 assert(infeasible || tightened || SCIPisLE(pricerdata->pricingprobs[prob], SCIPvarGetUbGlobal(var), bound-1));
3483/* SCIPdebugMessage("<%s> %.4f >= %.4f\n", SCIPvarGetName(pricingvar), val, components[i].bound); */
3488/* SCIPdebugMessage("<%s> %.4f < %.4f\n", SCIPvarGetName(pricingvar), val, components[i].bound); */
3563 GCGpricingprobGetBranchconsIdx(pricingprob) < GCGpricingprobGetNGenericBranchconss(pricingprob));
3569 SCIP_CALL( GCGsolverUpdate(gcg, pricingscip, solver, probnr, solverchanged, varbndschanged, branchconsschanged) );
3571 SCIP_CALL( GCGsolverSolve(gcg, pricingscip, solver, pricetype->getType() == GCG_PRICETYPE_REDCOST,
3591 GCGpricerCollectStatistic(pricerdata, pricetype->getType(), probnr, SCIPgetSolvingTime(pricingscip));
3644 SCIP_Bool* bestredcostvalid /**< pointer to store if bestredcost are valid (pp solvedoptimal) */
3702 SCIP_CALL( GCGrelaxBranchGetAllActiveExtendedMasterConss(gcg, &branchrules, &branchdata, &branchextendedmasterconsdata, &nbranchextendedmasterconss) );
3703 assert(nbranchextendedmasterconss == 0 || (branchrules != NULL && branchdata != NULL && branchextendedmasterconsdata != NULL));
3708 // disable colpool while probing mode is active (can be removed after a feasibility check (#586) is implemented)
3717 && !GCGisBranchruleGeneric(GCGconsMasterbranchGetBranchrule(GCGconsMasterbranchGetActiveCons(gcg)));
3772 SCIPstatisticMessage("MLP t: %g\n", SCIPgetClockTime(scip_, scip_->stat->primallptime) + SCIPgetClockTime(scip_, scip_->stat->duallptime));
3791 SCIP_Bool apply = !SCIPisZero(scip_, pricingtype->extendedmasterconsGetDual(branchextendedmasterconsdata[i]))
3792 && (!enablestab || !stabilization->hasStabilityCenter() || !SCIPisZero(scip_, stabilization->branchmasterconsGetStabCenter(i)));
3800 SCIP_Bool apply = !SCIPisZero(scip_, pricingtype->extendedmasterconsGetDual(activecuts[i])); // && (!enablestab || !SCIPisZero(scip_, @todo));
3820 *bestredcostvalid = isMasterLPOptimal() && !GCGisBranchruleGeneric(GCGconsMasterbranchGetBranchrule(GCGconsMasterbranchGetActiveCons(gcg)));
3826 SCIPdebugMessage("****************************** Mispricing iteration ******************************\n");
3875 /* actual pricing loop: perform the pricing jobs until none are left or an abortion criterion is met */
3876 #pragma omp parallel default(none) shared(nthreads, retcode, pricetype, nfoundvars, nsuccessfulprobs, stabilized) num_threads(nthreads)
3880 #pragma omp task default(none) shared(retcode, pricetype, nfoundvars, nsuccessfulprobs, stabilized)
3907 if( pricingcontroller->canPricingloopBeAborted(pricetype, _nfoundvars, _nsuccessfulprobs) && !stabilized )
3961 SCIPdebugMessage("*** Finished solving pricing problem %d, solver <%s>, stabilized = %u, %s\n",
4007 pricingcontroller->collectResults(bestcols, pricerdata->dualsolconv, stabilized, &infeasible, &optimal, bestobjvals, &beststabobj, &bestredcost, bestredcostvalid);
4012 SCIPdebugMessage("optimal = %u, bestredcostvalid = %u, stabilized = %u\n", optimal, *bestredcostvalid, stabilized);
4024 SCIPdebugMessage("lpobjval = %.10g, bestredcost = %.10g, stabdualval = %.10g, beststabobj = %.10g\n",
4045 if( !SCIPisZero(scip_, dualsol) || (!SCIPisInfinity(scip_, -SCIProwGetLhs(row)) && !SCIPisInfinity(scip_, SCIProwGetRhs(row))) )
4053 SCIPdebugMessage(" <%s>, dualsol %.8g, bnds [%.8g, %.8g] -> %.10g\n", SCIProwGetName(row), dualsol, SCIProwGetLhs(row), SCIProwGetRhs(row), tmp);
4067 if( !SCIPisZero(scip_, redcost) || (!SCIPisInfinity(scip_, -SCIPcolGetLb(col)) && !SCIPisInfinity(scip_, SCIPcolGetUb(col))) )
4075 SCIPdebugMessage(" <%s>, redcost %.8g, bnds [%.8g, %.8g] -> %.10g\n", SCIPvarGetName(SCIPcolGetVar(col)), redcost, SCIPcolGetLb(col), SCIPcolGetUb(col), tmp);
4081 /* getStabilizedDualObjectiveValue() does not include the dual solutions associated with the convexity constraints.
4082 * This works since they are also not included in 'beststabobj' and we are only interested in the sum 'stabdualval + beststabobj'
4093 assert(SCIPisDualfeasEQ(scip_, SCIPretransformObj(scip_, dualobj), stabdualval + dualconvoffset));
4114 /* If all pricing problems have been solved to optimality, update subgradient product and stability center */
4124 /* activate or deactivate mispricing schedule, depending on whether improving columns have been found */
4177 SCIP_CALL( GCGpricestoreApplyCols(pricestore, colpool, (pricerdata->usecolpool && !probingnode), &nfoundvars) );
4218 SCIPstatisticMessage("MLP t: %g\n", SCIPgetClockTime(scip_, scip_->stat->primallptime) + SCIPgetClockTime(scip_, scip_->stat->duallptime));
4239 SCIP_CALL( computeDualDiff(olddualvalues, olddualconv, pricerdata->realdualvalues, pricerdata->dualsolconv, &dualdiff) );
4264 SCIP_CALL( GCGextendedmasterconsUndoPricingModifications(gcg, branchextendedmasterconsdata[i]) );
4267 /* as generation of new columns is finished, the modifications to the pricing problems stemming from the active mastercuts are undone */
4272 SCIP_CALL( GCGvarhistoryJumpToLatest(scip_, GCGmastersepacutGetVarHistory(GCGextendedmasterconsGetMastersepacut(activecuts[j]))) );
4309 SCIPdebugMessage("activated pricing modification <%p> with coefvar <%s> for prob %d, apply: %d\n",
4408 SCIP_Bool force, /**< should the given variable be added also if it has non-negative reduced cost? */
4426 SCIP_CALL( pricer->createNewMasterVarFromGcgCol(pricetype, gcgcol, force, added, addedvar, score) );
4486 GCG_DECL_PRICINGCBINITSOL((*pricingcbinitsol)),/**< solving process initialization method of the pricing callback */
4487 GCG_DECL_PRICINGCBEXITSOL((*pricingcbexitsol)),/**< solving process deinitialization method of the pricing callback */
4488 GCG_DECL_PRICINGCBPREPRICING((*pricingcbprepricing)),/**< pre-pricing method of the pricing callback */
4489 GCG_DECL_PRICINGCBPOSTPRICING((*pricingcbpostpricing)),/**< post-pricing method of the pricing callback */
4507 SCIP_CALL( GCGpricingcbCreate(gcg, &pricingcb, name, desc, priority, pricingcbfree, pricingcbinit,
4508 pricingcbexit, pricingcbinitsol, pricingcbexitsol, pricingcbprepricing, pricingcbpostpricing, pricingcbdata) );
4518 SCIP_CALL( SCIPreallocMemoryArray(scip, &(pricerdata->pricingcbs), (size_t)pricerdata->npricingcbs+1) );
4594/** performs the pricing routine, gets the type of pricing that should be done: farkas or redcost pricing */
4611 GCGpricerPrintInfo(scip_, pricerdata, "nvars = %d, current LP objval = %g, time = %f, node = %lld\n",
4649 SCIPdebugMessage("%s pricing: found %d new vars\n", (pricetype->getType() == GCG_PRICETYPE_REDCOST ? "Redcost" : "Farkas"), nfoundvars);
4651 if( GCGisRootNode(gcg) && pricetype->getType() == GCG_PRICETYPE_REDCOST && pricetype->getCalls() > 0 )
4669 pricerdata->avgrootnodedegeneracy -= (pricerdata->avgrootnodedegeneracy/(pricerdata->ndegeneracycalcs) - degeneracy/(pricerdata->ndegeneracycalcs));
4767/** solving process initialization method of variable pricer (called when branch and bound process is about to begin) */
4800 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->pricingprobs), pricerdata->npricingprobs) );
4801 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->npointsprob), pricerdata->npricingprobs) );
4802 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->nraysprob), pricerdata->npricingprobs) );
4804 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->farkascallsdist), pricerdata->npricingprobs) );
4805 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->farkasfoundvars), pricerdata->npricingprobs) );
4806 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->farkasnodetimedist), pricerdata->npricingprobs) );
4808 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->redcostcallsdist), pricerdata->npricingprobs) );
4809 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->redcostfoundvars), pricerdata->npricingprobs) );
4810 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->redcostnodetimedist), pricerdata->npricingprobs) );
4812 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->realdualvalues), pricerdata->npricingprobs) );
4813 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->nrealdualvalues), pricerdata->npricingprobs) );
4815 SCIP_CALL( SCIPallocClearBlockMemoryArray(scip, &(pricerdata->nactivepricingmods), pricerdata->npricingprobs) );
4816 SCIP_CALL( SCIPallocClearBlockMemoryArray(scip, &(pricerdata->nappliedpricingmods), pricerdata->npricingprobs) );
4823 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->dualsolconv), pricerdata->npricingprobs) );
4825 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &(pricerdata->nefficaciouscols), pricerdata->npricingprobs) );
4844 assert(GCGcountInferredCoefPricingVars(SCIPgetOrigVars(pricerdata->pricingprobs[i]), npricingvars) == 0);
4846 SCIP_CALL( SCIPallocClearBlockMemoryArray(scip, &(pricerdata->realdualvalues[i]), pricerdata->nrealdualvalues[i]) ); /*lint !e666 !e866*/
4884 SCIP_CALL( SCIPhashmapCreate(&(pricerdata->mapcons2idx), SCIPblkmem(scip), 10 * nmasterconss +1) );
4888 assert((int)(size_t)SCIPhashmapGetImage(pricerdata->mapcons2idx, masterconss[i]) == i); /*lint !e507*/
4893 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &pricerdata->pricedvars, pricerdata->maxpricedvars) );
4908 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &pricerdata->roottimes, pricerdata->maxrootbounds) );
4909 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &pricerdata->rootdualdiffs, pricerdata->maxrootbounds) );
4910 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &pricerdata->dualvalues, pricerdata->maxrootbounds) );
4911 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &pricerdata->dualsolconvs, pricerdata->maxrootbounds) );
4912 SCIP_CALL( SCIPallocMemoryArray(scip, &(pricerdata->nodetimehist), PRICER_STAT_ARRAYLEN_TIME) ); /*lint !e506*/
4913 SCIP_CALL( SCIPallocMemoryArray(scip, &(pricerdata->foundvarshist), PRICER_STAT_ARRAYLEN_VARS) ); /*lint !e506*/
4969 SCIPverbMessage(scip, SCIP_VERBLEVEL_NORMAL, NULL, "Big M to be used for artificial variables not reliable; use regular Farkas pricing instead.\n");
4974 SCIPwarningMessage(scip, "Big M used for artificial variables not reliable. This might lead to wrong solutions.\n");
4994/** solving process deinitialization method of variable pricer (called before branch and bound process data is freed) */
5082 SCIPfreeBlockMemoryArrayNull(scip, &(pricerdata->artificialvars), pricerdata->maxartificialvars);
5107 SCIPfreeBlockMemoryArrayNull(scip, &(pricerdata->realdualvalues[i]), pricerdata->nrealdualvalues[i]);
5154 if( SCIPgetCurrentNode(scip) == SCIPgetRootNode(scip) && GCGsepaGetNOriginalSepaCuts(gcg) == 0 && reducedcostpricing->getCalls() > 0
5157 SCIPverbMessage(scip, SCIP_VERBLEVEL_NORMAL, NULL, "Starting reduced cost pricing without artificial variables...\n");
5177 /* if the number of reduced cost pricing rounds at the current node exceeds the limit (and we are not at the root), stop pricing;
5180 if( reducedcostpricing->getMaxrounds() == 0 || (pricerdata->nroundsredcost >= reducedcostpricing->getMaxrounds() && pricerdata->currnodenr != 1) )
5199 /*If one of the pre-pricing methods of the pricing callback plugins indicates that the pricing must be aborted,
5213 if( SCIPgetCurrentNode(scip_) == SCIPgetRootNode(scip_) && GCGsepaGetNOriginalSepaCuts(gcg) == 0 )
5232 SCIP_CALL( SCIPreallocBlockMemoryArray(scip_, &(pricerdata->artificialvars), oldsize, pricerdata->maxartificialvars) );
5270 SCIP_CALL( GCGcreateArtificialVar(gcg, &(pricerdata->artificialvars[pricerdata->nartificialvars]), varname, bigm) );
5271 SCIP_CALL( SCIPaddCoefLinear(scip_, masterconss[i], pricerdata->artificialvars[pricerdata->nartificialvars], 1.0) );
5280 SCIP_CALL( GCGcreateArtificialVar(gcg, &(pricerdata->artificialvars[pricerdata->nartificialvars]), varname, bigm) );
5281 SCIP_CALL( SCIPaddCoefLinear(scip_, masterconss[i], pricerdata->artificialvars[pricerdata->nartificialvars], -1.0) );
5300 SCIP_CALL( GCGcreateArtificialVar(gcg, &(pricerdata->artificialvars[pricerdata->nartificialvars]), varname, bigm) );
5301 SCIP_CALL( SCIPaddCoefLinear(scip_, convcons, pricerdata->artificialvars[pricerdata->nartificialvars], 1.0) );
5310 SCIP_CALL( GCGcreateArtificialVar(gcg, &(pricerdata->artificialvars[pricerdata->nartificialvars]), varname, bigm) );
5311 SCIP_CALL( SCIPaddCoefLinear(scip_, convcons, pricerdata->artificialvars[pricerdata->nartificialvars], -1.0) );
5371 SCIPsolGetHeur(origsols[i]) == NULL ? "relaxation" : SCIPheurGetName(SCIPsolGetHeur(origsols[i])));
5378 SCIPdebugMessage("GCGmasterTransOrigSolToMasterVars() transferred %d original feasible solutions\n",
5393 SCIPverbMessage(scip, SCIP_VERBLEVEL_NORMAL, NULL, "Add artificial variables ensuring the restricted master problem is feasible.\n");
5477 1.1 * MAX(reducedcostpricing->getMaxcolsround(), GCGgetNRelPricingprobs(gcg) * reducedcostpricing->getMaxcolsprob())) );
5523 pricer = new ObjPricerGcg(gcg, PRICER_NAME, PRICER_DESC, PRICER_PRIORITY, PRICER_DELAY, pricerdata);
5557 (int*)&pricerdata->maxnthreads, FALSE, DEFAULT_NTHREADS, 0, omp_get_max_threads(), NULL, NULL) );
5574 "should the colpool be checked for negative redcost cols before solving the pricing problems?",
5578 "should an existing master variable be reused when an original solution is transferred to the master problem, instead of creating a duplicate column?",
5586 "should hybridization of smoothing with an ascent method be enabled if pricing problems cannot be aggregation?",
5590 "should artificial variables be used to make the RMP feasible (instead of applying Farkas pricing)?",
5603 &pricerdata->factorunreliable, FALSE, DEFAULT_FACTORUNRELIABLE, 0.0, SCIPinfinity(origprob), NULL, NULL) );
5607 &pricerdata->bigmartificial, FALSE, DEFAULT_BIGMARTIFICIAL, 0.0, SCIPinfinity(origprob), NULL, NULL) );
5613 &pricerdata->disablecutoff, FALSE, DEFAULT_DISABLECUTOFF, 0, 2, paramChgdDisablecutoff, NULL) );
5702 SCIPdebugMessage("Added cons %s (%p) to hashmap with index %d\n", SCIPconsGetName(cons), (void*) cons, pos);
5755 SCIP_Bool heurenabled, /**< flag to indicate whether heuristic solving method of the solver is enabled */
5756 SCIP_Bool exactenabled, /**< flag to indicate whether exact solving method of the solver is enabled */
5781 solverupdate, solversolve, solversolveheur, solverfree, solverinit, solverexit, solverinitsol, solverexitsol,
5792 SCIP_CALL( SCIPreallocMemoryArray(scip_, &(pricerdata->solvers), (size_t)pricerdata->nsolvers+1) );
5867 SCIPdialogMessage(masterprob, NULL, " %5s", GCGsolverIsHeurEnabled(pricerdata->solvers[i]) ? "TRUE" : "FALSE");
5868 SCIPdialogMessage(masterprob, NULL, " %5s", GCGsolverIsExactEnabled(pricerdata->solvers[i]) ? "TRUE" : "FALSE");
5944 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Farkas pricing Statistic:\nno.\t#Calls\t\t#Vars\t\ttime(s)\n");
5948 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "%d \t %d \t\t %d \t\t %.2f \n", i, pricerdata->farkascallsdist[i],
5953 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Reduced Cost pricing Statistic:\nno.\t#Calls\t\t#Vars\t\ttime(s)\n");
5957 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "%d \t %d \t\t %d \t\t %.2f \n", i, pricerdata->redcostcallsdist[i],
5972 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "From\t%.4f\t-\t%.4f\ts:\t\t%d \n", start, end, pricerdata->nodetimehist[i]);
5983 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "From\t%.0f\t-\t%.0f\tvars:\t\t%d \n", start, end, pricerdata->foundvarshist[i]);
5987 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, " iter pb db time dualdiff dualoptdiff\n");
6001 pricer->computeDualDiff(pricerdata->dualvalues[i], pricerdata->dualsolconvs[i], pricerdata->dualvalues[pricerdata->nrootbounds - 1], pricerdata->dualsolconvs[pricerdata->nrootbounds - 1], &dualoptdiff);
6003 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "%5d %13.6e %13.6e %15.5f %15.5f %15.5f\n", i, pb, db, time, dualdiff, dualoptdiff);
6013 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Calls : %d\n", pricerdata->calls);
6014 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Farkas Pricing Calls : %d\n", farkas->getCalls());
6015 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Farkas Pricing Time : %f\n", farkas->getClockTime());
6016 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Reduced Cost Pricing Calls : %d\n", redcost->getCalls());
6017 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Reduced Cost Pricing Time : %f\n", redcost->getClockTime());
6018 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Solved subMIPs Heuristic Pricing : %d\n", pricerdata->solvedsubmipsheur);
6019 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Solved subMIPs Optimal Pricing : %d\n", pricerdata->solvedsubmipsoptimal);
6020 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Time for transformation : %f\n", SCIPgetClockTime(masterprob, pricerdata->transformclock));
6021 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Time for freeing subMIPs : %f\n", SCIPgetClockTime(masterprob, pricerdata->freeclock));
6022 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Duplicate Columns Avoided : %d\n", pricerdata->nduplicatecols);
6023 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, "Time for duplicate column check : %f\n", SCIPgetClockTime(masterprob, pricerdata->duplicatecolclock));
6117/** get the number of columns per pricing problem to be added to the master LP in the current pricing round */
6167 * i.e. creates one master variable for each block and adds the solution to the master problem */
6211 pricerdata = NULL; /* the pricerdata is set to NULL when the Benders' decomposition mode is used. */
6230 SCIP_CALL( SCIPallocBufferArray(masterprob, &pricingvars, pricerdata->npricingprobs) ); /*lint !e530*/
6231 SCIP_CALL( SCIPallocBufferArray(masterprob, &pricingvals, pricerdata->npricingprobs) ); /*lint !e530*/
6232 SCIP_CALL( SCIPallocBufferArray(masterprob, &npricingvars, pricerdata->npricingprobs) ); /*lint !e530*/
6240 SCIP_CALL( SCIPallocBufferArray(masterprob, &(pricingvars[i]), SCIPgetNVars(pricerdata->pricingprobs[representative])) ); /*lint !e866*/
6241 SCIP_CALL( SCIPallocBufferArray(masterprob, &(pricingvals[i]), SCIPgetNVars(pricerdata->pricingprobs[representative])) ); /*lint !e866*/
6270 assert((GCGoriginalVarGetNMastervars(origvars[i]) == 1) || (GCGoriginalVarIsLinking(origvars[i])));
6341 /* the candidate columns are described in terms of original variables, just as the master variables are */
6345 SCIP_CALL( SCIPallocBufferArray(masterprob, &mvkeys, npricedvars + pricerdata->npricingprobs) );
6384 /* build the key of the column this block would create; mirrors what GCGcreateMasterVar stores, including
6417 SCIPdebugMessage("transferred solution will be rejected: master variable <%s> reused for block %d "
6586 if( SCIPgetStage(masterprob) >= SCIP_STAGE_INITPRESOLVE && SCIPgetStage(masterprob) <= SCIP_STAGE_SOLVING && GCGisRootNode(gcg) )
6756 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, " Master LP : %10lld\n", SCIPgetNLPIterations(masterprob));
6762 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, " Pricing LP : %10lld\n", pricerdata->pricingiters);
6766 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(masterprob), file, " Original LP : %10lld\n", SCIPgetNLPIterations(pricer->getOrigprob()));
SCIP_DECL_EVENTEXEC(EventhdlrNewSol::scip_exec)
SCIP_DECL_EVENTFREE(EventhdlrNewSol::scip_free)
int GCGbranchGenericBranchdataGetConsSsize(GCG_BRANCHDATA *branchdata)
Definition branch_generic.c:3058
GCG_COMPSEQUENCE * GCGbranchGenericBranchdataGetConsS(GCG_BRANCHDATA *branchdata)
Definition branch_generic.c:3049
SCIP_Bool GCGisBranchruleGeneric(GCG_BRANCHRULE *branchrule)
Definition branch_generic.c:3085
branching rule based on vanderbeck's generic branching scheme
SCIP_Real * r
FarkasPricing()=delete
Definition objpricer_gcg.h:56
SCIP_RETCODE createPricingcontroller()
Definition pricer_gcg.cpp:5441
SCIP_RETCODE computeColOriginalSepaCuts(GCG_COL *gcgcol)
Definition pricer_gcg.cpp:1936
SCIP_RETCODE priceNewVariables(PricingType *pricetype, SCIP_RESULT *result, double *lowerbound)
Definition pricer_gcg.cpp:4595
const ReducedCostPricing * getReducedCostPricing() const
Definition objpricer_gcg.h:179
SCIP_Real computeRedCostGcgCol(PricingType *pricetype, GCG_Col *gcgcol, SCIP_Real *objvalptr) const
Definition pricer_gcg.cpp:2261
SCIP_RETCODE createNewMasterVarFromGcgCol(PricingType *pricetype, GCG_COL *gcgcol, SCIP_Bool force, SCIP_Bool *added, SCIP_VAR **addedvar, SCIP_Real score)
Definition pricer_gcg.cpp:3163
ReducedCostPricing * getReducedCostPricingNonConst()
Definition objpricer_gcg.h:184
SCIP_RETCODE createNewMasterVar(PricingType *pricetype, SCIP_SOL *sol, SCIP_VAR **solvars, double *solvals, int nsolvars, unsigned int solisray, int prob, unsigned int force, unsigned int *added, SCIP_VAR **addedvar)
Definition pricer_gcg.cpp:3004
ObjPricerGcg(GCG *gcgstruct, const char *name, const char *desc, int priority, unsigned int delay, SCIP_PRICERDATA *p_pricerdata)
Definition pricer_gcg.cpp:4683
const FarkasPricing * getFarkasPricing() const
Definition objpricer_gcg.h:169
SCIP_RETCODE getStabilizedDualObjectiveValue(PricingType *pricetype, SCIP_Real *stabdualval, SCIP_Bool stabilize)
Definition pricer_gcg.cpp:2439
SCIP_RETCODE setPricingObjs(PricingType *pricetype, SCIP_Bool stabilize)
Definition pricer_gcg.cpp:1078
SCIP_Real getDualconvsum(GCG_COL **bestcols)
Definition pricer_gcg.cpp:2421
SCIP_RETCODE pricingLoop(PricingType *pricetype, SCIP_RESULT *result, int *nfoundvars, SCIP_Real *lowerbound, SCIP_Bool *bestredcostvalid)
Definition pricer_gcg.cpp:3639
SCIP_RETCODE addColToPricestore(GCG_COL *col, SCIP_Bool *added)
Definition pricer_gcg.cpp:2357
SCIP_RETCODE computeDualDiff(SCIP_Real **dualvals1, SCIP_Real *dualconv1, SCIP_Real **dualvals2, SCIP_Real *dualconv2, SCIP_Real *dualdiff)
Definition pricer_gcg.cpp:3605
SCIP_Real getConvconsDualsol(PricingType *pricetype, int probnr)
Definition pricer_gcg.cpp:1064
FarkasPricing * getFarkasPricingNonConst()
Definition objpricer_gcg.h:174
SCIP_RETCODE addVariableToMastersepacutsFromGCGCol(SCIP_VAR *newvar, GCG_COL *gcgcol)
Definition pricer_gcg.cpp:1846
SCIP_RETCODE addVariableToMastersepacuts(SCIP_VAR *newvar, int prob, SCIP_VAR **solvars, SCIP_Real *solvals, int nsolvars)
Definition pricer_gcg.cpp:1888
SCIP_RETCODE computeColMastersepacutCoeffs(GCG_COL *gcgcol)
Definition pricer_gcg.cpp:2038
SCIP_RETCODE computeColMastercoefs(GCG_COL *gcgcol)
Definition pricer_gcg.cpp:1630
Definition class_pricingtype.h:49
virtual SCIP_Real rowGetDual(SCIP_ROW *row) const =0
virtual SCIP_Real extendedmasterconsGetDual(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata) const =0
virtual SCIP_Real consGetDual(SCIP_CONS *cons) const =0
virtual SCIP_Real varGetObj(SCIP_VAR *var) const =0
ReducedCostPricing()=delete
pricing controller managing the pricing strategy
abstraction for SCIP pricing types
class with functions for dual variable smoothing
Pricingcontroller()
Stabilization()
ObjPricer(SCIP *scip, const char *name, const char *desc, int priority, SCIP_Bool delay)
SCIP * scip_
SCIP_DECL_HASHGETKEY(SCIPhashGetKeyCons)
GCG_BRANCHRULE * GCGconsMasterbranchGetBranchrule(SCIP_CONS *cons)
Definition cons_masterbranch.c:2933
SCIP_RETCODE GCGconsMasterbranchAddRootCons(GCG *gcg)
Definition cons_masterbranch.c:3131
GCG_BRANCHDATA * GCGconsMasterbranchGetBranchdata(SCIP_CONS *cons)
Definition cons_masterbranch.c:2907
SCIP_CONS * GCGconsMasterbranchGetActiveCons(GCG *gcg)
Definition cons_masterbranch.c:3056
constraint handler for storing the branching decisions at each node of the tree
#define SCIP_MAXSTRLEN
#define SCIP_Longint
#define SCIP_Bool
#define MIN(x, y)
#define SCIP_Real
#define ABS(x)
#define SQR(x)
#define MAX(x, y)
#define SCIP_CALL_ABORT(x)
#define SCIP_LONGINT_FORMAT
#define TRUE
#define FALSE
SCIP_DECL_PARAMCHGD(SCIPparamChgdDispActive)
SCIP_RETCODE GCGactivateEventHdlrDisplay(GCG *gcg)
Definition event_display.c:65
eventhdlr to disable the master display after the root node
int GCGgetNActiveMastersepacuts(GCG *gcg)
Definition event_mastersepacut.c:741
GCG_EXTENDEDMASTERCONSDATA ** GCGgetActiveMastersepacuts(GCG *gcg)
Definition event_mastersepacut.c:712
SCIP_VAR * GCGpricingmodificationGetCoefVar(GCG_PRICINGMODIFICATION *pricingmodification)
Definition extendedmasterconsdata.c:425
SCIP_Real GCGextendedmasterconsGetRhs(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:706
int GCGextendedmasterconsGetNPricingModifications(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:531
SCIP_ROW * GCGextendedmasterconsGetRow(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:411
SCIP_Real GCGextendedmasterconsGetConstant(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:729
SCIP_Bool GCGextendedmasterconsIsActive(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:317
GCG_EXTENDEDMASTERCONSTYPE GCGextendedmasterconsGetType(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:850
int GCGpricingmodificationGetBlock(GCG_PRICINGMODIFICATION *pricingmodification)
Definition extendedmasterconsdata.c:485
const char * GCGextendedmasterconsGetName(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:662
SCIP_Real GCGextendedmasterconsGetLhs(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:683
GCG_PRICINGMODIFICATION ** GCGextendedmasterconsGetPricingModifications(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:519
SCIP_RETCODE GCGpricingmodificationApply(SCIP *pricingscip, GCG_PRICINGMODIFICATION *pricingmodification)
Definition extendedmasterconsdata.c:542
SCIP_RETCODE GCGextendedmasterconsUndoPricingModifications(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:606
SCIP_CONS * GCGextendedmasterconsGetCons(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:397
internal methods for interacting with GCG_EXTENDEDMASTERCONSDATA
GCG interface methods.
SCIP_RETCODE GCGoriginalVarAddMasterVar(GCG *gcg, SCIP_VAR *origvar, SCIP_VAR *var, SCIP_Real val)
Definition gcgvar.c:1206
SCIP_VAR ** GCGlinkingVarGetPricingVars(SCIP_VAR *var)
Definition gcgvar.c:488
void GCGsetRootRedcostCall(SCIP_VAR *var, SCIP_Longint rootredcostcall)
Definition gcgvar.c:1805
SCIP_VAR ** GCGoriginalVarGetMastervars(SCIP_VAR *var)
Definition gcgvar.c:666
SCIP_RETCODE GCGcreateInitialMasterVar(GCG *gcg, SCIP_VAR *var, SCIP_VAR **newvar)
Definition gcgvar.c:1586
SCIP_CONS ** GCGoriginalVarGetMasterconss(SCIP_VAR *var)
Definition gcgvar.c:792
SCIP_VAR * GCGoriginalVarGetPricingVar(SCIP_VAR *var)
Definition gcgvar.c:281
SCIP_CONS ** GCGlinkingVarGetLinkingConss(SCIP_VAR *var)
Definition gcgvar.c:872
SCIP_RETCODE GCGcreateArtificialVar(GCG *gcg, SCIP_VAR **newvar, const char *name, SCIP_Real objcoef)
Definition gcgvar.c:1638
SCIP_RETCODE GCGcreateMasterVar(GCG *gcg, SCIP *pricingscip, SCIP_VAR **newvar, const char *varname, SCIP_Real objcoeff, SCIP_VARTYPE vartype, SCIP_Bool solisray, int prob, int nsolvars, SCIP_Real *solvals, SCIP_VAR **solvars, SCIP_Bool auxiliaryvar)
Definition gcgvar.c:1398
SCIP_RETCODE GCGlinkingVarGetBlocks(SCIP_VAR *var, int nblocks, int *blocks)
Definition gcgvar.c:529
int GCGcountInferredCoefPricingVars(SCIP_VAR **vars, int nvars)
Definition gcgvar.c:210
SCIP_RETCODE GCGoriginalVarRemoveMasterVar(GCG *gcg, SCIP_VAR *origvar, SCIP_VAR *var)
Definition gcgvar.c:1257
void GCGupdateVarStatistics(GCG *gcg, SCIP_VAR *newvar, SCIP_Real redcost)
Definition gcgvar.c:1919
GCG_EXPORT SCIP_Bool GCGvarIsInferredPricing(SCIP_VAR *var)
Definition gcgvar.c:195
GCG_EXTENDEDMASTERCONSDATA * GCGinferredPricingVarGetExtendedmasterconsdata(SCIP_VAR *var)
Definition gcgvar.c:2070
SCIP_Bool GCGinferredPricingVarIsCoefVar(SCIP_VAR *var)
Definition gcgvar.c:2085
SCIP_RETCODE GCGvarhistoryFreeReference(SCIP *scip, GCG_VARHISTORY **pointer)
Definition gcgvarhistory.c:358
SCIP_RETCODE GCGvarhistoryAddVar(SCIP *scip, GCG_VARHISTORY *pointer, SCIP_VAR *var)
Definition gcgvarhistory.c:381
SCIP_RETCODE GCGvarhistoryJumpToLatest(SCIP *scip, GCG_VARHISTORY *pointer)
Definition gcgvarhistory.c:180
SCIP_RETCODE GCGvarhistoryCreate(SCIP *scip, GCG_VARHISTORY **pointer)
Definition gcgvarhistory.c:314
methods for managing variable history
SCIP_Real SCIPgetRhsLinear(SCIP *scip, SCIP_CONS *cons)
SCIP_VAR ** SCIPgetVarsLinear(SCIP *scip, SCIP_CONS *cons)
SCIP_RETCODE SCIPaddCoefLinear(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var, SCIP_Real val)
SCIP_Real SCIPgetLhsLinear(SCIP *scip, SCIP_CONS *cons)
SCIP_RETCODE GCGcreateNewMasterVarFromGcgCol(GCG *gcg, SCIP_Bool infarkas, GCG_COL *gcgcol, SCIP_Bool force, SCIP_Bool *added, SCIP_VAR **addedvar, SCIP_Real score)
Definition pricer_gcg.cpp:4404
SCIP_RETCODE GCGpricerAddColResult(GCG *gcg, GCG_COL *col, SCIP_Bool *added)
Definition pricer_gcg.cpp:6150
SCIP_RETCODE GCGmasterPrintSimplexIters(GCG *gcg, FILE *file)
Definition pricer_gcg.cpp:6736
SCIP_RETCODE GCGsetPricingObjs(GCG *gcg, SCIP_Real *dualsolconv)
Definition pricer_gcg.cpp:4318
SCIP_RETCODE GCGmasterTransOrigSolToMasterVars(GCG *gcg, SCIP_SOL *origsol, SCIP_Bool *stored)
Definition pricer_gcg.cpp:6169
GCG_PRICINGCB ** GCGpricerGetPricingcbs(GCG *gcg)
Definition pricer_gcg.cpp:4528
SCIP_RETCODE GCGmasterAddMasterconsToHashmap(GCG *gcg, SCIP_CONS *cons, int pos)
Definition pricer_gcg.cpp:5681
void GCGsetPricingObjDualWeight(GCG *gcg, SCIP_Real dualweight)
Definition pricer_gcg.cpp:4350
SCIP_Bool GCGmasterIsCurrentSolValid(GCG *gcg)
Definition pricer_gcg.cpp:6596
SCIP_RETCODE GCGcomputeColMastercoefs(GCG *gcg, GCG_COL *gcgcol)
Definition pricer_gcg.cpp:4433
GCG_VARHISTORY * GCGgetCurrentVarhistoryReference(GCG *gcg)
Definition pricer_gcg.cpp:6800
SCIP_RETCODE GCGpricerExistRays(GCG *gcg, SCIP_Bool *exist)
Definition pricer_gcg.cpp:6029
int GCGgetNAppliedPricingproblemModifications(GCG *gcg, int probnr)
Definition pricer_gcg.cpp:6875
void GCGsetPricingObjRelaxWeight(GCG *gcg, SCIP_Real *weights, int *weightids, int nweights)
Definition pricer_gcg.cpp:4367
SCIP_Bool GCGmasterIsSolValid(GCG *gcg, SCIP_SOL *mastersol)
Definition pricer_gcg.cpp:6681
void GCGpricerPrintStatistics(GCG *gcg, FILE *file)
Definition pricer_gcg.cpp:5916
SCIP_Longint GCGmasterGetPricingSimplexIters(GCG *gcg)
Definition pricer_gcg.cpp:6718
GCG_EXPORT SCIP_RETCODE GCGmasterSetRootLPSol(GCG *gcg, SCIP_SOL **sol)
GCG_PRICINGCB * GCGpricerFindPricingcb(GCG *gcg, const char *name)
Definition pricer_gcg.cpp:4568
SCIP_Real GCGcomputeRedCostGcgCol(GCG *gcg, SCIP_Bool infarkas, GCG_COL *gcgcol, SCIP_Real *objvalptr)
Definition pricer_gcg.cpp:4452
int GCGgetNActivePricingproblemModifications(GCG *gcg, int probnr)
Definition pricer_gcg.cpp:6855
SCIP_RETCODE GCGmasterCreateInitialMastervars(GCG *gcg)
Definition pricer_gcg.cpp:6484
void GCGpricerPrintPricingStatistics(GCG *gcg, FILE *file)
Definition pricer_gcg.cpp:5875
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)
Definition pricer_gcg.cpp:4478
int GCGpricerGetNPointsProb(GCG *gcg, int probnr)
Definition pricer_gcg.cpp:6061
SCIP_RETCODE GCGcolpoolCreate(GCG *gcg, GCG_COLPOOL **colpool, int agelimit)
Definition colpool.c:89
SCIP_RETCODE GCGcolpoolPrice(GCG_COLPOOL *colpool, SCIP_SOL *sol, int *nfoundvars)
Definition colpool.c:288
SCIP_RETCODE GCGcolpoolUpdateRedcost(GCG_COLPOOL *colpool)
Definition colpool.c:380
int GCGcolGetNOriginalSepaMastercuts(GCG_COL *gcgcol)
Definition gcgcol.c:683
SCIP_Real * GCGcolGetOriginalSepaMastercuts(GCG_COL *gcgcol)
Definition gcgcol.c:675
SCIP_RETCODE GCGcolUpdateOriginalSepaMastercuts(GCG_COL *gcgcol, SCIP_Real *neworiginalsepamastercuts, int nneworiginalsepamastercuts)
Definition gcgcol.c:699
SCIP_Real * GCGcolGetInferredPricingVals(GCG_COL *gcgcol)
Definition gcgcol.c:1133
SCIP_RETCODE GCGcolSetInitializedCoefs(GCG_COL *gcgcol)
Definition gcgcol.c:617
void GCGcolUpdateRedcost(GCG_COL *gcgcol, SCIP_Real redcost, SCIP_Bool growold)
Definition gcgcol.c:491
SCIP_RETCODE GCGcolSetLinkvars(GCG_COL *gcgcol, int *linkvars, int nlinkvars)
Definition gcgcol.c:651
SCIP_Real * GCGcolGetMastersepaCutCoeffs(GCG_COL *gcgcol)
Definition gcgcol.c:776
SCIP_Bool GCGcolGetInitializedCoefs(GCG_COL *gcgcol)
Definition gcgcol.c:627
SCIP_VAR ** GCGcolGetInferredPricingVars(GCG_COL *gcgcol)
Definition gcgcol.c:1141
SCIP_RETCODE GCGcolSetMastercoefs(GCG_COL *gcgcol, SCIP_Real *mastercoefs, int nmastercoefs)
Definition gcgcol.c:525
SCIP_RETCODE GCGcolUpdateActiveMastersepacuts(GCG *gcg, GCG_COL *gcgcol, GCG_EXTENDEDMASTERCONSDATA **mastersepacuts, int nmastersepacuts, SCIP_Real *mastersepacutcoefs)
Definition gcgcol.c:1157
int GCGcolGetNInferredPricingVars(GCG_COL *gcgcol)
Definition gcgcol.c:1149
SCIP_RETCODE GCGextendedmasterconsUpdateDualValue(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata, SCIP_Real dualvalue)
Definition extendedmasterconsdata.c:370
GCG_EXPORT SCIP * GCGgetPricingprob(GCG *gcg, int pricingprobnr)
Definition relax_gcg.c:4075
GCG_EXPORT SCIP_CONS ** GCGgetOrigMasterConss(GCG *gcg)
Definition relax_gcg.c:4245
GCG_EXPORT SCIP_CONS * GCGgetConvCons(GCG *gcg, int blocknr)
Definition relax_gcg.c:4262
GCG_EXPORT SCIP_CONS ** GCGgetVarLinkingconss(GCG *gcg)
Definition relax_gcg.c:5188
GCG_EXPORT SCIP_Real GCGgetPricingprobsMemUsed(GCG *gcg)
Definition relax_gcg.c:5114
GCG_EXPORT int GCGgetNIdenticalBlocks(GCG *gcg, int pricingprobnr)
Definition relax_gcg.c:4185
GCG_EXPORT int GCGgetBlockRepresentative(GCG *gcg, int pricingprobnr)
Definition relax_gcg.c:4155
GCG_EXPORT GCG_DECMODE GCGgetDecompositionMode(GCG *gcg)
Definition relax_gcg.c:5294
GCG_EXPORT int * GCGgetVarLinkingconssBlock(GCG *gcg)
Definition relax_gcg.c:5205
GCG_EXPORT SCIP_Bool GCGisPricingprobRelevant(GCG *gcg, int pricingprobnr)
Definition relax_gcg.c:4132
SCIP_Bool SCIPisStopped(SCIP *scip)
SCIP_STATUS SCIPgetStatus(SCIP *scip)
SCIP_STAGE SCIPgetStage(SCIP *scip)
SCIP_RETCODE SCIPaddVar(SCIP *scip, SCIP_VAR *var)
int SCIPgetNContVars(SCIP *scip)
SCIP_RETCODE SCIPaddPricedVar(SCIP *scip, SCIP_VAR *var, SCIP_Real score)
SCIP_VAR ** SCIPgetOrigVars(SCIP *scip)
int SCIPgetNVars(SCIP *scip)
SCIP_VAR ** SCIPgetVars(SCIP *scip)
int SCIPgetNOrigVars(SCIP *scip)
SCIP_Bool SCIPisObjIntegral(SCIP *scip)
void SCIPhashmapFree(SCIP_HASHMAP **hashmap)
void * SCIPhashmapGetImage(SCIP_HASHMAP *hashmap, void *origin)
SCIP_RETCODE SCIPhashmapInsert(SCIP_HASHMAP *hashmap, void *origin, void *image)
SCIP_RETCODE SCIPhashmapCreate(SCIP_HASHMAP **hashmap, BMS_BLKMEM *blkmem, int mapsize)
void SCIPhashtableFree(SCIP_HASHTABLE **hashtable)
SCIP_RETCODE SCIPhashtableCreate(SCIP_HASHTABLE **hashtable, BMS_BLKMEM *blkmem, int tablesize, SCIP_DECL_HASHGETKEY((*hashgetkey)), SCIP_DECL_HASHKEYEQ((*hashkeyeq)), SCIP_DECL_HASHKEYVAL((*hashkeyval)), void *userptr)
void * SCIPhashtableRetrieve(SCIP_HASHTABLE *hashtable, void *key)
#define SCIPhashSeven(a, b, c, d, e, f, g)
SCIP_RETCODE SCIPhashtableInsert(SCIP_HASHTABLE *hashtable, void *element)
SCIP_Real SCIPgetNodeLowerbound(SCIP *scip, SCIP_NODE *node)
SCIP_RETCODE GCGconsGetVars(SCIP *scip, SCIP_CONS *cons, SCIP_VAR **vars, int nvars)
Definition scip_misc.c:487
SCIP_RETCODE GCGconsGetVals(SCIP *scip, SCIP_CONS *cons, SCIP_Real *vals, int nvals)
Definition scip_misc.c:618
void SCIPverbMessage(SCIP *scip, SCIP_VERBLEVEL msgverblevel, FILE *file, const char *formatstr,...)
SCIP_MESSAGEHDLR * SCIPgetMessagehdlr(SCIP *scip)
void SCIPdialogMessage(SCIP *scip, FILE *file, const char *formatstr,...)
void SCIPwarningMessage(SCIP *scip, const char *formatstr,...)
SCIP_DECL_HASHKEYEQ(SCIPhashKeyEqString)
SCIP_DECL_HASHKEYVAL(SCIPhashKeyValString)
GCG_PRICINGPROB * GCGpricingjobGetPricingprob(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:135
SCIP * GCGpricingprobGetPricingscip(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:200
GCG_EXPORT SCIP_Bool GCGsolverIsHeurEnabled(GCG_SOLVER *solver)
Definition solver.c:451
GCG_EXPORT int GCGsolverGetOptRedcostCalls(GCG_SOLVER *solver)
Definition solver.c:481
GCG_EXPORT SCIP_Real GCGsolverGetOptFarkasTime(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:511
GCG_EXPORT int GCGsolverGetHeurFarkasCalls(GCG_SOLVER *solver)
Definition solver.c:491
GCG_EXPORT int GCGsolverGetHeurRedcostCalls(GCG_SOLVER *solver)
Definition solver.c:501
GCG_EXPORT SCIP_Real GCGsolverGetHeurFarkasTime(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:535
GCG_EXPORT SCIP_Real GCGsolverGetHeurRedcostTime(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:547
GCG_EXPORT int GCGsolverGetOptFarkasCalls(GCG_SOLVER *solver)
Definition solver.c:471
GCG_EXPORT SCIP_Real GCGsolverGetOptRedcostTime(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:523
GCG_EXPORT SCIP_Bool GCGsolverIsExactEnabled(GCG_SOLVER *solver)
Definition solver.c:461
SCIP_RETCODE SCIPgetBoolParam(SCIP *scip, const char *name, SCIP_Bool *value)
SCIP_RETCODE SCIPaddIntParam(SCIP *scip, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPaddRealParam(SCIP *scip, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPsetIntParam(SCIP *scip, const char *name, int value)
SCIP_RETCODE SCIPgetRealParam(SCIP *scip, const char *name, SCIP_Real *value)
SCIP_RETCODE SCIPsetPresolving(SCIP *scip, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
SCIP_RETCODE SCIPaddBoolParam(SCIP *scip, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPgetIntParam(SCIP *scip, const char *name, int *value)
SCIP_RETCODE SCIPfixParam(SCIP *scip, const char *name)
SCIP_RETCODE SCIPsetRealParam(SCIP *scip, const char *name, SCIP_Real value)
SCIP_Bool GCGpricingcbIsEnabled(GCG_PRICINGCB *pricingcb)
Definition pricingcb.c:592
SCIP_Bool GCGpricingcbIsExclusive(GCG_PRICINGCB *pricingcb)
Definition pricingcb.c:602
const char * GCGpricingcbGetName(GCG_PRICINGCB *pricingcb)
Definition pricingcb.c:498
SCIP_Real SCIPgetColRedcost(SCIP *scip, SCIP_COL *col)
SCIP_VAR * SCIPcolGetVar(SCIP_COL *col)
SCIP_Real SCIPcolGetLb(SCIP_COL *col)
SCIP_Real SCIPcolGetPrimsol(SCIP_COL *col)
SCIP_Real SCIPcolGetUb(SCIP_COL *col)
SCIP_Bool SCIPcolIsInLP(SCIP_COL *col)
const char * SCIPconsGetName(SCIP_CONS *cons)
SCIP_RETCODE SCIPgetTransformedCons(SCIP *scip, SCIP_CONS *cons, SCIP_CONS **transcons)
int SCIPgetNPoolCuts(SCIP *scip)
SCIP_ROW * SCIPcutGetRow(SCIP_CUT *cut)
SCIP_CUT ** SCIPgetPoolCuts(SCIP *scip)
SCIP_RETCODE SCIPincludeEventhdlr(SCIP *scip, const char *name, const char *desc, SCIP_DECL_EVENTCOPY((*eventcopy)), SCIP_DECL_EVENTFREE((*eventfree)), SCIP_DECL_EVENTINIT((*eventinit)), SCIP_DECL_EVENTEXIT((*eventexit)), SCIP_DECL_EVENTINITSOL((*eventinitsol)), SCIP_DECL_EVENTEXITSOL((*eventexitsol)), SCIP_DECL_EVENTDELETE((*eventdelete)), SCIP_DECL_EVENTEXEC((*eventexec)), SCIP_EVENTHDLRDATA *eventhdlrdata)
SCIP_EVENTHDLR * SCIPfindEventhdlr(SCIP *scip, const char *name)
SCIP_EVENTHDLRDATA * SCIPeventhdlrGetData(SCIP_EVENTHDLR *eventhdlr)
SCIP_EVENTTYPE SCIPeventGetType(SCIP_EVENT *event)
SCIP_RETCODE SCIPcatchVarEvent(SCIP *scip, SCIP_VAR *var, SCIP_EVENTTYPE eventtype, SCIP_EVENTHDLR *eventhdlr, SCIP_EVENTDATA *eventdata, int *filterpos)
SCIP_RETCODE SCIPdropVarEvent(SCIP *scip, SCIP_VAR *var, SCIP_EVENTTYPE eventtype, SCIP_EVENTHDLR *eventhdlr, SCIP_EVENTDATA *eventdata, int filterpos)
SCIP_VAR * SCIPeventGetVar(SCIP_EVENT *event)
const char * SCIPheurGetName(SCIP_HEUR *heur)
SCIP_RETCODE SCIPgetLPBasisInd(SCIP *scip, int *basisind)
SCIP_ROW ** SCIPgetLPRows(SCIP *scip)
int SCIPgetNLPRows(SCIP *scip)
SCIP_RETCODE SCIPgetLPI(SCIP *scip, SCIP_LPI **lpi)
SCIP_LPSOLSTAT SCIPgetLPSolstat(SCIP *scip)
SCIP_COL ** SCIPgetLPCols(SCIP *scip)
SCIP_Real SCIPgetLPObjval(SCIP *scip)
int SCIPgetNLPCols(SCIP *scip)
SCIP_Bool SCIPisLPSolBasic(SCIP *scip)
#define SCIPfreeMemoryArrayNull(scip, ptr)
#define SCIPfreeBlockMemoryArray(scip, ptr, num)
#define SCIPreallocMemoryArray(scip, ptr, newnum)
SCIP_Longint SCIPgetMemUsed(SCIP *scip)
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
#define SCIPallocMemoryArray(scip, ptr, num)
#define SCIPallocClearBlockMemoryArray(scip, ptr, num)
#define SCIPallocClearBufferArray(scip, ptr, num)
int SCIPcalcMemGrowSize(SCIP *scip, int num)
#define SCIPallocBufferArray(scip, ptr, num)
#define SCIPallocMemory(scip, ptr)
#define SCIPfreeMemoryArray(scip, ptr)
#define SCIPallocBlockMemoryArray(scip, ptr, num)
#define SCIPreallocBlockMemoryArray(scip, ptr, oldnum, newnum)
#define SCIPfreeBlockMemory(scip, ptr)
#define SCIPfreeBlockMemoryArrayNull(scip, ptr, num)
#define SCIPfreeBufferArrayNull(scip, ptr)
#define SCIPallocBlockMemory(scip, ptr)
SCIP_NODETYPE SCIPnodeGetType(SCIP_NODE *node)
int SCIPnodeGetDepth(SCIP_NODE *node)
void SCIPpricerSetData(SCIP_PRICER *pricer, SCIP_PRICERDATA *pricerdata)
SCIP_Real SCIProwGetLhs(SCIP_ROW *row)
int SCIProwGetNNonz(SCIP_ROW *row)
SCIP_COL ** SCIProwGetCols(SCIP_ROW *row)
SCIP_Real SCIProwGetRhs(SCIP_ROW *row)
SCIP_Bool SCIProwIsLocal(SCIP_ROW *row)
SCIP_RETCODE SCIPaddVarToRow(SCIP *scip, SCIP_ROW *row, SCIP_VAR *var, SCIP_Real val)
const char * SCIProwGetName(SCIP_ROW *row)
SCIP_Real SCIPgetRowActivity(SCIP *scip, SCIP_ROW *row)
int SCIProwGetRank(SCIP_ROW *row)
SCIP_Real SCIProwGetConstant(SCIP_ROW *row)
SCIP_Bool SCIProwIsInLP(SCIP_ROW *row)
SCIP_Real SCIProwGetDualsol(SCIP_ROW *row)
SCIP_Real * SCIProwGetVals(SCIP_ROW *row)
SCIP_SOL * SCIPgetBestSol(SCIP *scip)
SCIP_RETCODE SCIPcreateSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
SCIP_RETCODE SCIPfreeSol(SCIP *scip, SCIP_SOL **sol)
SCIP_Real SCIPtransformObj(SCIP *scip, SCIP_Real obj)
int SCIPgetNSols(SCIP *scip)
SCIP_HEUR * SCIPsolGetHeur(SCIP_SOL *sol)
SCIP_RETCODE SCIPgetSolVals(SCIP *scip, SCIP_SOL *sol, int nvars, SCIP_VAR **vars, SCIP_Real *vals)
SCIP_RETCODE SCIPincSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var, SCIP_Real incval)
SCIP_RETCODE SCIPsetSolVals(SCIP *scip, SCIP_SOL *sol, int nvars, SCIP_VAR **vars, SCIP_Real *vals)
SCIP_SOL ** SCIPgetSols(SCIP *scip)
SCIP_RETCODE SCIPcheckSol(SCIP *scip, SCIP_SOL *sol, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *feasible)
SCIP_RETCODE SCIPtrySolFree(SCIP *scip, SCIP_SOL **sol, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *stored)
SCIP_Real SCIPgetSolOrigObj(SCIP *scip, SCIP_SOL *sol)
SCIP_RETCODE SCIPsetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var, SCIP_Real val)
SCIP_Real SCIPgetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var)
SCIP_Real SCIPretransformObj(SCIP *scip, SCIP_Real obj)
SCIP_RETCODE SCIPtransformProb(SCIP *scip)
SCIP_RETCODE SCIPfreeTransform(SCIP *scip)
SCIP_Longint SCIPgetNNodes(SCIP *scip)
SCIP_Longint SCIPgetNLPIterations(SCIP *scip)
SCIP_RETCODE SCIPcreateCPUClock(SCIP *scip, SCIP_CLOCK **clck)
SCIP_RETCODE SCIPstopClock(SCIP *scip, SCIP_CLOCK *clck)
SCIP_Real SCIPgetSolvingTime(SCIP *scip)
SCIP_RETCODE SCIPfreeClock(SCIP *scip, SCIP_CLOCK **clck)
SCIP_Real SCIPgetClockTime(SCIP *scip, SCIP_CLOCK *clck)
SCIP_RETCODE SCIPstartClock(SCIP *scip, SCIP_CLOCK *clck)
SCIP_Bool SCIPisFeasGE(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Real SCIPinfinity(SCIP *scip)
SCIP_Bool SCIPisDualfeasNegative(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisGE(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisIntegral(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisDualfeasLT(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisPositive(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisLE(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisInfinity(SCIP *scip, SCIP_Real val)
SCIP_Real SCIPround(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisFeasLT(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisSumEQ(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisFeasIntegral(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisDualfeasEQ(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisNegative(SCIP *scip, SCIP_Real val)
SCIP_Real SCIPceil(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisEQ(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisZero(SCIP *scip, SCIP_Real val)
SCIP_NODE * SCIPgetCurrentNode(SCIP *scip)
SCIP_NODE * SCIPgetRootNode(SCIP *scip)
SCIP_RETCODE SCIPtightenVarLb(SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened)
SCIP_Real SCIPvarGetUbLocal(SCIP_VAR *var)
void SCIPvarMarkDeletable(SCIP_VAR *var)
SCIP_Real SCIPvarGetObj(SCIP_VAR *var)
SCIP_RETCODE SCIPtightenVarUb(SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened)
SCIP_Real SCIPvarGetUbGlobal(SCIP_VAR *var)
int SCIPvarGetIndex(SCIP_VAR *var)
int SCIPvarGetProbindex(SCIP_VAR *var)
const char * SCIPvarGetName(SCIP_VAR *var)
SCIP_RETCODE SCIPreleaseVar(SCIP *scip, SCIP_VAR **var)
SCIP_Bool SCIPvarIsIntegral(SCIP_VAR *var)
SCIP_Real SCIPvarGetLbLocal(SCIP_VAR *var)
SCIP_Real SCIPvarGetLbGlobal(SCIP_VAR *var)
SCIP_RETCODE SCIPchgVarObj(SCIP *scip, SCIP_VAR *var, SCIP_Real newobj)
void SCIPsortPtr(void **ptrarray, SCIP_DECL_SORTPTRCOMP((*ptrcomp)), int len)
int SCIPsnprintf(char *t, int len, const char *s,...)
SCIPfreeMemory(GCGgetOrigprob(gcg), &divingdata)
static assert(heur !=NULL)
SCIP_CALL(SCIPgetExternBranchCands(origprob, &lpcands, &lpcandssol, NULL, &nlpcands, NULL, NULL, NULL, NULL))
SCIPdebugMessage("feasibility pump finished [%d iterations done].\n", nloops)
SCIPfreeBufferArray(scip, &cycles)
#define NULL
SCIP_RETCODE GCGmastersepacutGetExtendedmasterconsCoeff(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *mastersepacut, SCIP_VAR **solvars, SCIP_Real *solvals, int nsolvars, int probnr, GCG_COL *gcgcol, SCIP_Real *coef)
Definition mastersepacut.c:226
GCG_MASTERSEPACUT * GCGextendedmasterconsGetMastersepacut(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition mastersepacut.c:198
GCG_VARHISTORY * GCGmastersepacutGetVarHistory(GCG_MASTERSEPACUT *mastersepacut)
Definition mastersepacut.c:151
#define BMSclearMemoryArray(ptr, num)
void SCIPmessageFPrintInfo(SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *formatstr,...)
Definition class_conspartition.cpp:44
SCIP_RETCODE SCIPincludeObjPricer(SCIP *scip, scip::ObjPricer *objpricer, SCIP_Bool deleteobject)
scip::ObjPricer * SCIPfindObjPricer(SCIP *scip, const char *name)
GCG variable pricer.
int SCIPparamGetInt(SCIP_PARAM *param)
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)
Definition pricer_gcg.cpp:5750
static SCIP_Bool getMastervarKey(SCIP *masterprob, SCIP_VAR *mastervar, GCG_MASTERVARKEY *mvkey)
Definition pricer_gcg.cpp:377
SCIP_DECL_PRICERINITSOL(ObjPricerGcg::scip_initsol)
Definition pricer_gcg.cpp:4768
SCIP_DECL_PRICEREXITSOL(ObjPricerGcg::scip_exitsol)
Definition pricer_gcg.cpp:4995
GCG variable pricer.
SCIP_DECL_PRICERINIT(ObjPricerVRP::scip_init)
SCIP_DECL_PRICERREDCOST(ObjPricerVRP::scip_redcost)
SCIP_DECL_PRICERFARKAS(ObjPricerVRP::scip_farkas)
void GCGpricestoreEndFarkas(GCG_PRICESTORE *pricestore)
Definition pricestore_gcg.c:229
SCIP_RETCODE GCGpricestoreApplyCols(GCG_PRICESTORE *pricestore, GCG_COLPOOL *colpool, SCIP_Bool usecolpool, int *nfoundvars)
Definition pricestore_gcg.c:675
SCIP_RETCODE GCGpricestoreFree(GCG_PRICESTORE **pricestore)
Definition pricestore_gcg.c:184
int GCGpricestoreGetNColsTotal(GCG_PRICESTORE *pricestore)
Definition pricestore_gcg.c:888
int GCGpricestoreGetNCols(GCG_PRICESTORE *pricestore, int arrayindex)
Definition pricestore_gcg.c:877
void GCGpricestoreStartFarkas(GCG_PRICESTORE *pricestore)
Definition pricestore_gcg.c:218
SCIP_RETCODE GCGpricestoreAddCol(GCG_PRICESTORE *pricestore, GCG_COL *col, SCIP_Bool forcecol, SCIP_Bool fromcolpool, SCIP_Bool *added)
Definition pricestore_gcg.c:314
GCG_COL ** GCGpricestoreGetCols(GCG_PRICESTORE *pricestore, int arrayindex)
Definition pricestore_gcg.c:866
SCIP_RETCODE GCGpricestoreCreate(GCG *gcg, GCG_PRICESTORE **pricestore, SCIP_Real efficiacyfac, SCIP_Real objparalfac, SCIP_Real orthofac, SCIP_Real mincolorth, GCG_EFFICIACYCHOICE efficiacychoice, int hashtablesize)
Definition pricestore_gcg.c:117
SCIP_RETCODE GCGpricingcbExit(GCG *gcg, GCG_PRICINGCB *pricingcb)
Definition pricingcb.c:234
SCIP_RETCODE GCGpricingcbInit(GCG *gcg, GCG_PRICINGCB *pricingcb)
Definition pricingcb.c:196
SCIP_RETCODE GCGpricingcbFree(GCG *gcg, GCG_PRICINGCB **pricingcb)
Definition pricingcb.c:168
SCIP_RETCODE GCGpricingcbCreate(GCG *gcg, GCG_PRICINGCB **pricingcb, 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)
Definition pricingcb.c:137
SCIP_RETCODE GCGpricingcbInitsol(GCG *gcg, GCG_PRICINGCB *pricingcb)
Definition pricingcb.c:260
SCIP_RETCODE GCGpricingcbPrepricing(GCG *gcg, GCG_PRICINGCB *pricingcb, SCIP_PRICER *pricer, GCG_PRICETYPE type, SCIP_Bool *abort, SCIP_RESULT *result)
Definition pricingcb.c:314
SCIP_RETCODE GCGpricingcbPostpricing(GCG *gcg, GCG_PRICINGCB *pricingcb, SCIP_PRICER *pricer, GCG_PRICETYPE type, SCIP_RESULT *result)
Definition pricingcb.c:363
SCIP_RETCODE GCGpricingcbExitsol(GCG *gcg, GCG_PRICINGCB *pricingcb)
Definition pricingcb.c:287
internal methods for the pricing callback
SCIP_Bool GCGpricingjobSolverChanged(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:216
void GCGpricingjobSolverCalled(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:224
GCG_SOLVER * GCGpricingjobGetSolver(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:142
SCIP_Bool GCGpricingjobIsHeuristic(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:248
void GCGpricingprobMarkBranchconsAdded(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:256
int GCGpricingprobGetBranchconsIdx(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:240
void GCGpricingprobGetGenericBranchData(GCG_PRICINGPROB *pricingprob, SCIP_CONS ***branchconss, SCIP_Real **branchduals, int *nbranchconss)
Definition pricingprob.c:216
SCIP_Bool GCGpricingprobBranchconsIsAdded(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:248
int GCGpricingprobGetProbnr(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:208
int GCGpricingprobGetNGenericBranchconss(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:232
public methods for storing cols in a col pool
public methods for interacting with GCG_EXTENDEDMASTERCONSDATA
public C++ methods for working with gcg structure
public methods for working with gcg columns
public methods for GCG variables
#define SCIPstatisticMessage
public methods for working with pricing jobs
public methods for working with pricing problems
SCIP_RETCODE GCGrelaxBranchGetAllActiveExtendedMasterConss(GCG *gcg, GCG_BRANCHRULE ***branchrules, GCG_BRANCHDATA ***branchdata, GCG_EXTENDEDMASTERCONSDATA ***extendedmasterconsdata, int *nextendedmasterconss)
Definition relax_gcg.c:3931
SCIP_RETCODE GCGrelaxBranchNewCol(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA *branchdata, SCIP_VAR *mastervar)
Definition relax_gcg.c:3885
GCG relaxator.
various SCIP helper methods
SCIP_RETCODE GCGsepaBasisAddPricingCut(GCG *gcg, int ppnumber, SCIP_ROW *cut)
Definition sepa_basis.c:1778
SCIP_RETCODE SCIPsepaBasisAddPPObjConss(GCG *gcg, int ppnumber, SCIP_Real dualsolconv, SCIP_Bool newcuts)
Definition sepa_basis.c:1889
basis separator
SCIP_ROW ** GCGsepaGetOriginalSepaMastercuts(GCG *gcg)
Definition sepa_original.c:449
SCIP_ROW ** GCGsepaGetOriginalSepaOrigcuts(GCG *gcg)
Definition sepa_original.c:410
original separator
SCIP_RETCODE GCGsolverCreate(GCG *gcg, GCG_SOLVER **solver, 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((*solveheur)), GCG_DECL_SOLVERFREE((*solverfree)), GCG_DECL_SOLVERINIT((*solverinit)), GCG_DECL_SOLVEREXIT((*solverexit)), GCG_DECL_SOLVERINITSOL((*solverinitsol)), GCG_DECL_SOLVEREXITSOL((*solverexitsol)), GCG_SOLVERDATA *solverdata)
Definition solver.c:64
SCIP_RETCODE GCGsolverSolve(GCG *gcg, SCIP *pricingprob, GCG_SOLVER *solver, SCIP_Bool redcost, SCIP_Bool heuristic, int probnr, SCIP_Real dualsolconv, SCIP_Real *lowerbound, GCG_PRICINGSTATUS *status, SCIP_Bool *solved)
Definition solver.c:293
SCIP_RETCODE GCGsolverUpdate(GCG *gcg, SCIP *pricingprob, GCG_SOLVER *solver, int probnr, SCIP_Bool varobjschanged, SCIP_Bool varbndschanged, SCIP_Bool consschanged)
Definition solver.c:269
public methods for GCG pricing solvers
Definition struct_gcgcol.h:52
Definition pricer_gcg.cpp:298
Definition branch_generic.c:112
Definition pricer_gcg.cpp:164
SCIP_CLOCK * duallptime
SCIP_CLOCK * primallptime
SCIP_STAT * stat
gcg data structure
data structures for storing OpenMP locks
data structures for solvers
type definitions for branching rules in GCG projects
struct SCIP_Clock SCIP_CLOCK
struct SCIP_Cons SCIP_CONS
struct SCIP_Cut SCIP_CUT
struct SCIP_Eventhdlr SCIP_EVENTHDLR
#define SCIP_EVENTTYPE_VARDELETED
struct SCIP_EventhdlrData SCIP_EVENTHDLRDATA
type definitions for extended master conss in GCG projects
@ GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW
Definition type_extendedmasterconsdata.h:50
@ GCG_EXTENDEDMASTERCONSTYPE_BRANCH_CONS
Definition type_extendedmasterconsdata.h:49
struct GCG_ExtendedMasterConsData GCG_EXTENDEDMASTERCONSDATA
Definition type_extendedmasterconsdata.h:57
struct GCG_PricingModification GCG_PRICINGMODIFICATION
Definition type_extendedmasterconsdata.h:56
struct SCIP_Row SCIP_ROW
struct SCIP_Col SCIP_COL
SCIP_LPSOLSTAT_OPTIMAL
struct SCIP_LPi SCIP_LPI
SCIP_VERBLEVEL_NORMAL
struct SCIP_HashMap SCIP_HASHMAP
struct SCIP_HashTable SCIP_HASHTABLE
SCIP_PARAMSETTING_DEFAULT
struct SCIP_Pricer SCIP_PRICER
struct SCIP_PricerData SCIP_PRICERDATA
#define GCG_DECL_PRICINGCBPOSTPRICING(x)
Definition type_pricingcb.h:148
type definitions for pricing problem data structure
SCIP_DIDNOTRUN
SCIP_SUCCESS
enum SCIP_Result SCIP_RESULT
SCIP_ERROR
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP
SCIP_STAGE_INITPRESOLVE
SCIP_STAGE_SOLVING
struct SCIP_Sol SCIP_SOL
SCIP_STATUS_OPTIMAL
SCIP_NODETYPE_PROBINGNODE
struct SCIP_Var SCIP_VAR
SCIP_VARTYPE_INTEGER
SCIP_VARTYPE_CONTINUOUS
enum SCIP_Vartype SCIP_VARTYPE