current NLP data
Definition at line 100 of file struct_nlp.h.
#include <struct_nlp.h>
Data Fields | |
SCIP_NLPI * | solver |
SCIP_NLPIPROBLEM * | problem |
int | nunflushedvaradd |
int | nunflushedvardel |
int | nunflushednlrowadd |
int | nunflushednlrowdel |
SCIP_Bool | indiving |
int | nvars |
int | sizevars |
SCIP_VAR ** | vars |
SCIP_HASHMAP * | varhash |
int | nvars_solver |
int | sizevars_solver |
int * | varmap_nlp2nlpi |
int * | varmap_nlpi2nlp |
int | nnlrows |
int | sizenlrows |
SCIP_NLROW ** | nlrows |
int | nnlrowlinear |
int | nnlrowconvexineq |
int | nnlrownonconvexineq |
int | nnlrownonlineareq |
int | nnlrows_solver |
int | sizenlrows_solver |
int * | nlrowmap_nlpi2nlp |
SCIP_Bool | objflushed |
SCIP_NLROW * | divingobj |
SCIP_Bool | haveinitguess |
SCIP_Real * | initialguess |
SCIP_Real | primalsolobjval |
SCIP_NLPSOLSTAT | solstat |
SCIP_NLPTERMSTAT | termstat |
SCIP_Real * | varlbdualvals |
SCIP_Real * | varubdualvals |
SCIP_EVENTHDLR * | eventhdlr |
int | globalfilterpos |
SCIP_VAR ** | fracvars |
SCIP_Real * | fracvarssol |
SCIP_Real * | fracvarsfrac |
int | nfracvars |
int | npriofracvars |
int | fracvarssize |
SCIP_Longint | validfracvars |
char * | name |
SCIP_NLPI* SCIP_Nlp::solver |
interface to NLP solver, or NULL if no NLP solvers are available
Definition at line 103 of file struct_nlp.h.
Referenced by nlpFlushNlRowAdditions(), nlpFlushNlRowDeletions(), nlpFlushObjective(), nlpFlushVarAdditions(), nlpFlushVarDeletions(), nlpSolve(), nlpUpdateObjCoef(), nlpUpdateVarBounds(), nlrowConstantChanged(), nlrowLinearCoefChanged(), nlrowSideChanged(), SCIPnlpChgVarBoundsDive(), SCIPnlpChgVarObjDive(), SCIPnlpChgVarsBoundsDive(), SCIPnlpEndDive(), SCIPnlpGetNLPI(), SCIPnlpGetStatistics(), SCIPnlpSetInitialGuess(), and SCIPnlpStartDive().
SCIP_NLPIPROBLEM* SCIP_Nlp::problem |
problem in NLP solver
Definition at line 104 of file struct_nlp.h.
Referenced by nlpFlushNlRowAdditions(), nlpFlushNlRowDeletions(), nlpFlushObjective(), nlpFlushVarAdditions(), nlpFlushVarDeletions(), nlpSolve(), nlpUpdateObjCoef(), nlpUpdateVarBounds(), nlrowConstantChanged(), nlrowLinearCoefChanged(), nlrowSideChanged(), SCIPnlpChgVarBoundsDive(), SCIPnlpChgVarObjDive(), SCIPnlpChgVarsBoundsDive(), SCIPnlpEndDive(), SCIPnlpGetNLPIProblem(), SCIPnlpGetStatistics(), and SCIPnlpSetInitialGuess().
int SCIP_Nlp::nunflushedvaradd |
number of variable additions not flushed to NLPI problem yet
Definition at line 107 of file struct_nlp.h.
Referenced by nlpAddVars(), nlpDelVarPos(), nlpFlushNlRowAdditions(), nlpFlushObjective(), nlpFlushVarAdditions(), and SCIPnlpFlush().
int SCIP_Nlp::nunflushedvardel |
number of variable deletions not flushed to NLPI problem yet
Definition at line 108 of file struct_nlp.h.
Referenced by nlpDelVarPos(), nlpFlushNlRowAdditions(), nlpFlushObjective(), nlpFlushVarDeletions(), and SCIPnlpFlush().
int SCIP_Nlp::nunflushednlrowadd |
number of nonlinear row additions not flushed to NLPI problem yet
Definition at line 109 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpDelNlRowPos(), nlpFlushNlRowAdditions(), and SCIPnlpFlush().
int SCIP_Nlp::nunflushednlrowdel |
number of nonlinear row deletions not flushed to NLPI problem yet
Definition at line 110 of file struct_nlp.h.
Referenced by nlpDelNlRowPos(), nlpFlushNlRowDeletions(), nlpFlushVarDeletions(), and SCIPnlpFlush().
SCIP_Bool SCIP_Nlp::indiving |
are we currently in diving mode?
Definition at line 111 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpAddVars(), nlpDelNlRowPos(), nlpDelVarPos(), nlpFlushNlRowAdditions(), nlpFlushNlRowDeletions(), nlpFlushObjective(), nlpFlushVarAdditions(), nlpFlushVarDeletions(), nlpRemoveFixedVar(), nlpRowChanged(), nlpSolve(), nlpUpdateObjCoef(), nlpUpdateVarBounds(), SCIPnlpAddNlRow(), SCIPnlpAddNlRows(), SCIPnlpAddVar(), SCIPnlpAddVars(), SCIPnlpChgVarBoundsDive(), SCIPnlpChgVarObjDive(), SCIPnlpChgVarsBoundsDive(), SCIPnlpDelNlRow(), SCIPnlpDelVar(), SCIPnlpEndDive(), SCIPnlpFlush(), SCIPnlpGetPseudoObjval(), SCIPnlpIsDiving(), SCIPnlpRemoveRedundantNlRows(), SCIPnlpReset(), SCIPnlpSolve(), and SCIPnlpStartDive().
int SCIP_Nlp::nvars |
number of variables
Definition at line 114 of file struct_nlp.h.
Referenced by nlpAddVars(), nlpCalcFracVars(), nlpDelVarPos(), nlpFlushVarAdditions(), nlpFlushVarDeletions(), nlpSolve(), SCIPnlpChgVarObjDive(), SCIPnlpEndDive(), SCIPnlpEnsureVarsSize(), SCIPnlpFlush(), SCIPnlpGetNVars(), SCIPnlpGetPseudoObjval(), SCIPnlpGetVarsNonlinearity(), SCIPnlpReset(), SCIPnlpSetInitialGuess(), and SCIPnlpWrite().
int SCIP_Nlp::sizevars |
allocated space for variables
Definition at line 115 of file struct_nlp.h.
Referenced by nlpAddVars(), SCIPnlpEnsureVarsSize(), SCIPnlpReset(), and SCIPnlpSetInitialGuess().
SCIP_VAR** SCIP_Nlp::vars |
variables
Definition at line 116 of file struct_nlp.h.
Referenced by nlpAddVars(), nlpCalcFracVars(), nlpDelVarPos(), nlpFlushObjective(), nlpFlushVarAdditions(), nlpMoveVar(), nlpSolve(), SCIPnlpChgVarObjDive(), SCIPnlpEndDive(), SCIPnlpEnsureVarsSize(), SCIPnlpGetPseudoObjval(), SCIPnlpGetVars(), and SCIPnlpWrite().
SCIP_HASHMAP* SCIP_Nlp::varhash |
variable hash: map SCIP_VAR* to index of variable in NLP
Definition at line 117 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpAddVars(), nlpDelVarPos(), nlpMoveVar(), nlpRemoveFixedVar(), nlpSetupNlpiIndices(), nlpUpdateObjCoef(), nlpUpdateVarBounds(), nlrowLinearCoefChanged(), SCIP_DECL_EXPR_MAPEXPR(), SCIPnlpAddVar(), SCIPnlpChgVarBoundsDive(), SCIPnlpChgVarObjDive(), SCIPnlpChgVarsBoundsDive(), SCIPnlpDelVar(), and SCIPnlpGetVarsNonlinearity().
int SCIP_Nlp::nvars_solver |
number of variables in NLPI problem
Definition at line 119 of file struct_nlp.h.
Referenced by nlpEnsureVarsSolverSize(), nlpFlushObjective(), nlpFlushVarAdditions(), nlpFlushVarDeletions(), nlpSolve(), SCIP_DECL_EXPR_MAPEXPR(), SCIPnlpEndDive(), and SCIPnlpFlush().
int SCIP_Nlp::sizevars_solver |
allocated space for variables in NLPI problem
Definition at line 120 of file struct_nlp.h.
Referenced by nlpEnsureVarsSolverSize().
int* SCIP_Nlp::varmap_nlp2nlpi |
index of variables in NLPI problem, or -1 if variable has not been added to NLPI problem yet
Definition at line 121 of file struct_nlp.h.
Referenced by nlpAddVars(), nlpDelVarPos(), nlpFlushVarAdditions(), nlpFlushVarDeletions(), nlpMoveVar(), nlpSetupNlpiIndices(), nlpSolve(), nlpUpdateObjCoef(), nlpUpdateVarBounds(), nlrowLinearCoefChanged(), SCIP_DECL_EXPR_MAPEXPR(), SCIPnlpChgVarBoundsDive(), SCIPnlpChgVarObjDive(), SCIPnlpChgVarsBoundsDive(), and SCIPnlpEnsureVarsSize().
int* SCIP_Nlp::varmap_nlpi2nlp |
index of a NLPI problem variable in NLP (varmap_nlp2nlpi[varmap_nlpi2nlp[i]] == i
for i = 0..nvars_solver-1
), or -1 if variable has been deleted from NLP
Definition at line 122 of file struct_nlp.h.
Referenced by nlpDelVarPos(), nlpEnsureVarsSolverSize(), nlpFlushObjective(), nlpFlushVarAdditions(), nlpFlushVarDeletions(), nlpMoveVar(), nlpSolve(), and SCIPnlpEndDive().
int SCIP_Nlp::nnlrows |
number of nonlinear rows
Definition at line 125 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpDelNlRowPos(), nlpDelVarPos(), nlpFlushNlRowAdditions(), nlpFlushNlRowDeletions(), nlpRemoveFixedVar(), nlpSolve(), SCIPnlpDelNlRow(), SCIPnlpEnsureNlRowsSize(), SCIPnlpFlush(), SCIPnlpGetNNlRows(), SCIPnlpGetVarsNonlinearity(), SCIPnlpHasContinuousNonlinearity(), SCIPnlpRemoveRedundantNlRows(), SCIPnlpReset(), and SCIPnlpWrite().
int SCIP_Nlp::sizenlrows |
allocated space for nonlinear rows
Definition at line 126 of file struct_nlp.h.
Referenced by SCIPnlpEnsureNlRowsSize().
SCIP_NLROW** SCIP_Nlp::nlrows |
nonlinear rows
Definition at line 127 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpDelNlRowPos(), nlpDelVarPos(), nlpFlushNlRowAdditions(), nlpFlushNlRowDeletions(), nlpMoveNlrow(), nlpRemoveFixedVar(), nlpSolve(), SCIPnlpEnsureNlRowsSize(), SCIPnlpGetNlRows(), SCIPnlpGetVarsNonlinearity(), SCIPnlpHasContinuousNonlinearity(), SCIPnlpRemoveRedundantNlRows(), and SCIPnlpWrite().
int SCIP_Nlp::nnlrowlinear |
number of linear rows in NLP
Definition at line 128 of file struct_nlp.h.
Referenced by nlrowAddToStat(), and SCIPnlpGetNlRowsStat().
int SCIP_Nlp::nnlrowconvexineq |
number of convex one-sided inequalities in NLP
Definition at line 129 of file struct_nlp.h.
Referenced by nlrowAddToStat(), and SCIPnlpGetNlRowsStat().
int SCIP_Nlp::nnlrownonconvexineq |
number of nonconvex one-sided inequalities in NLP
Definition at line 130 of file struct_nlp.h.
Referenced by nlrowAddToStat(), and SCIPnlpGetNlRowsStat().
int SCIP_Nlp::nnlrownonlineareq |
number of nonlinear equalities and two-sided inequalities in NLP
Definition at line 131 of file struct_nlp.h.
Referenced by nlrowAddToStat(), and SCIPnlpGetNlRowsStat().
int SCIP_Nlp::nnlrows_solver |
number of nonlinear rows in solver
Definition at line 133 of file struct_nlp.h.
Referenced by nlpDelNlRowPos(), nlpEnsureNlRowsSolverSize(), nlpFlushNlRowAdditions(), nlpFlushNlRowDeletions(), and SCIPnlpFlush().
int SCIP_Nlp::sizenlrows_solver |
allocated space for nonlinear rows in solver
Definition at line 134 of file struct_nlp.h.
Referenced by nlpEnsureNlRowsSolverSize(), and nlpMoveNlrow().
int* SCIP_Nlp::nlrowmap_nlpi2nlp |
index of a NLPI row in NLP (nlrows[nlrowmap_nlpi2nlp[i]]->nlpiidx == i
for i = 0..nnlrows_solver-1
), or -1 if row has been deleted from NLP
Definition at line 135 of file struct_nlp.h.
Referenced by nlpDelNlRowPos(), nlpEnsureNlRowsSolverSize(), nlpFlushNlRowAdditions(), nlpFlushNlRowDeletions(), and nlpMoveNlrow().
SCIP_Bool SCIP_Nlp::objflushed |
is the objective in the NLPI up to date?
Definition at line 138 of file struct_nlp.h.
Referenced by nlpFlushObjective(), nlpFlushVarAdditions(), nlpUpdateObjCoef(), SCIPnlpChgVarObjDive(), SCIPnlpEndDive(), and SCIPnlpFlush().
SCIP_NLROW* SCIP_Nlp::divingobj |
objective function during diving
Definition at line 139 of file struct_nlp.h.
Referenced by nlpSolve(), SCIPnlpChgVarObjDive(), SCIPnlpEndDive(), SCIPnlpGetPseudoObjval(), and SCIPnlpIsDivingObjChanged().
SCIP_Bool SCIP_Nlp::haveinitguess |
is an initial guess available?
Definition at line 142 of file struct_nlp.h.
Referenced by nlpAddVars(), nlpSolve(), SCIPnlpReset(), and SCIPnlpSetInitialGuess().
SCIP_Real* SCIP_Nlp::initialguess |
initial guess of primal values to use in next NLP solve, if available
Definition at line 143 of file struct_nlp.h.
Referenced by nlpAddVars(), nlpMoveVar(), nlpSolve(), SCIPnlpEnsureVarsSize(), SCIPnlpReset(), and SCIPnlpSetInitialGuess().
SCIP_Real SCIP_Nlp::primalsolobjval |
objective function value of primal solution
Definition at line 146 of file struct_nlp.h.
Referenced by nlpAddVars(), nlpDelVarPos(), nlpSolve(), SCIPnlpEndDive(), and SCIPnlpGetObjval().
SCIP_NLPSOLSTAT SCIP_Nlp::solstat |
status of NLP solution (feasible, optimal, unknown...)
Definition at line 147 of file struct_nlp.h.
Referenced by nlpAddNlRows(), nlpAddVars(), nlpCalcFracVars(), nlpDelNlRowPos(), nlpDelVarPos(), nlpRowChanged(), nlpSolve(), nlpUpdateObjCoef(), nlpUpdateVarBounds(), SCIPnlpEndDive(), SCIPnlpGetSolstat(), SCIPnlpHasSolution(), SCIPnlpRemoveRedundantNlRows(), SCIPnlpReset(), and SCIPnlrowRecalcNLPActivity().
SCIP_NLPTERMSTAT SCIP_Nlp::termstat |
termination status of NLP (normal, some limit reached, ...)
Definition at line 148 of file struct_nlp.h.
Referenced by nlpSolve(), SCIPnlpEndDive(), SCIPnlpGetTermstat(), and SCIPnlpReset().
SCIP_Real* SCIP_Nlp::varlbdualvals |
dual values associated with variable lower bounds
Definition at line 149 of file struct_nlp.h.
Referenced by nlpAddVars(), nlpMoveVar(), nlpSolve(), SCIPnlpEnsureVarsSize(), and SCIPnlpGetVarsLbDualsol().
SCIP_Real* SCIP_Nlp::varubdualvals |
dual values associated with variable upper bounds
Definition at line 150 of file struct_nlp.h.
Referenced by nlpAddVars(), nlpMoveVar(), nlpSolve(), SCIPnlpEnsureVarsSize(), and SCIPnlpGetVarsUbDualsol().
SCIP_EVENTHDLR* SCIP_Nlp::eventhdlr |
event handler for bound change events
Definition at line 153 of file struct_nlp.h.
Referenced by nlpAddVars(), and nlpDelVarPos().
int SCIP_Nlp::globalfilterpos |
position of event handler in event handler filter
Definition at line 154 of file struct_nlp.h.
SCIP_VAR** SCIP_Nlp::fracvars |
fractional variables
Definition at line 157 of file struct_nlp.h.
Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().
SCIP_Real* SCIP_Nlp::fracvarssol |
values of the fractional variables
Definition at line 158 of file struct_nlp.h.
Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().
SCIP_Real* SCIP_Nlp::fracvarsfrac |
fractionality of the fractional variables
Definition at line 159 of file struct_nlp.h.
Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().
int SCIP_Nlp::nfracvars |
number of fractional variables
Definition at line 160 of file struct_nlp.h.
Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().
int SCIP_Nlp::npriofracvars |
number of fractional variables with highest branching priority
Definition at line 161 of file struct_nlp.h.
Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().
int SCIP_Nlp::fracvarssize |
size of fracvars arrays
Definition at line 162 of file struct_nlp.h.
Referenced by nlpCalcFracVars().
SCIP_Longint SCIP_Nlp::validfracvars |
the NLP solve for which the fractional variables are valid, or -1 if never setup
Definition at line 163 of file struct_nlp.h.
Referenced by nlpCalcFracVars().
char* SCIP_Nlp::name |