Loading...
Searching...
No Matches
sepa_subsetrow.c
Go to the documentation of this file.
34/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
53#define SEPA_FREQ 1 /**< default frequency: 1 --> callback is executed for subproblems at every level*/
56#define SEPA_DELAY TRUE /**< should separation method be delayed, if other separators found cuts? */
58#define DEFAULT_RANDSEED 71 /**< initial seed for RandomNumber Generator which picks the constraint indices*/
59#define DEFAULT_MAXROUNDS 1 /**< maximal number of subset row separation rounds per non-root node */
60#define DEFAULT_MAXROUNDSROOT 1 /**< maximal number of subset row separation calls in the root node */
61#define DEFAULT_MAXCUTCANDS 1000 /**< maximal number of subset row cut candidates per call in non-root nodes */
62#define DEFAULT_MAXCUTCANDSROOT 2000 /**< maximal number of subset row cut candidates per call in root node */
66#define DEFAULT_STRATEGY 2 /**< strategy which is used to determine which rows to consider for cut computation */
98 SCIP_CONS** origmasterconss; /**< array of (filtered) orig master conss (is only allocated if not equal to data of relaxator) */
99 SCIP_CONS** masterconss; /**< array of (filtered) master conss (is only allocated if not equal to data of relaxator) */
100 int* conssfullindices; /**< for each (filtered) master cons its index in the relaxator's master conss array (only allocated if filtered) */
102 SCIP_Bool filteredmasterconss; /**< do origmasterconss and masterconss point to allocated arrays? */
149/** create a new row for master problem and fill it with the variables (+ their coefficients) and right-hand side*/
154 SCIP_HASHMAP* mapmastervarxcoeffs, /**< maps master variables to their coefficient in subset-row cut */
174 SCIP_CALL( SCIPcreateEmptyRowSepa(masterscip, &(*ssrc), sepa, name, -SCIPinfinity(masterscip), rhs_ssrc, local, TRUE, TRUE) );
202/** computes the rhs (w^Tb) and the coefficient for each variable (w^Ta_p) in the cut (still non-rounded) */
212 SCIP_HASHMAP* mapmastervarxcoeff, /**< maps master variable to its coefficient in subset-row cut */
260 if( SCIPisInfinity(masterscip, -lhs_mastercons ) ) // lhs = -inf --> constraint has form: ax <= b
264 SCIPdebugMessage("master constraint %s (ax <= %f) with weight %f\n", SCIPconsGetName(mastercons), rhs_mastercons, (*weights)[i]);
266 else if( SCIPisInfinity(masterscip, rhs_mastercons ) ) // lhs != -inf & rhs = inf --> constraint has form: b <= ax
270 SCIPdebugMessage("master constraint %s (%f <= ax) with weight %f\n", SCIPconsGetName(mastercons), lhs_mastercons, (*weights)[i]);
277 SCIPdebugMessage("master constraint %s (%f <= ax <= %f) with weight %f\n", SCIPconsGetName(mastercons), lhs_mastercons, rhs_mastercons, (*weights)[i]);
290 SCIP_CALL( SCIPgetConsVars(masterscip, mastercons, masterconsvars, nmasterconsvars, &success) );
292 SCIP_CALL( SCIPgetConsVals(masterscip, mastercons, masterconscoeffs, nmasterconsvars, &success) );
316/** computes the (non-rounded) coefficients for the pricing variables used in the pricing constraints */
324 SCIP_HASHMAP* mappricingvarxcoeff /**< map to store the coefficient for each pricing variable */
371 SCIPdebugMessage("original variable %s does not have a corresponding pricing var!\n", SCIPvarGetName(origconsvars[j]));
380 * --> only consider the original variables associated with the relevant pricing problem block */
390 SCIP_CALL( SCIPhashmapSetImageReal(mappricingvarxcoeff, pricingvar, weights[i] * origconscoeffs[j]) );
392 SCIP_CALL( SCIPhashmapSetImageReal(mappricingvarxcoeff, pricingvar, coeff_pricing + weights[i] * origconscoeffs[j]) );
454/** select the indices of constraints to use for construction of cuts using strategy devised for zero-half-cuts
460 int* ncutindices, /**< pointer to store the number of cuts for which constraint indices were found */
604 GCG_CUTINDICES* cutindex, /**< indices of the master constraints to use for the construction of subset row cut */
608 SCIP_Real** weights, /**< sign (1, -1) with which to multiply each selected constraint before adding to cut*/
624 SCIP_CALL( computeSubsetRowCoefficientsAndRHS(masterscip, sepa, masterconss, cutindex->indices, cutindex->nindices,
669 SCIP_HASHMAP* mappricingvarxcoeff /**< map storing the coefficients for the pricing constraints for subset row cut */
674 GCG_PRICINGMODIFICATION** pricingmodifications = NULL; // pricing modifications associated with cut
713 SCIPcreateConsBasicLinear(pricingproblem, &pricingconslb, name, 0, NULL, NULL, -SCIPinfinity(pricingproblem),
750 SCIPinfinity(pricingproblem), TRUE, -1.0, SCIP_VARTYPE_INTEGER, j) ; // released in GCGpricingmodificationFree
761 /* create pricing modifications containing y as the coeffvar and the single constraint we created */
762 SCIPallocBlockMemoryArray(masterscip, &pricingconss, 1); // freed via GCGpricingmodificationFree
765 GCGpricingmodificationCreate(gcg, &pricingmodificationsbuffer[npricingmodifications], j, coeffvar, NULL, 0, pricingconss, 1); // released in GCGpricingmodificationFree
773 SCIPduplicateBlockMemoryArray(masterscip, &pricingmodifications, pricingmodificationsbuffer, npricingmodifications);
778 GCGextendedmasterconsCreateForSepamastercut(gcg, &mastercutdata, mastercut, ssrc, pricingmodifications, npricingmodifications); // freed in GCGextendedmasterconsFree
836 SCIP_HASHMAP* mappricingvarxcoeff = NULL; // maps pricing variable to its coefficient in its pricing constraint
880 if( (isroot && ncalls >= sepadata->maxroundsroot) || (!isroot && ncalls >= sepadata->maxrounds) )
965 /* shrink the arrays to the filtered size, so that they are freed with the correct size in sepaExitSubsetrow */
970 SCIP_CALL( SCIPreallocBlockMemoryArray(scip, &sepadata->origmasterconss, nmasterconss, sepadata->nmasterconss) );
971 SCIP_CALL( SCIPreallocBlockMemoryArray(scip, &sepadata->masterconss, nmasterconss, sepadata->nmasterconss) );
972 SCIP_CALL( SCIPreallocBlockMemoryArray(scip, &sepadata->conssfullindices, nmasterconss, sepadata->nmasterconss) );
1003 SCIP_CALL( selectConstraintsZerohalf(gcg, &cutindices, &ncutindices, ncalls, allowlocal, depth, NULL, sepadata) );
1023 SCIP_CALL( createCut(scip, sepadata, cutindices[i], sepa, nmastervars, sepadata->masterconss, &weights, &ssrc, mapmastervarxcoeff) );
1041 SCIP_CALL( computePricingConssCoefficients(gcg, sepadata->origmasterconss, cutindices[i]->indices, cutindices[i]->nindices,
1053 SCIP_CALL( GCGcreateChvatalGomoryCut(gcg, &mastercut, sepadata->sepa, NULL, weights, cutindices[i]->indices, cutindices[i]->nindices) );
1055 mastercutdata = createMastercutData(gcg, ssrc, mastercut, npricingproblems, sepadata, mappricingvarxcoeff);
1163 SCIP_CALL( GCGrelaxIncludeSepa(gcg, &sepa, &gcgsepa, SEPA_NAME, SEPA_DESC, SEPA_PRIORITY, SEPA_FREQ, SEPA_MAXBOUNDDIST,
1164 SEPA_USESSUBSCIP, SEPA_DELAY, sepaExeclpSubsetrow, NULL, sepadata, sepaGetColCoefficientSubsetrow,
1180 SCIP_CALL( SCIPaddBoolParam(origscip, "sepa/" SEPA_NAME "/enable", "enable subsetrow separator",
1183 SCIP_CALL( SCIPaddIntParam(origscip, "sepa/" SEPA_NAME "/maxrounds", "maximal number of subsetrow separation rounds per node (-1: unlimited)",
1186 SCIP_CALL( SCIPaddIntParam(origscip, "sepa/" SEPA_NAME "/maxroundsroot", "maximal number of subsetrow separation rounds in the root node (-1: unlimited)",
1189 SCIP_CALL( SCIPaddIntParam(origscip, "sepa/" SEPA_NAME "/maxcutcands", "maximal number of subsetrow cut candidates per separation round",
1192 SCIP_CALL( SCIPaddIntParam(origscip, "sepa/" SEPA_NAME "/maxcutcandsroot", "maximal number of subsetrow cut candidates per separation round in the root node",
1195 SCIP_CALL( SCIPaddIntParam(origscip, "sepa/" SEPA_NAME "/maxcuts", "maximal number of subsetrow cuts that will be added over the whole solving process",
1198 SCIP_CALL( SCIPaddRealParam(origscip, "sepa/" SEPA_NAME "/minefficacy", "required minimum cut efficacy",
1201 SCIP_CALL( SCIPaddIntParam(origscip, "sepa/" SEPA_NAME "/strategy", "0: random SR cuts, 1: zerohalf cuts (ignores l and n parameters), 2: full enumeration of SR cuts (updates maxcutcands parameters)",
1204 SCIP_CALL( SCIPaddIntParam(origscip,"sepa/" SEPA_NAME "/n", "number of rows used to create a new subset row cut ",
1205 &(sepadata->n), FALSE, DEFAULT_N, 0, INT_MAX, sepaParamChgdSubsetrow, (SCIP_PARAMDATA*) sepadata) );
1207 SCIP_CALL( SCIPaddIntParam(origscip, "sepa/" SEPA_NAME "/l", "inverse weight used to create new subset row cut",
1210 SCIP_CALL( SCIPaddBoolParam(origscip, "sepa/" SEPA_NAME "/onlyaggregated", "apply subsetrow separator only on aggregated problems",
#define SCIP_MAXSTRLEN
#define SCIP_REAL_MAX
#define SCIP_INVALID
#define SCIP_Bool
#define SCIP_Real
#define SQR(x)
#define MAX(x, y)
#define TRUE
#define FALSE
SCIP_DECL_PARAMCHGD(SCIPparamChgdDispActive)
SCIP_RETCODE GCGaddGeneratedMastersepacut(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *mastersepacut)
Definition event_mastersepacut.c:498
event handler which manages the active master separator cuts
SCIP_RETCODE GCGchvatalGomoryCutGetColumnCoefficient(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *mastercutdata, GCG_COL *gcgcol, SCIP_Real *coeff)
Definition gcgcgcut.c:161
SCIP_RETCODE GCGcreateChvatalGomoryCut(GCG *gcg, GCG_MASTERSEPACUT **mastersepacut, GCG_SEPA *sepa, GCG_VARHISTORY *varhistory, SCIP_Real *weights, int *indices, int n)
Definition gcgcgcut.c:53
SCIP_RETCODE GCGfreeChvatalGomoryCutData(GCG *gcg, GCG_MASTERSEPACUTDATA **data)
Definition gcgcgcut.c:88
SCIP_RETCODE GCGchvatalGomoryCutGetVariableCoefficient(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *mastercutdata, SCIP_VAR **vars, SCIP_Real *vals, int nvars, int probnr, SCIP_Real *coef)
Definition gcgcgcut.c:204
SCIP_SEPA * GCGsepaGetScipSeparator(GCG_SEPA *gcgsepa)
Definition gcgsepa.c:219
SCIP_RETCODE GCGcreateInferredPricingVar(SCIP *pricingscip, SCIP_VAR **newvar, const char *varname, SCIP_Real lb, SCIP_Real ub, SCIP_Bool iscoefvar, SCIP_Real objcoeff, SCIP_VARTYPE vartype, int prob)
Definition gcgvar.c:1674
SCIP_VAR * GCGoriginalVarGetPricingVar(SCIP_VAR *var)
Definition gcgvar.c:281
SCIP_RETCODE SCIPaddCoefLinear(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var, SCIP_Real val)
SCIP_RETCODE SCIPcreateConsBasicLinear(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars, SCIP_Real *vals, SCIP_Real lhs, SCIP_Real rhs)
SCIP_RETCODE GCGpricingmodificationCreate(GCG *gcg, GCG_PRICINGMODIFICATION **pricingmodification, int blocknr, SCIP_VAR *coefvar, SCIP_VAR **additionalvars, int nadditionalvars, SCIP_CONS **additionalconss, int nadditionalconss)
Definition extendedmasterconsdata.c:90
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_Bool GCGisPricingprobRelevant(GCG *gcg, int pricingprobnr)
Definition relax_gcg.c:4132
int SCIPgetNContVars(SCIP *scip)
int SCIPgetNVars(SCIP *scip)
SCIP_VAR ** SCIPgetVars(SCIP *scip)
SCIP_OBJSENSE SCIPgetObjsense(SCIP *scip)
void SCIPhashmapFree(SCIP_HASHMAP **hashmap)
SCIP_Real SCIPhashmapGetImageReal(SCIP_HASHMAP *hashmap, void *origin)
SCIP_RETCODE SCIPhashmapSetImageReal(SCIP_HASHMAP *hashmap, void *origin, SCIP_Real image)
int SCIPhashmapGetNEntries(SCIP_HASHMAP *hashmap)
SCIP_HASHMAPENTRY * SCIPhashmapGetEntry(SCIP_HASHMAP *hashmap, int entryidx)
SCIP_RETCODE SCIPhashmapCreate(SCIP_HASHMAP **hashmap, BMS_BLKMEM *blkmem, int mapsize)
void * SCIPhashmapEntryGetOrigin(SCIP_HASHMAPENTRY *entry)
SCIP_RETCODE SCIPhashmapRemoveAll(SCIP_HASHMAP *hashmap)
SCIP_Real SCIPhashmapEntryGetImageReal(SCIP_HASHMAPENTRY *entry)
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 SCIPwarningMessage(SCIP *scip, const char *formatstr,...)
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 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 SCIPgetConsNVars(SCIP *scip, SCIP_CONS *cons, int *nvars, SCIP_Bool *success)
SCIP_RETCODE SCIPgetConsVars(SCIP *scip, SCIP_CONS *cons, SCIP_VAR **vars, int varssize, SCIP_Bool *success)
SCIP_Bool SCIPconsIsLocal(SCIP_CONS *cons)
const char * SCIPconsGetName(SCIP_CONS *cons)
SCIP_RETCODE SCIPreleaseCons(SCIP *scip, SCIP_CONS **cons)
SCIP_RETCODE SCIPaddRow(SCIP *scip, SCIP_ROW *row, SCIP_Bool forcecut, SCIP_Bool *infeasible)
SCIP_LPSOLSTAT SCIPgetLPSolstat(SCIP *scip)
#define SCIPfreeBlockMemoryArray(scip, ptr, num)
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
#define SCIPallocBufferArray(scip, ptr, num)
#define SCIPduplicateBufferArray(scip, ptr, source, num)
#define SCIPallocBlockMemoryArray(scip, ptr, num)
#define SCIPreallocBlockMemoryArray(scip, ptr, oldnum, newnum)
#define SCIPfreeBlockMemory(scip, ptr)
#define SCIPfreeBufferArrayNull(scip, ptr)
#define SCIPallocBlockMemory(scip, ptr)
#define SCIPduplicateBlockMemoryArray(scip, ptr, source, num)
SCIP_NODETYPE SCIPnodeGetType(SCIP_NODE *node)
SCIP_RETCODE SCIPcacheRowExtensions(SCIP *scip, SCIP_ROW *row)
int SCIProwGetNNonz(SCIP_ROW *row)
SCIP_RETCODE SCIPflushRowExtensions(SCIP *scip, SCIP_ROW *row)
SCIP_RETCODE SCIPaddVarToRow(SCIP *scip, SCIP_ROW *row, SCIP_VAR *var, SCIP_Real val)
SCIP_RETCODE SCIPprintRow(SCIP *scip, SCIP_ROW *row, FILE *file)
SCIP_RETCODE SCIPreleaseRow(SCIP *scip, SCIP_ROW **row)
SCIP_RETCODE SCIPcreateEmptyRowSepa(SCIP *scip, SCIP_ROW **row, SCIP_SEPA *sepa, const char *name, SCIP_Real lhs, SCIP_Real rhs, SCIP_Bool local, SCIP_Bool modifiable, SCIP_Bool removable)
const char * SCIPsepaGetName(SCIP_SEPA *sepa)
int SCIPsepaGetNCallsAtNode(SCIP_SEPA *sepa)
SCIP_RETCODE SCIPsetSepaFree(SCIP *scip, SCIP_SEPA *sepa, SCIP_DECL_SEPAFREE((*sepafree)))
SCIP_RETCODE SCIPsetSepaExitsol(SCIP *scip, SCIP_SEPA *sepa, SCIP_DECL_SEPAEXITSOL((*sepaexitsol)))
SCIP_SEPADATA * SCIPsepaGetData(SCIP_SEPA *sepa)
SCIP_RETCODE SCIPsetSepaInit(SCIP *scip, SCIP_SEPA *sepa, SCIP_DECL_SEPAINIT((*sepainit)))
SCIP_Real SCIPgetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var)
SCIP_Real SCIPinfinity(SCIP *scip)
SCIP_Real SCIPfeasFloor(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisInfinity(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisZero(SCIP *scip, SCIP_Real val)
SCIP_NODE * SCIPgetCurrentNode(SCIP *scip)
const char * SCIPvarGetName(SCIP_VAR *var)
void SCIPfreeRandom(SCIP *scip, SCIP_RANDNUMGEN **randnumgen)
unsigned int SCIPinitializeRandomSeed(SCIP *scip, unsigned int initialseedvalue)
SCIP_RETCODE SCIPcreateRandom(SCIP *scip, SCIP_RANDNUMGEN **randnumgen, unsigned int initialseed, SCIP_Bool useglobalseed)
int SCIPrandomGetInt(SCIP_RANDNUMGEN *randnumgen, int minrandval, int maxrandval)
int SCIPsnprintf(char *t, int len, const char *s,...)
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 GCGextendedmasterconsCreateForSepamastercut(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA **extendedmastercons, GCG_MASTERSEPACUT *cut, SCIP_ROW *row, GCG_PRICINGMODIFICATION **pricingmodifications, int npricingmodifications)
Definition mastersepacut.c:209
SCIP_Real SCIPconsGetLhs(SCIP *scip, SCIP_CONS *cons, SCIP_Bool *success)
SCIP_RETCODE SCIPgetConsVals(SCIP *scip, SCIP_CONS *cons, SCIP_Real *vals, int varssize, SCIP_Bool *success)
SCIP_Real SCIPconsGetRhs(SCIP *scip, SCIP_CONS *cons, SCIP_Bool *success)
Definition class_conspartition.cpp:44
SCIP_PARAMDATA * SCIPparamGetData(SCIP_PARAM *param)
GCG variable pricer.
#define SCIPdebugPrintCons(x, y, z)
SCIP_RETCODE GCGrelaxIncludeSepa(GCG *gcg, SCIP_SEPA **sepa, GCG_SEPA **gcgsepa, const char *name, const char *desc, int priority, int freq, SCIP_Real maxbounddist, SCIP_Bool usessubscip, SCIP_Bool delay, SCIP_DECL_SEPAEXECLP((*sepaexeclp)), SCIP_DECL_SEPAEXECSOL((*sepaexecsol)), SCIP_SEPADATA *sepadata, GCG_DECL_SEPAGETCOLCOEFFICIENT((*sepagetcolcoef)),)
Definition relax_gcg.c:5807
GCG relaxator.
various SCIP helper methods
static SCIP_RETCODE computeSubsetRowCoefficientsAndRHS(SCIP *masterscip, SCIP_SEPA *sepa, SCIP_CONS **masterconss, int *selectedconssidx, int nselectedconss, SCIP_Real **weights, SCIP_Real *rhs_ssrc, SCIP_HASHMAP *mapmastervarxcoeff, SCIP_Bool *local)
Definition sepa_subsetrow.c:204
static SCIP_RETCODE computePricingConssCoefficients(GCG *gcg, SCIP_CONS **originalconss, int *selectedconssidx, int nselectedconss, SCIP_Real *weights, SCIP_HASHMAP *mappricingvarxcoeff)
Definition sepa_subsetrow.c:318
static SCIP_RETCODE selectConstraintsZerohalf(GCG *gcg, GCG_CUTINDICES ***cutindices, int *ncutindices, int ncalls, SCIP_Bool allowlocal, int depth, SCIP_SOL *sol, SCIP_SEPADATA *sepadata)
Definition sepa_subsetrow.c:457
static SCIP_RETCODE selectRandomRows(SCIP_RANDNUMGEN *randnumgen, int nmasterconss, int *selectedmasterconssidx, int n)
Definition sepa_subsetrow.c:109
static SCIP_RETCODE createSubsetRowCut(SCIP *masterscip, SCIP_ROW **ssrc, SCIP_HASHMAP *mapmastervarxcoeffs, SCIP_Real rhs_ssrc, SCIP_SEPA *sepa, SCIP_Bool local)
Definition sepa_subsetrow.c:151
static SCIP_RETCODE createCut(SCIP *masterscip, SCIP_SEPADATA *sepadata, GCG_CUTINDICES *cutindex, SCIP_SEPA *sepa, int nmastervars, SCIP_CONS **masterconss, SCIP_Real **weights, SCIP_ROW **ssrc, SCIP_HASHMAP *mapmastervarxcoeff)
Definition sepa_subsetrow.c:601
static SCIP_RETCODE selectConstraintsEnumerate(GCG *gcg, GCG_CUTINDICES ***cutindices, int *ncutindices, int depth, SCIP_SEPADATA *sepadata)
Definition sepa_subsetrow.c:499
SCIP_RETCODE SCIPincludeSepaSubsetrow(GCG *gcg)
Definition sepa_subsetrow.c:1134
static SCIP_RETCODE selectConstraintsRandom(GCG *gcg, GCG_CUTINDICES ***cutindices, int *ncutindices, int depth, SCIP_SEPADATA *sepadata)
Definition sepa_subsetrow.c:403
static GCG_EXTENDEDMASTERCONSDATA * createMastercutData(GCG *gcg, SCIP_ROW *ssrc, GCG_MASTERSEPACUT *mastercut, int npricingproblems, SCIP_SEPADATA *sepadata, SCIP_HASHMAP *mappricingvarxcoeff)
Definition sepa_subsetrow.c:663
subset row separator for master problem
Definition sepa_basis.c:75
data structures for separators for master
struct SCIP_Cons SCIP_CONS
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
SCIP_LPSOLSTAT_OPTIMAL
struct SCIP_HashMap SCIP_HASHMAP
struct SCIP_HashMapEntry SCIP_HASHMAPENTRY
struct SCIP_RandNumGen SCIP_RANDNUMGEN
struct SCIP_ParamData SCIP_PARAMDATA
SCIP_OBJSENSE_MINIMIZE
SCIP_DIDNOTRUN
SCIP_DIDNOTFIND
SCIP_SEPARATED
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP
struct SCIP_SepaData SCIP_SEPADATA
#define SCIP_DECL_SEPAEXECLP(x)
struct SCIP_Sepa SCIP_SEPA
struct SCIP_Sol SCIP_SOL
SCIP_NODETYPE_REFOCUSNODE
SCIP_NODETYPE_PROBINGNODE
struct SCIP_Var SCIP_VAR
SCIP_VARTYPE_INTEGER
SCIP_RETCODE GCGcreateCutIndicesFromArray(SCIP *scip, GCG_CUTINDICES **cutindices, int nindices, int *indices)
Definition zerohalf_selector.c:181
SCIP_RETCODE GCGselectConstraintsZeroHalf(GCG *gcg, SCIP_SOL *sol, SCIP_Bool allowlocal, int depth, GCG_ZEROHALFDATA *zhdata, int ncalls, int maxcuts, GCG_CUTINDICES ***cutindices, int *ncutindices)
Definition zerohalf_selector.c:1788
SCIP_RETCODE GCGfreeCutIndices(SCIP *scip, GCG_CUTINDICES **cutindices)
Definition zerohalf_selector.c:200