Detailed Description
NLP row
Definition at line 63 of file struct_nlp.h.
#include <struct_nlp.h>
Data Fields | |
SCIP_Real | lhs |
SCIP_Real | rhs |
SCIP_Real | constant |
int | nlinvars |
int | linvarssize |
SCIP_VAR ** | linvars |
double * | lincoefs |
SCIP_Bool | linvarssorted |
int | nquadvars |
int | quadvarssize |
SCIP_VAR ** | quadvars |
SCIP_HASHMAP * | quadvarshash |
int | nquadelems |
int | quadelemssize |
SCIP_QUADELEM * | quadelems |
SCIP_Bool | quadelemssorted |
SCIP_EXPRTREE * | exprtree |
char * | name |
int | nuses |
SCIP_Real | activity |
SCIP_Longint | validactivitynlp |
SCIP_Real | pseudoactivity |
SCIP_Longint | validpsactivitydomchg |
SCIP_Real | minactivity |
SCIP_Real | maxactivity |
SCIP_Longint | validactivitybdsdomchg |
int | nlpindex |
int | nlpiindex |
SCIP_Real | dualsol |
SCIP_EXPRCURV | curvature |
Field Documentation
◆ lhs
SCIP_Real SCIP_NlRow::lhs |
left hand side
Definition at line 66 of file struct_nlp.h.
Referenced by nlpFlushNlRowAdditions(), nlrowConstantChanged(), nlrowSideChanged(), SCIPnlrowChgLhs(), SCIPnlrowCreateCopy(), SCIPnlrowGetLhs(), SCIPnlrowGetNLPFeasibility(), SCIPnlrowGetPseudoFeasibility(), SCIPnlrowGetSolFeasibility(), SCIPnlrowIsRedundant(), and SCIPnlrowPrint().
◆ rhs
SCIP_Real SCIP_NlRow::rhs |
right hand side
Definition at line 67 of file struct_nlp.h.
Referenced by nlpFlushNlRowAdditions(), nlrowConstantChanged(), nlrowSideChanged(), SCIPnlrowChgRhs(), SCIPnlrowCreateCopy(), SCIPnlrowGetNLPFeasibility(), SCIPnlrowGetPseudoFeasibility(), SCIPnlrowGetRhs(), SCIPnlrowGetSolFeasibility(), SCIPnlrowIsRedundant(), and SCIPnlrowPrint().
◆ constant
SCIP_Real SCIP_NlRow::constant |
constant value
Definition at line 70 of file struct_nlp.h.
Referenced by nlpFlushNlRowAdditions(), nlrowAddToLinearCoef(), nlrowCalcActivityBounds(), nlrowConstantChanged(), nlrowRemoveFixedExprtreeVars(), nlrowRemoveFixedLinearCoefPos(), nlrowRemoveFixedQuadVars(), nlrowSideChanged(), SCIPnlrowAddLinearCoef(), SCIPnlrowChgConstant(), SCIPnlrowCreateCopy(), SCIPnlrowGetConstant(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), and SCIPnlrowRecalcPseudoActivity().
◆ nlinvars
int SCIP_NlRow::nlinvars |
number of linear variables
Definition at line 73 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpDelVarPos(), nlpFlushNlRowAdditions(), nlpSetupNlpiIndices(), nlrowAddLinearCoef(), nlrowCalcActivityBounds(), nlrowDelLinearCoefPos(), nlrowRemoveFixedLinearCoefPos(), nlrowRemoveFixedLinearCoefs(), nlrowSearchLinearCoef(), nlrowSortLinear(), SCIPnlrowCreateCopy(), SCIPnlrowEnsureLinearSize(), SCIPnlrowGetNLinearVars(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), and SCIPnlrowRecalcPseudoActivity().
◆ linvarssize
int SCIP_NlRow::linvarssize |
size of arrays storing linear part of row
Definition at line 74 of file struct_nlp.h.
Referenced by SCIPnlrowEnsureLinearSize().
◆ linvars
SCIP_VAR** SCIP_NlRow::linvars |
linear variables
Definition at line 75 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpDelVarPos(), nlpSetupNlpiIndices(), nlrowAddLinearCoef(), nlrowAddToLinearCoef(), nlrowCalcActivityBounds(), nlrowChgLinearCoefPos(), nlrowDelLinearCoefPos(), nlrowMoveLinearCoef(), nlrowRemoveFixedLinearCoefPos(), nlrowRemoveFixedLinearCoefs(), nlrowSearchLinearCoef(), nlrowSortLinear(), SCIPnlrowCreateCopy(), SCIPnlrowDelLinearCoef(), SCIPnlrowEnsureLinearSize(), SCIPnlrowGetLinearVars(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), and SCIPnlrowRecalcPseudoActivity().
◆ lincoefs
double* SCIP_NlRow::lincoefs |
coefficients of linear variables
Definition at line 76 of file struct_nlp.h.
Referenced by nlpFlushNlRowAdditions(), nlpSetupNlpiIndices(), nlrowAddLinearCoef(), nlrowAddToLinearCoef(), nlrowCalcActivityBounds(), nlrowChgLinearCoefPos(), nlrowMoveLinearCoef(), nlrowRemoveFixedLinearCoefPos(), nlrowSortLinear(), SCIPnlrowCreateCopy(), SCIPnlrowEnsureLinearSize(), SCIPnlrowGetLinearCoefs(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), and SCIPnlrowRecalcPseudoActivity().
◆ linvarssorted
SCIP_Bool SCIP_NlRow::linvarssorted |
are the linear coefficients sorted (by variable indices?)
Definition at line 77 of file struct_nlp.h.
Referenced by nlpDelVarPos(), nlrowAddLinearCoef(), nlrowDelLinearCoefPos(), nlrowMoveLinearCoef(), nlrowRemoveFixedLinearCoefPos(), nlrowSortLinear(), and SCIPnlrowCreateCopy().
◆ nquadvars
int SCIP_NlRow::nquadvars |
number of variables in quadratic terms
Definition at line 80 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpFlushNlRowAdditions(), nlpSetupNlpiIndices(), nlrowAddQuadElement(), nlrowaggrCreate(), nlrowQuadElemChanged(), nlrowRemoveFixedQuadVars(), nlrowSetupQuadVarsHash(), SCIPnlpGetVarsNonlinearity(), SCIPnlpHasContinuousNonlinearity(), SCIPnlrowAddQuadVar(), SCIPnlrowCreateCopy(), SCIPnlrowEnsureQuadVarsSize(), SCIPnlrowGetNQuadVars(), SCIPnlrowGetQuadData(), and SCIPnlrowSearchQuadVar().
◆ quadvarssize
int SCIP_NlRow::quadvarssize |
size of array storing quadratic variables of row
Definition at line 81 of file struct_nlp.h.
Referenced by nlrowRemoveFixedQuadVars(), and SCIPnlrowEnsureQuadVarsSize().
◆ quadvars
SCIP_VAR** SCIP_NlRow::quadvars |
variables in quadratic term
Definition at line 82 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpSetupNlpiIndices(), nlrowAddQuadElement(), nlrowCalcActivityBounds(), nlrowQuadElemChanged(), nlrowRemoveFixedQuadVars(), nlrowSetupQuadVarsHash(), SCIPnlpGetVarsNonlinearity(), SCIPnlpHasContinuousNonlinearity(), SCIPnlrowAddQuadVar(), SCIPnlrowCreateCopy(), SCIPnlrowEnsureQuadVarsSize(), SCIPnlrowGetQuadData(), SCIPnlrowGetQuadVars(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), SCIPnlrowRecalcPseudoActivity(), and SCIPnlrowSearchQuadVar().
◆ quadvarshash
SCIP_HASHMAP* SCIP_NlRow::quadvarshash |
hash map from variable to indices in quadvars
Definition at line 83 of file struct_nlp.h.
Referenced by nlrowRemoveFixedQuadVars(), nlrowSetupQuadVarsHash(), SCIPnlpGetVarsNonlinearity(), SCIPnlrowAddQuadVar(), and SCIPnlrowSearchQuadVar().
◆ nquadelems
int SCIP_NlRow::nquadelems |
number of entries in quadratic matrix
Definition at line 84 of file struct_nlp.h.
Referenced by nlpFlushNlRowAdditions(), nlpSetupNlpiIndices(), nlrowAddQuadElement(), nlrowCalcActivityBounds(), nlrowDelQuadElemPos(), nlrowRemoveFixedQuadVars(), nlrowSearchQuadElem(), nlrowSortQuadElem(), SCIPnlrowCreateCopy(), SCIPnlrowEnsureQuadElementsSize(), SCIPnlrowGetNQuadElems(), SCIPnlrowGetQuadData(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), and SCIPnlrowRecalcPseudoActivity().
◆ quadelemssize
int SCIP_NlRow::quadelemssize |
size of quadratic elements array
Definition at line 85 of file struct_nlp.h.
Referenced by nlrowRemoveFixedQuadVars(), and SCIPnlrowEnsureQuadElementsSize().
◆ quadelems
SCIP_QUADELEM* SCIP_NlRow::quadelems |
entries in quadratic matrix
Definition at line 86 of file struct_nlp.h.
Referenced by nlpSetupNlpiIndices(), nlrowAddQuadElement(), nlrowCalcActivityBounds(), nlrowChgQuadElemPos(), nlrowDelQuadElemPos(), nlrowMoveQuadElement(), nlrowRemoveFixedQuadVars(), nlrowSearchQuadElem(), nlrowSortQuadElem(), SCIPnlrowCreateCopy(), SCIPnlrowEnsureQuadElementsSize(), SCIPnlrowGetQuadData(), SCIPnlrowGetQuadElems(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), and SCIPnlrowRecalcPseudoActivity().
◆ quadelemssorted
SCIP_Bool SCIP_NlRow::quadelemssorted |
are the quadratic elements sorted?
Definition at line 87 of file struct_nlp.h.
Referenced by nlrowAddQuadElement(), nlrowDelQuadElemPos(), nlrowMoveQuadElement(), nlrowRemoveFixedQuadVars(), nlrowSortQuadElem(), and SCIPnlrowCreateCopy().
◆ exprtree
SCIP_EXPRTREE* SCIP_NlRow::exprtree |
expression tree representing nonquadratic part
Definition at line 90 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpDelVarPos(), nlpFlushNlRowAdditions(), nlpSetupNlpiIndices(), nlrowCalcActivityBounds(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowRemoveFixedExprtreeVars(), nlrowRemoveFixedVar(), SCIPnlpGetVarsNonlinearity(), SCIPnlpHasContinuousNonlinearity(), SCIPnlrowChgExprtree(), SCIPnlrowChgExprtreeParam(), SCIPnlrowChgExprtreeParams(), SCIPnlrowCreateCopy(), SCIPnlrowGetExprtree(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), and SCIPnlrowRecalcPseudoActivity().
◆ name
char* SCIP_NlRow::name |
name
Definition at line 93 of file struct_nlp.h.
Referenced by nlpFlushNlRowAdditions(), nlrowAddLinearCoef(), nlrowAddQuadElement(), SCIPnlrowCapture(), SCIPnlrowCreateCopy(), SCIPnlrowDelLinearCoef(), SCIPnlrowDelQuadElement(), SCIPnlrowGetName(), and SCIPnlrowPrint().
◆ nuses
int SCIP_NlRow::nuses |
number of times, this row is referenced
Definition at line 94 of file struct_nlp.h.
Referenced by SCIPnlrowCapture().
◆ activity
SCIP_Real SCIP_NlRow::activity |
row activity value in NLP, or SCIP_INVALID if not yet calculated
Definition at line 95 of file struct_nlp.h.
Referenced by nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), SCIPnlrowCreateCopy(), SCIPnlrowGetNLPActivity(), and SCIPnlrowRecalcNLPActivity().
◆ validactivitynlp
SCIP_Longint SCIP_NlRow::validactivitynlp |
NLP number for which activity value is valid
Definition at line 96 of file struct_nlp.h.
Referenced by nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), SCIPnlrowCreateCopy(), SCIPnlrowGetNLPActivity(), and SCIPnlrowRecalcNLPActivity().
◆ pseudoactivity
SCIP_Real SCIP_NlRow::pseudoactivity |
row activity value in pseudo solution, or SCIP_INVALID if not yet calculated
Definition at line 97 of file struct_nlp.h.
Referenced by nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), SCIPnlrowCreateCopy(), SCIPnlrowGetPseudoActivity(), and SCIPnlrowRecalcPseudoActivity().
◆ validpsactivitydomchg
SCIP_Longint SCIP_NlRow::validpsactivitydomchg |
domain change number for which pseudo activity value is valid
Definition at line 98 of file struct_nlp.h.
Referenced by nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), SCIPnlrowCreateCopy(), SCIPnlrowGetPseudoActivity(), and SCIPnlrowRecalcPseudoActivity().
◆ minactivity
SCIP_Real SCIP_NlRow::minactivity |
minimal activity value w.r.t. the variables' bounds, or SCIP_INVALID
Definition at line 99 of file struct_nlp.h.
Referenced by nlrowCalcActivityBounds(), nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), SCIPnlrowCreateCopy(), and SCIPnlrowGetActivityBounds().
◆ maxactivity
SCIP_Real SCIP_NlRow::maxactivity |
maximal activity value w.r.t. the variables' bounds, or SCIP_INVALID
Definition at line 100 of file struct_nlp.h.
Referenced by nlrowCalcActivityBounds(), nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), SCIPnlrowCreateCopy(), and SCIPnlrowGetActivityBounds().
◆ validactivitybdsdomchg
SCIP_Longint SCIP_NlRow::validactivitybdsdomchg |
domain change number for which activity bound values are valid
Definition at line 101 of file struct_nlp.h.
Referenced by nlrowCalcActivityBounds(), nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), SCIPnlrowCreateCopy(), and SCIPnlrowGetActivityBounds().
◆ nlpindex
int SCIP_NlRow::nlpindex |
index of this row in NLP, or -1 if not added
Definition at line 102 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpDelNlRowPos(), nlpFlushNlRowDeletions(), nlpMoveNlrow(), nlpRowChanged(), nlrowAddLinearCoef(), nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), nlrowSideChanged(), SCIPnlpDelNlRow(), SCIPnlrowAddLinearCoef(), SCIPnlrowAddQuadVar(), SCIPnlrowChgExprtree(), SCIPnlrowDelLinearCoef(), SCIPnlrowGetNLPPos(), and SCIPnlrowIsInNLP().
◆ nlpiindex
int SCIP_NlRow::nlpiindex |
index of this row in NLPI problem, or -1 if not in there
Definition at line 103 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpDelNlRowPos(), nlpFlushNlRowAdditions(), nlpFlushNlRowDeletions(), nlpMoveNlrow(), nlpSolve(), nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), nlrowSideChanged(), and SCIPnlrowGetDualsol().
◆ dualsol
SCIP_Real SCIP_NlRow::dualsol |
dual value associated with row in last NLP solve
Definition at line 104 of file struct_nlp.h.
Referenced by nlpSolve(), and SCIPnlrowGetDualsol().
◆ curvature
SCIP_EXPRCURV SCIP_NlRow::curvature |
curvature of the nonlinear row
Definition at line 105 of file struct_nlp.h.
Referenced by SCIPnlrowCreateCopy(), SCIPnlrowGetCurvature(), and SCIPnlrowSetCurvature().