221 for(
i = 0;
i < nstates; ++
i )
224 fractionality[
i] = 0;
228 for( j = 0; j < nsuccessors[0]; ++j )
231 states[1] = successors[0][j];
235 fractionality[states[0]] +=
MIN(lpvalforward, 1 - lpvalforward) +
MIN(1 - lpvalincluster, lpvalincluster);
249 for( j = 0; j < nsuccessors[0] && ncutscreated <
MAXCUTSCREATED; ++j )
251 states[1] = successors[0][j];
255 for( k = 0; k < nsuccessors[1] && ncutscreated <
MAXCUTSCREATED; ++k )
257 states[2] = successors[1][k];
265 if( states[1] > states[2] )
269 firstpart[0] = states[0];
272 secondpart[0] = states[1];
273 secondpart[1] = states[2];
287 for( l = 0; l < nsuccessors[2]; ++l )
289 states[3] = successors[2][l];
299 if( violationchg > bestvalue )
301 bestvalue = violationchg;
302 secondpart[2] = states[3];
306 states[3] = secondpart[2];
309 if( states[3] == -1 )
316 violation += bestvalue;
320 for( l = 0; l < nsuccessors[3]; ++l )
322 states[4] = successors[3][l];
329 MAX(states[0], states[4]),
MIN(states[0],states[4]),
INCLUSTER)) - 1.0;
337 firstpart[1] = states[4];
340 nfirst, nsecond, &violations, violation + violationchg) );
349 firstpart[0] = states[1];
350 firstpart[1] = states[2];
353 secondpart[0] = states[0];
366 for( l = 0; l < nsuccessors[2]; ++l )
368 states[3] = successors[2][l];
378 if( violationchg > bestvalue )
380 bestvalue = violationchg;
381 firstpart[2] = states[3];
385 states[3] = firstpart[2];
387 if( states[3] == -1 )
394 violation += bestvalue;
398 for( l = 0; l < nsuccessors[3]; ++l )
400 states[4] = successors[3][l];
406 MAX(states[0], states[4]),
MIN(states[0],states[4]),
INCLUSTER)) - 1.0;
414 secondpart[1] = states[4];
417 secondpart, nfirst, nsecond, &violations, violation + violationchg) );
429 if( usecutselection )
441 goodmaxparall, maxparall, dircutoffdist, efficacyweight, objparalweight, intsuppweight,
442 ncutscreated, 0,
MAXCUTS, &ncutsapplied) );
450 for( j = 0; j < ncutsapplied; ++j )
461 for(
i = 0;
i < ncutscreated; ++
i )
SCIP_RETCODE SCIPselectCutsHybrid(SCIP *scip, SCIP_ROW **cuts, SCIP_ROW **forcedcuts, SCIP_RANDNUMGEN *randnumgen, SCIP_Real goodscorefac, SCIP_Real badscorefac, SCIP_Real goodmaxparall, SCIP_Real maxparall, SCIP_Real dircutoffdistweight, SCIP_Real efficacyweight, SCIP_Real objparalweight, SCIP_Real intsupportweight, int ncuts, int nforcedcuts, int maxselectedcuts, int *nselectedcuts)
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)