methods for the creation and interaction with rows of the NLP relaxation
SCIP_RETCODE SCIPnlrowCreate | ( | SCIP_NLROW ** | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
const char * | name, | ||
SCIP_Real | constant, | ||
int | nlinvars, | ||
SCIP_VAR ** | linvars, | ||
SCIP_Real * | lincoefs, | ||
SCIP_EXPR * | expr, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_EXPRCURV | curvature ) |
create a new nonlinear row
the new row is already captured
nlrow | buffer to store pointer to nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
name | name of nonlinear row |
constant | constant |
nlinvars | number of linear variables |
linvars | linear variables, or NULL if nlinvars == 0 |
lincoefs | linear coefficients, or NULL if nlinvars == 0 |
expr | expression, or NULL |
lhs | left hand side |
rhs | right hand side |
curvature | curvature of the nonlinear row |
Definition at line 895 of file nlp.c.
References ABS, assert(), BMSallocBlockMemory, BMSduplicateBlockMemoryArray, FALSE, i, MAX, MIN, NULL, REALABS, SCIP_ALLOC, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIPexprCopy(), SCIPnlrowCapture(), SCIPsetIsInfinity(), SCIPsetIsRelLE(), and TRUE.
Referenced by SCIPcreateEmptyNlRow(), SCIPcreateNlRow(), SCIPnlpChgVarObjDive(), SCIPnlrowCreateCopy(), and SCIPnlrowCreateFromRow().
SCIP_RETCODE SCIPnlrowCreateCopy | ( | SCIP_NLROW ** | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_NLROW * | sourcenlrow ) |
create a nonlinear row that is a copy of a given row
the new row is already captured
nlrow | buffer to store pointer to nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
sourcenlrow | nonlinear row to copy |
Definition at line 994 of file nlp.c.
References SCIP_NlRow::activity, assert(), SCIP_NlRow::constant, SCIP_NlRow::curvature, SCIP_NlRow::expr, SCIP_NlRow::lhs, SCIP_NlRow::lincoefs, SCIP_NlRow::linvars, SCIP_NlRow::linvarssorted, SCIP_NlRow::maxactivity, SCIP_NlRow::minactivity, SCIP_NlRow::name, SCIP_NlRow::nlinvars, NULL, SCIP_NlRow::pseudoactivity, SCIP_NlRow::rhs, SCIP_CALL, SCIP_OKAY, SCIPnlrowCreate(), SCIP_NlRow::validactivitybdsdomchg, SCIP_NlRow::validactivitynlp, and SCIP_NlRow::validpsactivitydomchg.
SCIP_RETCODE SCIPnlrowCreateFromRow | ( | SCIP_NLROW ** | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_ROW * | row ) |
create a new nonlinear row from a linear row
the new row is already captured
nlrow | buffer to store pointer to nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
row | the linear row to copy |
Definition at line 1029 of file nlp.c.
References assert(), i, NULL, SCIP_CALL, SCIP_EXPRCURV_LINEAR, SCIP_OKAY, SCIPcolGetVar(), SCIPnlrowCreate(), SCIProwGetCols(), SCIProwGetConstant(), SCIProwGetLhs(), SCIProwGetName(), SCIProwGetNNonz(), SCIProwGetRhs(), SCIProwGetVals(), SCIPsetAllocBufferArray, and SCIPsetFreeBufferArray.
Referenced by SCIPcreateNlRowFromRow().
SCIP_RETCODE SCIPnlrowPrint | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_MESSAGEHDLR * | messagehdlr, | ||
FILE * | file ) |
output nonlinear row to file stream
nlrow | NLP row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
messagehdlr | message handler |
file | output file (or NULL for standard output) |
Definition at line 1092 of file nlp.c.
References assert(), SCIP_NlRow::constant, SCIP_NlRow::curvature, SCIP_NlRow::expr, i, SCIP_NlRow::lhs, SCIP_NlRow::lincoefs, SCIP_NlRow::linvars, SCIP_NlRow::name, SCIP_NlRow::nlinvars, NULL, SCIP_NlRow::rhs, SCIP_CALL, SCIP_OKAY, SCIPexprcurvGetName(), SCIPexprPrint(), SCIPmessageFPrintInfo(), and SCIPvarGetName().
Referenced by SCIPnlpWrite(), and SCIPprintNlRow().
void SCIPnlrowCapture | ( | SCIP_NLROW * | nlrow | ) |
increases usage counter of nonlinear row
nlrow | nonlinear row to capture |
Definition at line 1142 of file nlp.c.
References assert(), SCIP_NlRow::name, NULL, SCIP_NlRow::nuses, and SCIPdebugMessage.
Referenced by nlpAddNlRows(), SCIPcaptureNlRow(), and SCIPnlrowCreate().
SCIP_RETCODE SCIPnlrowRelease | ( | SCIP_NLROW ** | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat ) |
decreases usage counter of nonlinear row
nlrow | nonlinear row to free |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
Definition at line 1154 of file nlp.c.
References assert(), BMSfreeBlockMemory, BMSfreeBlockMemoryArray, BMSfreeBlockMemoryArrayNull, NULL, SCIP_CALL, SCIP_OKAY, SCIPexprRelease(), and SCIPsetDebugMsg.
Referenced by nlpDelNlRowPos(), SCIPnlpEndDive(), and SCIPreleaseNlRow().
SCIP_RETCODE SCIPnlrowEnsureLinearSize | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
int | num ) |
ensures, that linear coefficient array of nonlinear row can store at least num entries
nlrow | NLP row |
blkmem | block memory |
set | global SCIP settings |
num | minimum number of entries to store |
Definition at line 1199 of file nlp.c.
References assert(), BMSreallocBlockMemoryArray, SCIP_NlRow::lincoefs, SCIP_NlRow::linvars, SCIP_NlRow::linvarssize, SCIP_NlRow::nlinvars, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIPsetCalcMemGrowSize().
Referenced by nlrowAddLinearCoef(), and nlrowRemoveFixedLinearCoefPos().
SCIP_RETCODE SCIPnlrowAddLinearCoef | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_NLP * | nlp, | ||
SCIP_VAR * | var, | ||
SCIP_Real | val ) |
adds a previously non existing linear coefficient to a nonlinear row
nlrow | NLP nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
nlp | current NLP data |
var | variable |
val | value of coefficient |
Definition at line 1224 of file nlp.c.
References assert(), SCIP_NlRow::constant, i, SCIP_NlRow::nlpindex, nlrowAddLinearCoef(), SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_MULTAGGR, SCIPnlrowAddLinearCoef(), SCIPnlrowChgConstant(), SCIPvarGetMultaggrNVars(), SCIPvarGetMultaggrScalars(), SCIPvarGetMultaggrVars(), SCIPvarGetProbvarSum(), SCIPvarGetStatus(), SCIPvarIsActive(), and var.
Referenced by SCIPaddLinearCoefsToNlRow(), SCIPaddLinearCoefToNlRow(), and SCIPnlrowAddLinearCoef().
SCIP_RETCODE SCIPnlrowDelLinearCoef | ( | SCIP_NLROW * | nlrow, |
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_NLP * | nlp, | ||
SCIP_VAR * | var ) |
deletes linear coefficient from nonlinear row
nlrow | nonlinear row to be changed |
set | global SCIP settings |
stat | problem statistics data |
nlp | current NLP data |
var | coefficient to be deleted |
Definition at line 1272 of file nlp.c.
References assert(), SCIP_NlRow::linvars, SCIP_NlRow::name, SCIP_NlRow::nlpindex, nlrowDelLinearCoefPos(), nlrowSearchLinearCoef(), NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, SCIPvarGetName(), SCIPvarIsActive(), and var.
SCIP_RETCODE SCIPnlrowChgLinearCoef | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_NLP * | nlp, | ||
SCIP_VAR * | var, | ||
SCIP_Real | coef ) |
changes or adds a linear coefficient to a nonlinear row
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
nlp | current NLP data |
var | variable |
coef | new value of coefficient |
Definition at line 1305 of file nlp.c.
References assert(), nlrowAddLinearCoef(), nlrowChgLinearCoefPos(), nlrowSearchLinearCoef(), NULL, SCIP_CALL, SCIP_OKAY, SCIPsetIsZero(), and var.
Referenced by SCIPchgNlRowLinearCoef(), and SCIPnlpChgVarObjDive().
SCIP_RETCODE SCIPnlrowChgExpr | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_NLP * | nlp, | ||
SCIP_EXPR * | expr ) |
replaces or deletes an expression in a nonlinear row
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
nlp | current NLP data |
expr | new expression |
Definition at line 1343 of file nlp.c.
References assert(), SCIP_NlRow::expr, SCIP_NlRow::nlpindex, nlrowAddToStat(), nlrowExprChanged(), NULL, SCIP_CALL, SCIP_OKAY, SCIPexprCopy(), SCIPexprRelease(), and SCIPexprSimplify().
Referenced by SCIPsetNlRowExpr().
SCIP_RETCODE SCIPnlrowChgConstant | ( | SCIP_NLROW * | nlrow, |
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_NLP * | nlp, | ||
SCIP_Real | constant ) |
changes constant of nonlinear row
nlrow | nonlinear row |
set | global SCIP settings |
stat | problem statistics data |
nlp | current NLP data |
constant | new constant |
Definition at line 1398 of file nlp.c.
References assert(), SCIP_NlRow::constant, nlrowConstantChanged(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPsetIsEQ().
Referenced by nlrowSimplifyExpr(), SCIPchgNlRowConstant(), and SCIPnlrowAddLinearCoef().
SCIP_RETCODE SCIPnlrowChgLhs | ( | SCIP_NLROW * | nlrow, |
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_NLP * | nlp, | ||
SCIP_Real | lhs ) |
changes left hand side of nonlinear row
nlrow | nonlinear row |
set | global SCIP settings |
stat | problem statistics data |
nlp | current NLP data |
lhs | new left hand side |
Definition at line 1418 of file nlp.c.
References assert(), SCIP_NlRow::lhs, SCIP_NlRow::nlpindex, nlrowAddToStat(), nlrowSideChanged(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPsetIsEQ().
Referenced by SCIPchgNlRowLhs().
SCIP_RETCODE SCIPnlrowChgRhs | ( | SCIP_NLROW * | nlrow, |
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_NLP * | nlp, | ||
SCIP_Real | rhs ) |
changes right hand side of nonlinear row
nlrow | nonlinear row |
set | global SCIP settings |
stat | problem statistics data |
nlp | current NLP data |
rhs | new right hand side |
Definition at line 1444 of file nlp.c.
References assert(), SCIP_NlRow::nlpindex, nlrowAddToStat(), nlrowSideChanged(), NULL, SCIP_NlRow::rhs, SCIP_CALL, SCIP_OKAY, and SCIPsetIsEQ().
Referenced by SCIPchgNlRowRhs().
void SCIPnlrowSetCurvature | ( | SCIP_NLP * | nlp, |
SCIP_SET * | set, | ||
SCIP_NLROW * | nlrow, | ||
SCIP_EXPRCURV | curvature ) |
sets the curvature of a nonlinear row
nlp | NLP |
set | global SCIP settings |
nlrow | NLP row |
curvature | curvature of NLP row |
Definition at line 1470 of file nlp.c.
References assert(), SCIP_NlRow::curvature, SCIP_NlRow::nlpindex, nlrowAddToStat(), and NULL.
Referenced by SCIPsetNlRowCurvature(), and SCIPsetNlRowExpr().
SCIP_RETCODE SCIPnlrowSimplify | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_NLP * | nlp ) |
removes (or substitutes) all fixed, negated, aggregated, multi-aggregated variables from the linear and nonlinear part of a nonlinear row and simplifies its expression
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
nlp | current NLP data |
Definition at line 1489 of file nlp.c.
References nlrowRemoveFixedLinearCoefs(), nlrowSimplifyExpr(), SCIP_CALL, and SCIP_OKAY.
Referenced by nlpAddNlRows().
SCIP_RETCODE SCIPnlrowRecalcNLPActivity | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_PRIMAL * | primal, | ||
SCIP_TREE * | tree, | ||
SCIP_NLP * | nlp ) |
recalculates the current activity of a nonlinear row in the current NLP solution
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
primal | primal data |
tree | branch and bound tree |
nlp | current NLP data |
Definition at line 1504 of file nlp.c.
References SCIP_NlRow::activity, assert(), SCIP_NlRow::constant, SCIP_NlRow::expr, i, SCIP_NlRow::lincoefs, SCIP_NlRow::linvars, SCIP_NlRow::nlinvars, SCIP_Stat::nnlps, NULL, SCIP_CALL, SCIP_ERROR, SCIP_INVALID, SCIP_NLPSOLSTAT_LOCINFEASIBLE, SCIP_OKAY, SCIPerrorMessage, SCIPexprEval(), SCIPexprGetEvalValue(), SCIPsolCreateNLPSol(), SCIPsolFree(), SCIPvarGetNLPSol(), sol, SCIP_Nlp::solstat, and SCIP_NlRow::validactivitynlp.
Referenced by SCIPnlrowGetNLPActivity(), SCIPrecalcNlRowActivity(), and SCIPrecalcNlRowNLPActivity().
SCIP_RETCODE SCIPnlrowGetNLPActivity | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_PRIMAL * | primal, | ||
SCIP_TREE * | tree, | ||
SCIP_NLP * | nlp, | ||
SCIP_Real * | activity ) |
gives the activity of a nonlinear row in the current NLP solution
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
primal | primal data |
tree | branch and bound tree |
nlp | current NLP data |
activity | buffer to store activity value |
Definition at line 1556 of file nlp.c.
References SCIP_NlRow::activity, assert(), SCIP_Stat::nnlps, NULL, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIPnlrowRecalcNLPActivity(), and SCIP_NlRow::validactivitynlp.
Referenced by nlpSolve(), SCIPgetNlRowActivity(), SCIPgetNlRowNLPActivity(), SCIPgetNlRowSolActivity(), and SCIPnlrowGetNLPFeasibility().
SCIP_RETCODE SCIPnlrowGetNLPFeasibility | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_PRIMAL * | primal, | ||
SCIP_TREE * | tree, | ||
SCIP_NLP * | nlp, | ||
SCIP_Real * | feasibility ) |
gives the feasibility of a nonlinear row in the current NLP solution: negative value means infeasibility
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
primal | primal data |
tree | branch and bound tree |
nlp | current NLP data |
feasibility | buffer to store feasibility value |
Definition at line 1586 of file nlp.c.
References assert(), SCIP_NlRow::lhs, MIN, NULL, SCIP_NlRow::rhs, SCIP_CALL, SCIP_OKAY, and SCIPnlrowGetNLPActivity().
Referenced by SCIPgetNlRowFeasibility(), SCIPgetNlRowNLPFeasibility(), and SCIPgetNlRowSolFeasibility().
SCIP_RETCODE SCIPnlrowRecalcPseudoActivity | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_PROB * | prob, | ||
SCIP_PRIMAL * | primal, | ||
SCIP_TREE * | tree, | ||
SCIP_LP * | lp ) |
calculates the current pseudo activity of a nonlinear row
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
prob | SCIP problem |
primal | primal data |
tree | branch and bound tree |
lp | SCIP LP |
Definition at line 1609 of file nlp.c.
References assert(), SCIP_NlRow::constant, SCIP_Stat::domchgcount, SCIP_NlRow::expr, i, SCIP_NlRow::lincoefs, SCIP_NlRow::linvars, SCIP_NlRow::nlinvars, NULL, SCIP_NlRow::pseudoactivity, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIPexprEval(), SCIPexprGetEvalValue(), SCIPsolCreatePseudoSol(), SCIPsolFree(), SCIPvarGetBestBoundLocal(), sol, and SCIP_NlRow::validpsactivitydomchg.
Referenced by SCIPnlrowGetPseudoActivity(), SCIPrecalcNlRowActivity(), and SCIPrecalcNlRowPseudoActivity().
SCIP_RETCODE SCIPnlrowGetPseudoActivity | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_PROB * | prob, | ||
SCIP_PRIMAL * | primal, | ||
SCIP_TREE * | tree, | ||
SCIP_LP * | lp, | ||
SCIP_Real * | pseudoactivity ) |
returns the pseudo activity of a nonlinear row in the current pseudo solution
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
prob | SCIP problem |
primal | primal data |
tree | branch and bound tree |
lp | SCIP LP |
pseudoactivity | buffer to store pseudo activity value |
Definition at line 1656 of file nlp.c.
References assert(), SCIP_Stat::domchgcount, NULL, SCIP_NlRow::pseudoactivity, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIPnlrowRecalcPseudoActivity(), and SCIP_NlRow::validpsactivitydomchg.
Referenced by SCIPgetNlRowActivity(), SCIPgetNlRowPseudoActivity(), SCIPgetNlRowSolActivity(), SCIPnlpGetPseudoObjval(), and SCIPnlrowGetPseudoFeasibility().
SCIP_RETCODE SCIPnlrowGetPseudoFeasibility | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_PROB * | prob, | ||
SCIP_PRIMAL * | primal, | ||
SCIP_TREE * | tree, | ||
SCIP_LP * | lp, | ||
SCIP_Real * | pseudofeasibility ) |
returns the pseudo feasibility of a nonlinear row in the current pseudo solution: negative value means infeasibility
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
prob | SCIP problem |
primal | primal data |
tree | branch and bound tree |
lp | SCIP LP |
pseudofeasibility | buffer to store pseudo feasibility value |
Definition at line 1687 of file nlp.c.
References assert(), SCIP_NlRow::lhs, MIN, NULL, SCIP_NlRow::rhs, SCIP_CALL, SCIP_OKAY, and SCIPnlrowGetPseudoActivity().
Referenced by SCIPgetNlRowFeasibility(), SCIPgetNlRowPseudoFeasibility(), and SCIPgetNlRowSolFeasibility().
SCIP_RETCODE SCIPnlrowGetSolActivity | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_SOL * | sol, | ||
SCIP_Real * | activity ) |
returns the activity of a nonlinear row for a given solution
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
sol | primal CIP solution |
activity | buffer to store activity value |
Definition at line 1712 of file nlp.c.
References assert(), SCIP_NlRow::constant, SCIP_NlRow::expr, i, SCIP_NlRow::lincoefs, SCIP_NlRow::linvars, MAX, MIN, SCIP_NlRow::nlinvars, NULL, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIP_UNKNOWN, SCIPexprEval(), SCIPexprGetEvalValue(), SCIPsetInfinity(), SCIPsolGetVal(), and sol.
Referenced by SCIPgetNlRowSolActivity(), and SCIPnlrowGetSolFeasibility().
SCIP_RETCODE SCIPnlrowGetSolFeasibility | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_SOL * | sol, | ||
SCIP_Real * | feasibility ) |
returns the feasibility of a nonlinear row for the given solution
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
sol | primal CIP solution |
feasibility | buffer to store feasibility value |
Definition at line 1761 of file nlp.c.
References assert(), SCIP_NlRow::lhs, MIN, NULL, SCIP_NlRow::rhs, SCIP_CALL, SCIP_OKAY, SCIPnlrowGetSolActivity(), and sol.
Referenced by SCIPgetNlRowSolFeasibility().
SCIP_RETCODE SCIPnlrowGetActivityBounds | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_Real * | minactivity, | ||
SCIP_Real * | maxactivity ) |
returns the minimal activity of a nonlinear row w.r.t. the variables' bounds
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
minactivity | buffer to store minimal activity, or NULL |
maxactivity | buffer to store maximal activity, or NULL |
Definition at line 1783 of file nlp.c.
References assert(), SCIP_Stat::domchgcount, SCIP_NlRow::maxactivity, SCIP_NlRow::minactivity, nlrowCalcActivityBounds(), NULL, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, and SCIP_NlRow::validactivitybdsdomchg.
Referenced by SCIPgetNlRowActivityBounds(), and SCIPnlrowIsRedundant().
SCIP_RETCODE SCIPnlrowIsRedundant | ( | SCIP_NLROW * | nlrow, |
BMS_BLKMEM * | blkmem, | ||
SCIP_SET * | set, | ||
SCIP_STAT * | stat, | ||
SCIP_Bool * | isredundant ) |
returns whether the nonlinear row is redundant w.r.t. the variables' bounds
nlrow | nonlinear row |
blkmem | block memory |
set | global SCIP settings |
stat | problem statistics data |
isredundant | buffer to store whether row is redundant |
Definition at line 1815 of file nlp.c.
References assert(), FALSE, SCIP_NlRow::lhs, NULL, SCIP_NlRow::rhs, SCIP_CALL, SCIP_OKAY, SCIPnlrowGetActivityBounds(), SCIPsetIsFeasGT(), SCIPsetIsFeasLT(), SCIPsetIsInfinity(), and TRUE.
Referenced by SCIPnlpRemoveRedundantNlRows().
SCIP_Real SCIPnlrowGetConstant | ( | SCIP_NLROW * | nlrow | ) |
gets constant
nlrow | NLP row |
Definition at line 1857 of file nlp.c.
References assert(), SCIP_NlRow::constant, and NULL.
Referenced by generateCut(), nlrowaggrCreate(), SCIPaddNlpiProblemNlRows(), and SCIPcreateNlpiProblemFromNlRows().
int SCIPnlrowGetNLinearVars | ( | SCIP_NLROW * | nlrow | ) |
gets number of variables of linear part
nlrow | NLP row |
Definition at line 1867 of file nlp.c.
References assert(), SCIP_NlRow::nlinvars, and NULL.
Referenced by applyHeur(), computeGradient(), generateCut(), generateCut(), heurExec(), nlrowaggrCreate(), SCIPaddNlpiProblemNlRows(), SCIPaddNlRowGradientBenderscutOpt(), and SCIPcreateNlpiProblemFromNlRows().
SCIP_VAR ** SCIPnlrowGetLinearVars | ( | SCIP_NLROW * | nlrow | ) |
gets array with variables of linear part
nlrow | NLP row |
Definition at line 1877 of file nlp.c.
References assert(), SCIP_NlRow::linvars, and NULL.
Referenced by computeGradient(), generateCut(), generateCut(), nlrowaggrCreate(), SCIPaddNlpiProblemNlRows(), SCIPaddNlRowGradientBenderscutOpt(), and SCIPcreateNlpiProblemFromNlRows().
SCIP_Real * SCIPnlrowGetLinearCoefs | ( | SCIP_NLROW * | nlrow | ) |
gets array with coefficients in linear part
nlrow | NLP row |
Definition at line 1887 of file nlp.c.
References assert(), SCIP_NlRow::lincoefs, and NULL.
Referenced by computeGradient(), generateCut(), generateCut(), nlrowaggrCreate(), SCIPaddNlpiProblemNlRows(), SCIPaddNlRowGradientBenderscutOpt(), and SCIPcreateNlpiProblemFromNlRows().
SCIP_EXPR * SCIPnlrowGetExpr | ( | SCIP_NLROW * | nlrow | ) |
gets expression
nlrow | NLP row |
Definition at line 1897 of file nlp.c.
References assert(), SCIP_NlRow::expr, and NULL.
Referenced by applyHeur(), computeGradient(), createMIP(), createTcliqueGraph(), doSeachEcAggr(), findAndStoreEcAggregations(), generateCut(), generateCut(), heurExec(), isCandidate(), isNlobbtApplicable(), nlrowaggrCreate(), processNlRow(), SCIP_DECL_HEUREXEC(), SCIPaddNlpiProblemNlRows(), SCIPaddNlRowGradientBenderscutOpt(), SCIPcreateNlpiProblemFromNlRows(), searchEcAggrWithCliques(), storeAggrFromMIP(), storeNonlinearConvexNlrows(), storeNonlinearConvexNlrows(), and updateMIP().
SCIP_Real SCIPnlrowGetLhs | ( | SCIP_NLROW * | nlrow | ) |
returns the left hand side of a nonlinear row
nlrow | NLP row |
Definition at line 1907 of file nlp.c.
References assert(), SCIP_NlRow::lhs, and NULL.
Referenced by computeMaxViolation(), computeStandardNLPFeasibilityCut(), findAndStoreEcAggregations(), findPointPosition(), generateCut(), generateCut(), isCandidate(), isNlobbtApplicable(), nlrowaggrCreate(), processNlRow(), SCIP_DECL_SEPAEXECLP(), SCIPaddNlpiProblemNlRows(), SCIPcreateNlpiProblemFromNlRows(), separateCuts(), separateCuts(), storeNonlinearConvexNlrows(), and storeNonlinearConvexNlrows().
SCIP_Real SCIPnlrowGetRhs | ( | SCIP_NLROW * | nlrow | ) |
returns the right hand side of a nonlinear row
nlrow | NLP row |
Definition at line 1917 of file nlp.c.
References assert(), NULL, and SCIP_NlRow::rhs.
Referenced by computeMaxViolation(), computeStandardNLPFeasibilityCut(), findAndStoreEcAggregations(), findPointPosition(), generateCut(), generateCut(), improvePoint(), isCandidate(), isNlobbtApplicable(), nlrowaggrCreate(), processNlRow(), SCIP_DECL_SEPAEXECLP(), SCIPaddNlpiProblemNlRows(), SCIPcreateNlpiProblemFromNlRows(), separateCuts(), separateCuts(), storeNonlinearConvexNlrows(), and storeNonlinearConvexNlrows().
SCIP_EXPRCURV SCIPnlrowGetCurvature | ( | SCIP_NLROW * | nlrow | ) |
returns the curvature of a nonlinear row
nlrow | NLP row |
Definition at line 1927 of file nlp.c.
References assert(), SCIP_NlRow::curvature, and NULL.
Referenced by computeMaxViolation(), isNlobbtApplicable(), processNlRow(), SCIPcreateNlpiProblemFromNlRows(), storeNonlinearConvexNlrows(), and storeNonlinearConvexNlrows().
const char * SCIPnlrowGetName | ( | SCIP_NLROW * | nlrow | ) |
returns the name of a nonlinear row
nlrow | NLP row |
Definition at line 1936 of file nlp.c.
References assert(), SCIP_NlRow::name, and NULL.
Referenced by findPointPosition(), generateCut(), processNlRow(), SCIPaddNlpiProblemNlRows(), SCIPcreateNlpiProblemFromNlRows(), and separateCuts().
int SCIPnlrowGetNLPPos | ( | SCIP_NLROW * | nlrow | ) |
gets position of a nonlinear row in current NLP, or -1 if not in NLP
nlrow | NLP row |
Definition at line 1946 of file nlp.c.
References assert(), SCIP_NlRow::nlpindex, and NULL.
SCIP_Bool SCIPnlrowIsInNLP | ( | SCIP_NLROW * | nlrow | ) |
returns TRUE iff row is member of current NLP
nlrow | NLP row |
Definition at line 1956 of file nlp.c.
References assert(), SCIP_NlRow::nlpindex, and NULL.
Referenced by addNlrow(), addNlrow(), addNlrow(), addNlrow(), addNlrow(), addNlrow(), addNlrow(), computeCut(), isCandidate(), and isPossibleToComputeCut().
SCIP_Real SCIPnlrowGetDualsol | ( | SCIP_NLROW * | nlrow | ) |
gets the dual NLP solution of a nlrow
for a ranged constraint, the dual value is positive if the right hand side is active and negative if the left hand side is active
nlrow | NLP row |
Definition at line 1969 of file nlp.c.
References assert(), SCIP_NlRow::dualsol, SCIP_NlRow::nlpiindex, and NULL.
Referenced by computeStandardNLPFeasibilityCut(), computeStandardNLPOptimalityCut(), and SCIPapplyHeurDualval().
SCIP_RETCODE SCIPcreateNlRow | ( | SCIP * | scip, |
SCIP_NLROW ** | nlrow, | ||
const char * | name, | ||
SCIP_Real | constant, | ||
int | nlinvars, | ||
SCIP_VAR ** | linvars, | ||
SCIP_Real * | lincoefs, | ||
SCIP_EXPR * | expr, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_EXPRCURV | curvature ) |
creates and captures a nonlinear row
scip | SCIP data structure |
nlrow | buffer to store pointer to nonlinear row |
name | name of nonlinear row |
constant | constant |
nlinvars | number of linear variables |
linvars | linear variables, or NULL if nlinvars == 0 |
lincoefs | linear coefficients, or NULL if nlinvars == 0 |
expr | nonlinear expression, or NULL |
lhs | left hand side |
rhs | right hand side |
curvature | curvature of the nonlinear row |
Definition at line 954 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowCreate(), and TRUE.
Referenced by addKnapsackConstraints(), addLinearConstraints(), addLogicOrConstraints(), addNlrow(), addNlrow(), addNlrow(), addNlrow(), addNlrow(), addNlrow(), addNlrow(), addRegularScholtes(), addSetppcConstraints(), addVarboundConstraints(), createNlRow(), SCIP_DECL_CONSINITSOL(), and SCIP_DECL_CONSINITSOL().
SCIP_RETCODE SCIPcreateEmptyNlRow | ( | SCIP * | scip, |
SCIP_NLROW ** | nlrow, | ||
const char * | name, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs ) |
creates and captures a nonlinear row without any coefficients
scip | SCIP data structure |
nlrow | pointer to nonlinear row |
name | name of nonlinear row |
lhs | left hand side |
rhs | right hand side |
Definition at line 986 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_EXPRCURV_UNKNOWN, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowCreate(), and TRUE.
SCIP_RETCODE SCIPcreateNlRowFromRow | ( | SCIP * | scip, |
SCIP_NLROW ** | nlrow, | ||
SCIP_ROW * | row ) |
creates and captures a nonlinear row from a linear row
scip | SCIP data structure |
nlrow | pointer to nonlinear row |
row | the linear row to copy |
Definition at line 1012 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowCreateFromRow(), and TRUE.
SCIP_RETCODE SCIPcaptureNlRow | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow ) |
increases usage counter of a nonlinear row
scip | SCIP data structure |
nlrow | nonlinear row to capture |
Definition at line 1035 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowCapture(), and TRUE.
SCIP_RETCODE SCIPreleaseNlRow | ( | SCIP * | scip, |
SCIP_NLROW ** | nlrow ) |
decreases usage counter of a nonlinear row, and frees memory if necessary
scip | SCIP data structure |
nlrow | pointer to nonlinear row |
Definition at line 1058 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowRelease(), and TRUE.
Referenced by addLinearConstraints(), addRegularScholtes(), consdataFree(), consdataFree(), consdataFree(), consdataFree(), consdataFree(), consdataFree(), consdataFree(), createNlRow(), deinitSolve(), releaseHashmapNLPRows(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSINITSOL(), and SCIP_DECL_CONSINITSOL().
SCIP_RETCODE SCIPchgNlRowLhs | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real | lhs ) |
changes left hand side of a nonlinear row
scip | SCIP data structure |
nlrow | NLP nonlinear row |
lhs | new left hand side |
Definition at line 1080 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowChgLhs(), and TRUE.
SCIP_RETCODE SCIPchgNlRowRhs | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real | rhs ) |
changes right hand side of a nonlinear row
scip | SCIP data structure |
nlrow | NLP nonlinear row |
rhs | new right hand side |
Definition at line 1103 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowChgRhs(), and TRUE.
SCIP_RETCODE SCIPchgNlRowConstant | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real | constant ) |
changes constant of a nonlinear row
scip | SCIP data structure |
nlrow | NLP row |
constant | new value for constant |
Definition at line 1126 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowChgConstant(), and TRUE.
Referenced by createNlRow().
void SCIPsetNlRowCurvature | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_EXPRCURV | curvature ) |
set curvature of a nonlinear row
scip | SCIP data structure |
nlrow | NLP row |
curvature | curvature of NLP row |
Definition at line 1140 of file scip_nlp.c.
References assert(), NULL, and SCIPnlrowSetCurvature().
Referenced by initSolve().
SCIP_RETCODE SCIPaddLinearCoefToNlRow | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_VAR * | var, | ||
SCIP_Real | val ) |
adds variable with a linear coefficient to a nonlinear row
scip | SCIP data structure |
nlrow | NLP row |
var | problem variable |
val | value of coefficient in linear part of row |
Definition at line 1161 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowAddLinearCoef(), TRUE, and var.
Referenced by addNlrow(), and createNlRow().
SCIP_RETCODE SCIPaddLinearCoefsToNlRow | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
int | nvars, | ||
SCIP_VAR ** | vars, | ||
SCIP_Real * | vals ) |
adds variables with linear coefficients to a row
scip | SCIP data structure |
nlrow | NLP row |
nvars | number of variables to add to the row |
vars | problem variables to add |
vals | values of coefficients in linear part of row |
Definition at line 1185 of file scip_nlp.c.
References assert(), FALSE, NULL, nvars, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowAddLinearCoef(), TRUE, and vars.
SCIP_RETCODE SCIPchgNlRowLinearCoef | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_VAR * | var, | ||
SCIP_Real | coef ) |
changes linear coefficient of a variables in a nonlinear row
Setting the coefficient to 0.0 means that it is removed from the row. The variable does not need to exists before.
scip | SCIP data structure |
nlrow | NLP row |
var | variable |
coef | new value of coefficient |
Definition at line 1222 of file scip_nlp.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowChgLinearCoef(), TRUE, and var.
SCIP_RETCODE SCIPsetNlRowExpr | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_EXPR * | expr ) |
sets or deletes expression in a nonlinear row
scip | SCIP data structure |
nlrow | NLP row |
expr | expression, or NULL |
Definition at line 1248 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_EXPRCURV_UNKNOWN, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowChgExpr(), SCIPnlrowSetCurvature(), and TRUE.
Referenced by createNlRow().
SCIP_RETCODE SCIPrecalcNlRowNLPActivity | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow ) |
recalculates the activity of a nonlinear row in the last NLP solution
scip | SCIP data structure |
nlrow | NLP nonlinear row |
Definition at line 1274 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPnlrowRecalcNLPActivity(), and TRUE.
SCIP_RETCODE SCIPgetNlRowNLPActivity | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real * | activity ) |
returns the activity of a nonlinear row in the last NLP solution
scip | SCIP data structure |
nlrow | NLP nonlinear row |
activity | pointer to store activity value |
Definition at line 1301 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPnlrowGetNLPActivity(), and TRUE.
SCIP_RETCODE SCIPgetNlRowNLPFeasibility | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real * | feasibility ) |
gives the feasibility of a nonlinear row in the last NLP solution: negative value means infeasibility
scip | SCIP data structure |
nlrow | NLP nonlinear row |
feasibility | pointer to store feasibility value |
Definition at line 1329 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPnlrowGetNLPFeasibility(), and TRUE.
SCIP_RETCODE SCIPrecalcNlRowPseudoActivity | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow ) |
recalculates the activity of a nonlinear row for the current pseudo solution
scip | SCIP data structure |
nlrow | NLP nonlinear row |
Definition at line 1357 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowRecalcPseudoActivity(), and TRUE.
SCIP_RETCODE SCIPgetNlRowPseudoActivity | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real * | pseudoactivity ) |
gives the activity of a nonlinear row for the current pseudo solution
scip | SCIP data structure |
nlrow | NLP nonlinear row |
pseudoactivity | pointer to store pseudo activity value |
Definition at line 1378 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowGetPseudoActivity(), and TRUE.
SCIP_RETCODE SCIPgetNlRowPseudoFeasibility | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real * | pseudofeasibility ) |
gives the feasibility of a nonlinear row for the current pseudo solution: negative value means infeasibility
scip | SCIP data structure |
nlrow | NLP nonlinear row |
pseudofeasibility | pointer to store pseudo feasibility value |
Definition at line 1400 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowGetPseudoFeasibility(), and TRUE.
SCIP_RETCODE SCIPrecalcNlRowActivity | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow ) |
recalculates the activity of a nonlinear row in the last NLP or pseudo solution
scip | SCIP data structure |
nlrow | NLP nonlinear row |
Definition at line 1422 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlpHasCurrentNodeNLP(), SCIPnlpHasSolution(), SCIPnlrowRecalcNLPActivity(), SCIPnlrowRecalcPseudoActivity(), and TRUE.
SCIP_RETCODE SCIPgetNlRowActivity | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real * | activity ) |
gives the activity of a nonlinear row in the last NLP or pseudo solution
scip | SCIP data structure |
nlrow | NLP nonlinear row |
activity | pointer to store activity value |
Definition at line 1450 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlpHasCurrentNodeNLP(), SCIPnlpHasSolution(), SCIPnlrowGetNLPActivity(), SCIPnlrowGetPseudoActivity(), and TRUE.
Referenced by computeStandardNLPFeasibilityCut().
SCIP_RETCODE SCIPgetNlRowFeasibility | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real * | feasibility ) |
gives the feasibility of a nonlinear row in the last NLP or pseudo solution
scip | SCIP data structure |
nlrow | NLP nonlinear row |
feasibility | pointer to store feasibility value |
Definition at line 1479 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlpHasCurrentNodeNLP(), SCIPnlpHasSolution(), SCIPnlrowGetNLPFeasibility(), SCIPnlrowGetPseudoFeasibility(), and TRUE.
SCIP_RETCODE SCIPgetNlRowSolActivity | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_SOL * | sol, | ||
SCIP_Real * | activity ) |
gives the activity of a nonlinear row for the given primal solution or NLP solution or pseudo solution
scip | SCIP data structure |
nlrow | NLP nonlinear row |
sol | primal CIP solution, or NULL for NLP solution of pseudo solution |
activity | pointer to store activity value |
Definition at line 1508 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlpHasCurrentNodeNLP(), SCIPnlpHasSolution(), SCIPnlrowGetNLPActivity(), SCIPnlrowGetPseudoActivity(), SCIPnlrowGetSolActivity(), sol, and TRUE.
Referenced by computeMaxViolation(), findPointPosition(), improvePoint(), SCIP_DECL_SEPAEXECLP(), separateCuts(), and separateCuts().
SCIP_RETCODE SCIPgetNlRowSolFeasibility | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_SOL * | sol, | ||
SCIP_Real * | feasibility ) |
gives the feasibility of a nonlinear row for the given primal solution
scip | SCIP data structure |
nlrow | NLP nonlinear row |
sol | primal CIP solution |
feasibility | pointer to store feasibility value |
Definition at line 1542 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlpHasCurrentNodeNLP(), SCIPnlpHasSolution(), SCIPnlrowGetNLPFeasibility(), SCIPnlrowGetPseudoFeasibility(), SCIPnlrowGetSolFeasibility(), sol, and TRUE.
Referenced by getMinFeas(), and improvePoint().
SCIP_RETCODE SCIPgetNlRowActivityBounds | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
SCIP_Real * | minactivity, | ||
SCIP_Real * | maxactivity ) |
gives the minimal and maximal activity of a nonlinear row w.r.t. the variable's bounds
scip | SCIP data structure |
nlrow | NLP row |
minactivity | buffer to store minimal activity, or NULL |
maxactivity | buffer to store maximal activity, or NULL |
Definition at line 1577 of file scip_nlp.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowGetActivityBounds(), and TRUE.
SCIP_RETCODE SCIPprintNlRow | ( | SCIP * | scip, |
SCIP_NLROW * | nlrow, | ||
FILE * | file ) |
prints a nonlinear row to file stream
scip | SCIP data structure |
nlrow | NLP row |
file | output file (or NULL for standard output) |
Definition at line 1601 of file scip_nlp.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPnlrowPrint(), and TRUE.
Referenced by computeCut(), findAndStoreEcAggregations(), findPointPosition(), generateCut(), and separateCuts().