75#define SEPA_NAME "aggregation"
76#define SEPA_DESC "aggregation heuristic for complemented mixed integer rounding cuts and flowcover cuts"
77#define SEPA_PRIORITY -3000
79#define SEPA_MAXBOUNDDIST 1.0
80#define SEPA_USESSUBSCIP FALSE
81#define SEPA_DELAY FALSE
83#define DEFAULT_MAXROUNDS -1
84#define DEFAULT_MAXROUNDSROOT -1
85#define DEFAULT_MAXTRIES 200
87#define DEFAULT_MAXTRIESROOT -1
89#define DEFAULT_MAXFAILS 20
90#define DEFAULT_MAXFAILSROOT 100
92#define DEFAULT_MAXAGGRS 3
93#define DEFAULT_MAXAGGRSROOT 6
94#define DEFAULT_MAXSEPACUTS 100
95#define DEFAULT_MAXSEPACUTSROOT 500
96#define DEFAULT_MAXSLACK 0.0
97#define DEFAULT_MAXSLACKROOT 0.1
98#define DEFAULT_DENSITYSCORE 1e-4
99#define DEFAULT_SLACKSCORE 1e-3
100#define DEFAULT_MAXAGGDENSITY 0.20
101#define DEFAULT_MAXROWDENSITY 0.05
102#define DEFAULT_DENSITYOFFSET 100
103#define DEFAULT_MAXROWFAC 1e+4
104#define DEFAULT_MAXTESTDELTA (-1)
105#define DEFAULT_AGGRTOL 1e-2
109#define DEFAULT_TRYNEGSCALING TRUE
110#define DEFAULT_FIXINTEGRALRHS TRUE
111#define DEFAULT_DYNAMICCUTS TRUE
113#define MAKECONTINTEGRAL FALSE
114#define IMPLINTSARECONT
196 const char* cutclassname,
228 for(
i = 0;
i < cutnnz; ++
i )
236 SCIPdebugMsg(
scip,
" -> found potential %s cut <%s>: rhs=%f, eff=%f\n", cutclassname, cutname, cutrhs, cutefficacy);
251 makeintegral =
FALSE;
262 SCIPdebugMsg(
scip,
" -> %s cut <%s> no longer efficacious: rhs=%f, eff=%f\n", cutclassname, cutname, cutrhs, cutefficacy);
271 SCIPdebugMsg(
scip,
" -> found %s cut <%s>: rhs=%f, eff=%f, rank=%d, min=%f, max=%f (range=%g)\n",
342 firstcontvar =
nvars - ncontvars;
344 for(
i = nbinvars + nintvars;
i <
nvars; ++
i )
371 if( bestvlbidx >= 0 )
372 bestlb =
MAX(bestlb, bestvlb);
373 if( bestvubidx >= 0 )
374 bestub =
MIN(bestub, bestvub);
380 bounddist =
MIN(distlb, distub);
381 bounddist =
MAX(bounddist, 0.0);
384 if(
i < firstcontvar )
406 int aggrrowsminsize = aggrdata->
naggrrows + ncolnonzeros;
418 for( k = 0; k < ncolnonzeros; ++k )
460 for( k = beg; k < end; ++k )
468 int nextgoodrowpos = beg + ngoodrows;
469 if( k > nextgoodrowpos )
591 for(
i = 0;
i < nnz; ++
i )
596 if( inds[
i] < firstcontvar )
601 if( bounddist == 0.0 )
604 badvarinds[nbadvars] = inds[
i];
605 badvarbddist[nbadvars] = bounddist;
621 for(
i = nbadvars - 1;
i >= 0; --
i )
631 if( badvarbddist[
i] > 0.0 )
636 minbddist = -badvarbddist[
i] * (1.0 -
sepadata->aggrtol);
639 if( -badvarbddist[
i] < minbddist )
642 probvaridx = badvarinds[
i];
648 assert(ngoodrows <= nrows);
650 for( k = 0; k < ngoodrows; ++k )
669 rowscore =
MAX(rowlhsscores[lppos], rowrhsscores[lppos]);
672 if( aggrfac == 0.0 || rowscore > bestrowscore )
674 bestrow = candrows[k];
675 aggrfac = rowaggrfac;
676 bestrowscore = rowscore;
691 for(
i = 0;
i < nbadvars; ++
i )
701 if( badvarbddist[
i] < 0.0 )
706 minbddist = badvarbddist[
i] * (1.0 -
sepadata->aggrtol);
709 if( badvarbddist[
i] < minbddist )
712 probvaridx = badvarinds[
i];
720 for( k = 0; k < nrows; ++k )
743 rowscore = rowlhsscores[lppos];
748 rowscore = rowrhsscores[lppos];
753 if( aggrfac == 0.0 ||
SCIPisGT(
scip, rowscore, bestrowscore) ||
756 bestrow = candrows[k];
757 aggrfac = rowaggrfac;
758 bestrowscore = rowscore;
759 bestrowside = rowside;
827 maxtestdelta =
sepadata->maxtestdelta == -1 ? INT_MAX :
sepadata->maxtestdelta;
856 assert(0 <= startrow && startrow < nrows);
874 while( naggrs <= maxaggrs )
909 cutname = startrow < 0 ?
"objflowcover" :
"flowcover";
913 cutname = startrow < 0 ?
"objlci" :
"lci";
917 cutname = startrow < 0 ?
"objcmir" :
"cmir";
951 for(
i = 0;
i < nrows; ++
i )
955 rowlhsscores[rowinds[
i]] *= fac;
956 rowrhsscores[rowinds[
i]] *= fac;
970 if( naggrs == maxaggrs )
972 SCIPdebugMsg(
scip,
" -> abort aggregation: maximal number of aggregations reached\n");
977 &naggrs, &aggrsuccess) );
985 SCIPdebugMsg(
scip,
" -> current aggregation has %d/%d nonzeros and consists of %d/%d rows\n",
1011 for(
i = 0;
i < nlpnonz; ++
i )
1082 int knapsackcoverfreq;
1089 sepadata->sepflowcover = flowcoverfreq > 0 ? (
depth % flowcoverfreq) == 0 : flowcoverfreq ==
depth;
1090 sepadata->sepknapsackcover = knapsackcoverfreq > 0 ? (
depth % knapsackcoverfreq) == 0 : knapsackcoverfreq ==
depth;
1112#ifdef IMPLINTSARECONT
1115 nintvars =
nvars - ncontvars;
1141 for( v = 0; v < nintvars; ++v )
1144 fractionalities[v] =
MIN(fractionalities[v], 1.0 - fractionalities[v]);
1152 for( ; v <
nvars; ++v )
1171 fractionalities[v] = 0.0;
1172 if( closestvlbidx != -1 &&
SCIPisEQ(
scip, varsolvals[v], closestvlb) )
1181 fractionalities[v] +=
frac;
1184 if( closestvubidx != -1 &&
SCIPisEQ(
scip, varsolvals[v], closestvub) )
1193 fractionalities[v] +=
frac;
1203 maxsepacuts =
sepadata->maxsepacutsroot;
1211 maxsepacuts =
sepadata->maxsepacuts;
1221 for(
r = 0;
r < nrows;
r++ )
1231 rowlhsscores[
r] = 0.0;
1232 rowrhsscores[
r] = 0.0;
1249 objnorm =
MAX(objnorm, 1.0);
1257 rownorm =
MAX(rownorm, 0.1);
1260 fracscore = fracact / rownorm;
1262 slack = (activity - lhs)/rownorm;
1263 dualscore =
MAX(fracscore * dualsol/objnorm, 0.0001);
1265 && rowdensity <= sepadata->maxrowdensity
1266 && rowdensity <= sepadata->maxaggdensity )
1268 rowlhsscores[
r] = dualscore +
sepadata->densityscore * (1.0-rowdensity) +
sepadata->slackscore *
MAX(1.0 - slack, 0.0);
1269 assert(rowlhsscores[
r] > 0.0);
1272 rowlhsscores[
r] = 0.0;
1274 slack = (rhs - activity)/rownorm;
1275 dualscore =
MAX(-fracscore * dualsol/objnorm, 0.0001);
1277 && rowdensity <= sepadata->maxrowdensity
1278 && rowdensity <= sepadata->maxaggdensity )
1280 rowrhsscores[
r] = dualscore +
sepadata->densityscore * (1.0-rowdensity) +
sepadata->slackscore *
MAX(1.0 - slack, 0.0);
1281 assert(rowrhsscores[
r] > 0.0);
1284 rowrhsscores[
r] = 0.0;
1287 if( fracscore != 0.0 )
1289 roworder[nnonzrows] =
r;
1290 rowscores[nnonzrows] = fracscore;
1296 rowlhsscores[
r], rowrhsscores[
r]);
1298 assert(nnonzrows <= nrows);
1322 -1, 2 * maxaggrs, &wastried, &
cutoff, cutresult,
FALSE, &ncuts) );
1328 for(
r = 0;
r < nnonzrows && ntries < maxtries && ncuts < maxsepacuts && !
SCIPisStopped(
scip);
r++ )
1332 roworder[
r], maxaggrs, &wastried, &
cutoff, cutresult,
FALSE, &ncuts) );
1340 roworder[
r], maxaggrs, &wastried, &
cutoff, cutresult,
TRUE, &ncuts) );
1352 if( ncuts == oldncuts )
1355 if( nfails >= maxfails )
1379 else if ( ncuts > 0 )
1515 sepaExeclpAggregation, sepaExecsolAggregation,
1535 "maximal number of cmir separation rounds per node (-1: unlimited)",
1538 "separating/" SEPA_NAME "/maxroundsroot",
1539 "maximal number of cmir separation rounds in the root node (-1: unlimited)",
1543 "maximal number of rows to start aggregation with per separation round (-1: unlimited)",
1546 "separating/" SEPA_NAME "/maxtriesroot",
1547 "maximal number of rows to start aggregation with per separation round in the root node (-1: unlimited)",
1551 "maximal number of consecutive unsuccessful aggregation tries (-1: unlimited)",
1554 "separating/" SEPA_NAME "/maxfailsroot",
1555 "maximal number of consecutive unsuccessful aggregation tries in the root node (-1: unlimited)",
1559 "maximal number of aggregations for each row per separation round",
1562 "separating/" SEPA_NAME "/maxaggrsroot",
1563 "maximal number of aggregations for each row per separation round in the root node",
1567 "maximal number of cmir cuts separated per separation round",
1570 "separating/" SEPA_NAME "/maxsepacutsroot",
1571 "maximal number of cmir cuts separated per separation round in the root node",
1575 "maximal slack of rows to be used in aggregation",
1578 "separating/" SEPA_NAME "/maxslackroot",
1579 "maximal slack of rows to be used in aggregation in the root node",
1582 "separating/" SEPA_NAME "/densityscore",
1583 "weight of row density in the aggregation scoring of the rows",
1587 "weight of slack in the aggregation scoring of the rows",
1590 "separating/" SEPA_NAME "/maxaggdensity",
1591 "maximal density of aggregated row",
1594 "separating/" SEPA_NAME "/maxrowdensity",
1595 "maximal density of row to be used in aggregation",
1598 "separating/" SEPA_NAME "/densityoffset",
1599 "additional number of variables allowed in row on top of density",
1603 "maximal row aggregation factor",
1606 "separating/" SEPA_NAME "/maxtestdelta",
1607 "maximal number of different deltas to try (-1: unlimited)",
1611 "tolerance for bound distances used to select continuous variable in current aggregated constraint to be eliminated",
1614 "separating/" SEPA_NAME "/trynegscaling",
1615 "should negative values also be tested in scaling?",
1618 "separating/" SEPA_NAME "/fixintegralrhs",
1619 "should an additional variable be complemented if f0 = 0?",
1623 "should generated cuts be removed from the LP if they are no longer tight?",
#define DEFAULT_MAXROUNDSROOT
#define DEFAULT_MAXSEPACUTSROOT
#define DEFAULT_MAXSEPACUTS
#define DEFAULT_MAXROUNDS
methods for the aggregation rows
#define SCIP_STRINGEQ(name, reference, retcode)
#define SCIP_LONGINT_FORMAT
SCIP_Bool SCIPisStopped(SCIP *scip)
int SCIPgetNIntVars(SCIP *scip)
int SCIPgetNImplVars(SCIP *scip)
int SCIPgetNContVars(SCIP *scip)
SCIP_RETCODE SCIPgetVarsData(SCIP *scip, SCIP_VAR ***vars, int *nvars, int *nbinvars, int *nintvars, int *nimplvars, int *ncontvars)
int SCIPgetNVars(SCIP *scip)
SCIP_VAR ** SCIPgetVars(SCIP *scip)
SCIP_Real SCIPgetObjNorm(SCIP *scip)
int SCIPgetNContImplVars(SCIP *scip)
int SCIPgetNBinVars(SCIP *scip)
SCIP_Bool SCIPisObjIntegral(SCIP *scip)
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)
void SCIPswapPointers(void **pointer1, void **pointer2)
void SCIPswapReals(SCIP_Real *value1, SCIP_Real *value2)
int SCIPgetNLPBranchCands(SCIP *scip)
SCIP_VAR * SCIPcolGetVar(SCIP_COL *col)
SCIP_Real * SCIPcolGetVals(SCIP_COL *col)
SCIP_ROW ** SCIPcolGetRows(SCIP_COL *col)
int SCIPcolGetNLPNonz(SCIP_COL *col)
SCIP_RETCODE SCIPaddPoolCut(SCIP *scip, SCIP_ROW *row)
SCIP_Bool SCIPaggrRowHasRowBeenAdded(SCIP_AGGRROW *aggrrow, SCIP_ROW *row)
SCIP_RETCODE SCIPaggrRowCreate(SCIP *scip, SCIP_AGGRROW **aggrrow)
SCIP_RETCODE SCIPcreateCutGenResult(SCIP *scip, SCIP_CUTGENRESULT **result)
void SCIPaggrRowClear(SCIP_AGGRROW *aggrrow)
SCIP_Bool SCIPisCutNew(SCIP *scip, SCIP_ROW *row)
SCIP_Bool SCIPisCutEfficacious(SCIP *scip, SCIP_SOL *sol, SCIP_ROW *cut)
SCIP_Bool SCIPisEfficacious(SCIP *scip, SCIP_Real efficacy)
int SCIPaggrRowGetNRows(SCIP_AGGRROW *aggrrow)
void SCIPfreeCutGenResult(SCIP *scip, SCIP_CUTGENRESULT **result)
void SCIPaggrRowFree(SCIP *scip, SCIP_AGGRROW **aggrrow)
void SCIPinitCutGenParams(SCIP_CUTGENPARAMS *params)
SCIP_RETCODE SCIPcalcBestCut(SCIP *scip, SCIP_SOL *sol, SCIP_AGGRROW *aggrrow, SCIP_CUTGENMETHOD methods, SCIP_CUTGENPARAMS *params, SCIP_CUTGENRESULT *result)
int * SCIPaggrRowGetInds(SCIP_AGGRROW *aggrrow)
SCIP_RETCODE SCIPaddRow(SCIP *scip, SCIP_ROW *row, SCIP_Bool forcecut, SCIP_Bool *infeasible)
void SCIPaggrRowRemoveZeros(SCIP *scip, SCIP_AGGRROW *aggrrow, SCIP_Bool useglbbounds, SCIP_Bool *valid)
int SCIPaggrRowGetNNz(SCIP_AGGRROW *aggrrow)
SCIP_RETCODE SCIPaggrRowAddRow(SCIP *scip, SCIP_AGGRROW *aggrrow, SCIP_ROW *row, SCIP_Real weight, int sidetype)
static INLINE SCIP_Real SCIPaggrRowGetProbvarValue(SCIP_AGGRROW *aggrrow, int probindex)
int * SCIPaggrRowGetRowInds(SCIP_AGGRROW *aggrrow)
SCIP_RETCODE SCIPaggrRowAddObjectiveFunction(SCIP *scip, SCIP_AGGRROW *aggrrow, SCIP_Real rhs, SCIP_Real scale)
SCIP_RETCODE SCIPgetLPRowsData(SCIP *scip, SCIP_ROW ***rows, int *nrows)
SCIP_LPSOLSTAT SCIPgetLPSolstat(SCIP *scip)
int SCIPgetNLPCols(SCIP *scip)
#define SCIPallocBufferArray(scip, ptr, num)
#define SCIPreallocBufferArray(scip, ptr, num)
#define SCIPfreeBufferArray(scip, ptr)
#define SCIPfreeBlockMemory(scip, ptr)
#define SCIPfreeBufferArrayNull(scip, ptr)
#define SCIPallocBlockMemory(scip, ptr)
SCIP_Real SCIPgetRowMaxCoef(SCIP *scip, SCIP_ROW *row)
SCIP_Real SCIProwGetLhs(SCIP_ROW *row)
SCIP_Real SCIPgetRowMinCoef(SCIP *scip, SCIP_ROW *row)
SCIP_Bool SCIProwIsModifiable(SCIP_ROW *row)
SCIP_RETCODE SCIPcacheRowExtensions(SCIP *scip, SCIP_ROW *row)
SCIP_Real SCIProwGetParallelism(SCIP_ROW *row1, SCIP_ROW *row2, char orthofunc)
int SCIProwGetNNonz(SCIP_ROW *row)
SCIP_COL ** SCIProwGetCols(SCIP_ROW *row)
SCIP_Real SCIProwGetRhs(SCIP_ROW *row)
int SCIProwGetNLPNonz(SCIP_ROW *row)
SCIP_Real SCIProwGetNorm(SCIP_ROW *row)
int SCIProwGetLPPos(SCIP_ROW *row)
SCIP_RETCODE SCIPflushRowExtensions(SCIP *scip, SCIP_ROW *row)
SCIP_Bool SCIProwIsLocal(SCIP_ROW *row)
SCIP_RETCODE SCIPmakeRowIntegral(SCIP *scip, SCIP_ROW *row, SCIP_Real mindelta, SCIP_Real maxdelta, SCIP_Longint maxdnom, SCIP_Real maxscale, SCIP_Bool usecontvars, SCIP_Bool *success)
SCIP_RETCODE SCIPaddVarToRow(SCIP *scip, SCIP_ROW *row, SCIP_VAR *var, SCIP_Real val)
SCIP_RETCODE SCIPprintRow(SCIP *scip, SCIP_ROW *row, FILE *file)
const char * SCIProwGetName(SCIP_ROW *row)
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)
int SCIProwGetRank(SCIP_ROW *row)
void SCIProwChgRank(SCIP_ROW *row, int rank)
SCIP_Real SCIProwGetDualsol(SCIP_ROW *row)
int SCIPgetRowNumIntCols(SCIP *scip, SCIP_ROW *row)
SCIP_Real * SCIProwGetVals(SCIP_ROW *row)
SCIP_Real SCIPgetRowSolActivity(SCIP *scip, SCIP_ROW *row, SCIP_SOL *sol)
SCIP_RETCODE SCIPincludeSepaBasic(SCIP *scip, SCIP_SEPA **sepa, 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)
int SCIPsepaGetFreq(SCIP_SEPA *sepa)
SCIP_RETCODE SCIPsetSepaFree(SCIP *scip, SCIP_SEPA *sepa,)
const char * SCIPsepaGetName(SCIP_SEPA *sepa)
int SCIPsepaGetNCallsAtNode(SCIP_SEPA *sepa)
SCIP_SEPADATA * SCIPsepaGetData(SCIP_SEPA *sepa)
void SCIPsepaSetData(SCIP_SEPA *sepa, SCIP_SEPADATA *sepadata)
SCIP_RETCODE SCIPsetSepaCopy(SCIP *scip, SCIP_SEPA *sepa,)
void SCIPsetSepaIsParentsepa(SCIP *scip, SCIP_SEPA *sepa)
void SCIPsetSepaParentsepa(SCIP *scip, SCIP_SEPA *sepa, SCIP_SEPA *parentsepa)
SCIP_RETCODE SCIPgetSolVals(SCIP *scip, SCIP_SOL *sol, int nvars, SCIP_VAR **vars, SCIP_Real *vals)
SCIP_Real SCIPgetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var)
int SCIPgetNSepaRounds(SCIP *scip)
SCIP_Longint SCIPgetNLPs(SCIP *scip)
SCIP_Real SCIPgetCutoffbound(SCIP *scip)
SCIP_Real SCIPinfinity(SCIP *scip)
SCIP_Real SCIPfeasFrac(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisPositive(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisLE(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisFeasZero(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisInfinity(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisGT(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisEQ(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_Bool SCIPisZero(SCIP *scip, SCIP_Real val)
SCIP_Real SCIPepsilon(SCIP *scip)
SCIP_Real SCIPsumepsilon(SCIP *scip)
SCIP_COL * SCIPvarGetCol(SCIP_VAR *var)
SCIP_Real * SCIPvarGetVlbCoefs(SCIP_VAR *var)
SCIP_Real SCIPvarGetUbLocal(SCIP_VAR *var)
SCIP_Real SCIPvarGetUbGlobal(SCIP_VAR *var)
SCIP_RETCODE SCIPgetVarClosestVub(SCIP *scip, SCIP_VAR *var, SCIP_SOL *sol, SCIP_Real *closestvub, int *closestvubidx)
int SCIPvarGetProbindex(SCIP_VAR *var)
SCIP_RETCODE SCIPgetVarClosestVlb(SCIP *scip, SCIP_VAR *var, SCIP_SOL *sol, SCIP_Real *closestvlb, int *closestvlbidx)
SCIP_Real SCIPvarGetLbLocal(SCIP_VAR *var)
SCIP_VAR ** SCIPvarGetVlbVars(SCIP_VAR *var)
SCIP_Real SCIPvarGetLbGlobal(SCIP_VAR *var)
SCIP_VAR ** SCIPvarGetVubVars(SCIP_VAR *var)
SCIP_Real * SCIPvarGetVubCoefs(SCIP_VAR *var)
SCIP_Bool SCIPvarIsInLP(SCIP_VAR *var)
SCIP_RETCODE SCIPincludeSepaAggregation(SCIP *scip)
SCIP_Bool SCIPsortedvecFindInt(int *intarray, int val, int len, int *pos)
void SCIPsortDownRealInt(SCIP_Real *realarray, int *intarray, int len)
int SCIPsnprintf(char *t, int len, const char *s,...)
assert(minobj< SCIPgetCutoffbound(scip))
static SCIP_Real negate(SCIP_Real x)
memory allocation routines
#define BMSclearMemoryArray(ptr, num)
public methods for LP management
public methods for message output
public data structures and miscellaneous methods
methods for sorting joint arrays of various types
public methods for separators
public methods for problem variables
public methods for branching rule plugins and branching
public methods for cuts and aggregation rows
public methods for the LP relaxation, rows and columns
public methods for memory management
public methods for message handling
public methods for numerical tolerances
public methods for SCIP parameter handling
public methods for global and local (sub)problems
public methods for separator plugins
public methods for solutions
public methods for querying solving statistics
public methods for the branch-and-bound tree
public methods for SCIP variables
struct AggregationData AGGREGATIONDATA
#define DEFAULT_SLACKSCORE
static SCIP_RETCODE addCut(SCIP *scip, SCIP_SOL *sol, SCIP_SEPA *sepa, SCIP_Bool makeintegral, SCIP_Real *cutcoefs, int *cutinds, int cutnnz, SCIP_Real cutrhs, SCIP_Real cutefficacy, SCIP_Bool cutislocal, SCIP_Bool cutremovable, int cutrank, const char *cutclassname, SCIP_Bool *cutoff, int *ncuts, SCIP_ROW **thecut)
#define DEFAULT_DYNAMICCUTS
static SCIP_Bool getRowAggregationCandidates(AGGREGATIONDATA *aggrdata, int probvaridx, SCIP_ROW ***rows, SCIP_Real **rowvarcoefs, int *nrows, int *ngoodrows)
static SCIP_Real aggrdataGetBoundDist(AGGREGATIONDATA *aggrdata, int probvaridx)
#define DEFAULT_MAXSLACKROOT
static SCIP_RETCODE aggregation(SCIP *scip, AGGREGATIONDATA *aggrdata, SCIP_SEPA *sepa, SCIP_SOL *sol, SCIP_Bool allowlocal, SCIP_Real *rowlhsscores, SCIP_Real *rowrhsscores, int startrow, int maxaggrs, SCIP_Bool *wastried, SCIP_Bool *cutoff, SCIP_CUTGENRESULT *cutresult, SCIP_Bool negate, int *ncuts)
#define DEFAULT_MAXFAILSROOT
#define DEFAULT_MAXAGGRSROOT
static SCIP_RETCODE aggregateNextRow(SCIP *scip, SCIP_SEPADATA *sepadata, SCIP_Real *rowlhsscores, SCIP_Real *rowrhsscores, AGGREGATIONDATA *aggrdata, SCIP_AGGRROW *aggrrow, int *naggrs, SCIP_Bool *success)
#define DEFAULT_TRYNEGSCALING
#define DEFAULT_MAXTRIESROOT
#define DEFAULT_MAXROWFAC
#define DEFAULT_DENSITYSCORE
#define DEFAULT_DENSITYOFFSET
#define DEFAULT_FIXINTEGRALRHS
static SCIP_RETCODE setupAggregationData(SCIP *scip, SCIP_SOL *sol, SCIP_Bool allowlocal, AGGREGATIONDATA *aggrdata)
#define DEFAULT_MAXTESTDELTA
#define SEPA_MAXBOUNDDIST
#define DEFAULT_MAXAGGDENSITY
static SCIP_Real getRowFracActivity(SCIP_ROW *row, SCIP_Real *fractionalities)
static void destroyAggregationData(SCIP *scip, AGGREGATIONDATA *aggrdata)
#define DEFAULT_MAXROWDENSITY
static SCIP_RETCODE separateCuts(SCIP *scip, SCIP_SEPA *sepa, SCIP_SOL *sol, SCIP_Bool allowlocal, int depth, SCIP_RESULT *result)
flow cover and complemented mixed integer rounding cuts separator (Marchand's version)
SCIP_CUTGENMETHOD winningmethod
struct SCIP_CutGenParams SCIP_CUTGENPARAMS
struct SCIP_AggrRow SCIP_AGGRROW
#define SCIP_CUTGENMETHOD_KNAPSACKCOVER
#define SCIP_CUTGENMETHOD_NONE
struct SCIP_CutGenResult SCIP_CUTGENRESULT
#define SCIP_CUTGENMETHOD_CMIR
uint32_t SCIP_CUTGENMETHOD
#define SCIP_CUTGENMETHOD_FLOWCOVER
enum SCIP_Result SCIP_RESULT
enum SCIP_Retcode SCIP_RETCODE
struct SCIP_SepaData SCIP_SEPADATA
#define SCIP_DECL_SEPAEXECSOL(x)
#define SCIP_DECL_SEPAEXECLP(x)
#define SCIP_DECL_SEPAFREE(x)
struct SCIP_Sepa SCIP_SEPA
#define SCIP_DECL_SEPACOPY(x)