A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scip.zib.de/doc/html/cons__integral_8c_source.php below:

SCIP Doxygen Documentation: cons_integral.c Source File

48#define CONSHDLR_NAME "integral" 49#define CONSHDLR_DESC "integrality constraint" 50#define CONSHDLR_ENFOPRIORITY 0 51#define CONSHDLR_CHECKPRIORITY 0 52#define CONSHDLR_EAGERFREQ -1 54#define CONSHDLR_NEEDSCONS FALSE 65

assert(conshdlr !=

NULL

);

76#define consCopyIntegral NULL 78#define consEnfopsIntegral NULL 84

assert(conshdlr !=

NULL

);

87

assert(conss ==

NULL

);

89

assert(result !=

NULL

);

124

assert(conshdlr !=

NULL

);

127

assert(conss ==

NULL

);

129

assert(result !=

NULL

);

137 for

( i = 0; i < nbinvars + nintvars; ++i )

139

assert(vars[i] !=

NULL

);

189

assert(conshdlr !=

NULL

);

193 SCIPdebugMsg

(

scip

,

"Check method of integrality constraint (checkintegrality=%u)\n"

, checkintegrality);

199 if

( !checkintegrality )

202

ninteger = nbin + nint;

204 for

( v = 0; v < ninteger; ++v )

252

assert(sol !=

NULL

);

253

assert(diveset !=

NULL

);

255

assert(conshdlr !=

NULL

);

259 SCIPdebugMsg

(

scip

,

"integral constraint handler: determine diving bound changes\n"

);

263

ninteger = nbin + nint + nimpl;

267

bestroundup =

FALSE

;

270 for

( v = 0; v < ninteger; ++v )

283 if

( score > bestscore )

287

bestroundup = roundup;

293

assert(!(*success) || bestcandidx >= 0);

325

assert(conshdlr !=

NULL

);

#define CONSHDLR_NEEDSCONS

static SCIP_DECL_CONSCHECK(consCheckIntegral)

#define CONSHDLR_CHECKPRIORITY

static SCIP_DECL_CONSENFORELAX(consEnforelaxIntegral)

static SCIP_DECL_CONSLOCK(consLockIntegral)

static SCIP_DECL_CONSGETDIVEBDCHGS(consGetDiveBdChgsIntegral)

static SCIP_DECL_CONSENFOLP(consEnfolpIntegral)

#define CONSHDLR_EAGERFREQ

#define CONSHDLR_ENFOPRIORITY

static SCIP_DECL_CONSHDLRCOPY(conshdlrCopyIntegral)

#define consEnfopsIntegral

constraint handler for the integrality constraint

SCIP_RETCODE SCIPincludeConshdlrIntegral(SCIP *scip)

SCIP_RETCODE SCIPgetSolVarsData(SCIP *scip, SCIP_SOL *sol, SCIP_VAR ***vars, int *nvars, int *nbinvars, int *nintvars, int *nimplvars, int *ncontvars)

SCIP_RETCODE SCIPgetVarsData(SCIP *scip, SCIP_VAR ***vars, int *nvars, int *nbinvars, int *nintvars, int *nimplvars, int *ncontvars)

void SCIPinfoMessage(SCIP *scip, FILE *file, const char *formatstr,...)

SCIP_RETCODE SCIPaddExternBranchCand(SCIP *scip, SCIP_VAR *var, SCIP_Real score, SCIP_Real solval)

SCIP_RETCODE SCIPbranchExtern(SCIP *scip, SCIP_RESULT *result)

int SCIPgetNLPBranchCands(SCIP *scip)

SCIP_RETCODE SCIPbranchLP(SCIP *scip, SCIP_RESULT *result)

SCIP_RETCODE SCIPincludeConshdlrBasic(SCIP *scip, SCIP_CONSHDLR **conshdlrptr, const char *name, const char *desc, int enfopriority, int chckpriority, int eagerfreq, SCIP_Bool needscons, SCIP_DECL_CONSENFOLP((*consenfolp)), SCIP_DECL_CONSENFOPS((*consenfops)), SCIP_DECL_CONSCHECK((*conscheck)), SCIP_DECL_CONSLOCK((*conslock)), SCIP_CONSHDLRDATA *conshdlrdata)

SCIP_RETCODE SCIPsetConshdlrEnforelax(SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSENFORELAX((*consenforelax)))

SCIP_RETCODE SCIPsetConshdlrGetDiveBdChgs(SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSGETDIVEBDCHGS((*consgetdivebdchgs)))

const char * SCIPconshdlrGetName(SCIP_CONSHDLR *conshdlr)

SCIP_RETCODE SCIPsetConshdlrCopy(SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSHDLRCOPY((*conshdlrcopy)), SCIP_DECL_CONSCOPY((*conscopy)))

SCIP_LPSOLSTAT SCIPgetLPSolstat(SCIP *scip)

SCIP_RETCODE SCIPgetDivesetScore(SCIP *scip, SCIP_DIVESET *diveset, SCIP_DIVETYPE divetype, SCIP_VAR *divecand, SCIP_Real divecandsol, SCIP_Real divecandfrac, SCIP_Real *candscore, SCIP_Bool *roundup)

SCIP_RETCODE SCIPaddDiveBoundChange(SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir, SCIP_Real value, SCIP_Bool preferred)

void SCIPupdateSolIntegralityViolation(SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol)

SCIP_Real SCIPgetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var)

SCIP_Bool SCIPisGE(SCIP *scip, SCIP_Real val1, SCIP_Real val2)

SCIP_Bool SCIPisFeasEQ(SCIP *scip, SCIP_Real val1, SCIP_Real val2)

SCIP_Bool SCIPisLE(SCIP *scip, SCIP_Real val1, SCIP_Real val2)

SCIP_Real SCIPfloor(SCIP *scip, SCIP_Real val)

SCIP_Bool SCIPisFeasIntegral(SCIP *scip, SCIP_Real val)

SCIP_Real SCIPfeastol(SCIP *scip)

SCIP_Real SCIPceil(SCIP *scip, SCIP_Real val)

SCIP_Real SCIPvarGetUbLocal(SCIP_VAR *var)

const char * SCIPvarGetName(SCIP_VAR *var)

SCIP_Bool SCIPvarIsIntegral(SCIP_VAR *var)

SCIP_Real SCIPvarGetLbLocal(SCIP_VAR *var)

public methods for managing constraints

public methods for message output

public methods for problem variables

public methods for branching rule plugins and branching

public methods for constraint handler plugins and constraints

public methods for the LP relaxation, rows and columns

public methods for message handling

public methods for numerical tolerances

public methods for global and local (sub)problems

public methods for the probing mode

public methods for solutions

#define SCIP_DIVETYPE_INTEGRALITY

@ SCIP_BRANCHDIR_DOWNWARDS

@ SCIP_LPSOLSTAT_UNBOUNDEDRAY

enum SCIP_Retcode SCIP_RETCODE


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4