Scippy

SCIP

Solving Constraint Integer Programs

SCIP_NlRow Struct Reference

Detailed Description

NLP row

Definition at line 62 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_HASHMAPquadvarshash
 
int nquadelems
 
int quadelemssize
 
SCIP_QUADELEMquadelems
 
SCIP_Bool quadelemssorted
 
SCIP_EXPRTREEexprtree
 
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
 

Field Documentation

int SCIP_NlRow::linvarssize

size of arrays storing linear part of row

Definition at line 73 of file struct_nlp.h.

Referenced by SCIPnlrowEnsureLinearSize().

SCIP_Bool SCIP_NlRow::linvarssorted

are the linear coefficients sorted (by variable indices?)

Definition at line 76 of file struct_nlp.h.

Referenced by nlpDelVarPos(), nlrowAddLinearCoef(), nlrowDelLinearCoefPos(), nlrowMoveLinearCoef(), nlrowRemoveFixedLinearCoefPos(), nlrowSortLinear(), and SCIPnlrowCreateCopy().

int SCIP_NlRow::quadvarssize

size of array storing quadratic variables of row

Definition at line 80 of file struct_nlp.h.

Referenced by nlrowRemoveFixedQuadVars(), and SCIPnlrowEnsureQuadVarsSize().

SCIP_HASHMAP* SCIP_NlRow::quadvarshash

hash map from variable to indices in quadvars

Definition at line 82 of file struct_nlp.h.

Referenced by nlrowRemoveFixedQuadVars(), nlrowSetupQuadVarsHash(), SCIPnlpGetVarsNonlinearity(), SCIPnlrowAddQuadVar(), and SCIPnlrowSearchQuadVar().

int SCIP_NlRow::quadelemssize

size of quadratic elements array

Definition at line 84 of file struct_nlp.h.

Referenced by nlrowRemoveFixedQuadVars(), and SCIPnlrowEnsureQuadElementsSize().

SCIP_Bool SCIP_NlRow::quadelemssorted

are the quadratic elements sorted?

Definition at line 86 of file struct_nlp.h.

Referenced by nlrowAddQuadElement(), nlrowDelQuadElemPos(), nlrowMoveQuadElement(), nlrowRemoveFixedQuadVars(), nlrowSortQuadElem(), and SCIPnlrowCreateCopy().

int SCIP_NlRow::nuses

number of times, this row is referenced

Definition at line 93 of file struct_nlp.h.

Referenced by SCIPnlrowCapture().

SCIP_Real SCIP_NlRow::activity
SCIP_Real SCIP_NlRow::pseudoactivity

row activity value in pseudo solution, or SCIP_INVALID if not yet calculated

Definition at line 96 of file struct_nlp.h.

Referenced by nlrowConstantChanged(), nlrowExprtreeChanged(), nlrowExprtreeParamChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), SCIPnlrowCreateCopy(), SCIPnlrowGetPseudoActivity(), and SCIPnlrowRecalcPseudoActivity().

SCIP_Longint SCIP_NlRow::validpsactivitydomchg
SCIP_Real SCIP_NlRow::minactivity
SCIP_Real SCIP_NlRow::maxactivity
SCIP_Longint SCIP_NlRow::validactivitybdsdomchg
SCIP_Real SCIP_NlRow::dualsol

dual value associated with row in last NLP solve

Definition at line 103 of file struct_nlp.h.

Referenced by nlpSolve(), and SCIPnlrowGetDualsol().