Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Nlp Struct Reference

Detailed Description

current NLP data

Definition at line 107 of file struct_nlp.h.

#include <struct_nlp.h>

Data Fields

SCIP_NLPIsolver
 
SCIP_NLPIPROBLEMproblem
 
int nunflushedvaradd
 
int nunflushedvardel
 
int nunflushednlrowadd
 
int nunflushednlrowdel
 
SCIP_Bool isrelax
 
SCIP_Bool indiving
 
int nvars
 
int sizevars
 
SCIP_VAR ** vars
 
SCIP_HASHMAPvarhash
 
int nvars_solver
 
int sizevars_solver
 
int * varmap_nlp2nlpi
 
int * varmap_nlpi2nlp
 
int nnlrows
 
int sizenlrows
 
SCIP_NLROW ** nlrows
 
int nnlrows_solver
 
int sizenlrows_solver
 
int * nlrowmap_nlpi2nlp
 
SCIP_Bool objflushed
 
SCIP_NLROWdivingobj
 
SCIP_Bool haveinitguess
 
SCIP_Realinitialguess
 
SCIP_Real primalsolobjval
 
SCIP_NLPSOLSTAT solstat
 
SCIP_NLPTERMSTAT termstat
 
SCIP_Realvarlbdualvals
 
SCIP_Realvarubdualvals
 
SCIP_EVENTHDLReventhdlr
 
int globalfilterpos
 
SCIP_VAR ** fracvars
 
SCIP_Realfracvarssol
 
SCIP_Realfracvarsfrac
 
int nfracvars
 
int npriofracvars
 
int fracvarssize
 
SCIP_Longint validfracvars
 
char * name
 

Field Documentation

int SCIP_Nlp::nunflushedvaradd

number of variable additions not flushed to NLPI problem yet

Definition at line 114 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 115 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 116 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 117 of file struct_nlp.h.

Referenced by nlpDelNlRowPos(), nlpFlushNlRowDeletions(), nlpFlushVarDeletions(), and SCIPnlpFlush().

SCIP_Bool SCIP_Nlp::isrelax

is the current NLP a relaxation of a SCIP problem?

Definition at line 118 of file struct_nlp.h.

int SCIP_Nlp::sizevars

allocated space for variables

Definition at line 123 of file struct_nlp.h.

Referenced by nlpAddVars(), and SCIPnlpEnsureVarsSize().

int SCIP_Nlp::nvars_solver
int SCIP_Nlp::sizevars_solver

allocated space for variables in NLPI problem

Definition at line 128 of file struct_nlp.h.

Referenced by nlpEnsureVarsSolverSize().

int* SCIP_Nlp::varmap_nlpi2nlp

index of a NLPI problem variable in NLP (varmap_nlp2nlpi[varmap_nlpi2nlp[i]] == i for i = 0..nvarssolver-1), or -1 if variable has been deleted from NLP

Definition at line 130 of file struct_nlp.h.

Referenced by nlpDelVarPos(), nlpEnsureVarsSolverSize(), nlpFlushObjective(), nlpFlushVarAdditions(), nlpFlushVarDeletions(), nlpMoveVar(), nlpSolve(), and SCIPnlpEndDive().

int SCIP_Nlp::sizenlrows

allocated space for nonlinear rows

Definition at line 134 of file struct_nlp.h.

Referenced by SCIPnlpEnsureNlRowsSize().

int SCIP_Nlp::nnlrows_solver

number of nonlinear rows in solver

Definition at line 137 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 138 of file struct_nlp.h.

Referenced by nlpEnsureNlRowsSolverSize().

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 139 of file struct_nlp.h.

Referenced by nlpDelNlRowPos(), nlpEnsureNlRowsSolverSize(), nlpFlushNlRowAdditions(), and nlpFlushNlRowDeletions().

SCIP_Bool SCIP_Nlp::objflushed

is the objective in the NLPI up to date?

Definition at line 142 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 143 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 146 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 147 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 150 of file struct_nlp.h.

Referenced by nlpAddVars(), nlpDelVarPos(), nlpSolve(), SCIPnlpEndDive(), and SCIPnlpGetObjval().

SCIP_NLPTERMSTAT SCIP_Nlp::termstat

termination status of NLP (normal, some limit reached, ...)

Definition at line 152 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 153 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 154 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 157 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 158 of file struct_nlp.h.

SCIP_VAR** SCIP_Nlp::fracvars

fractional variables

Definition at line 161 of file struct_nlp.h.

Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().

SCIP_Real* SCIP_Nlp::fracvarssol

values of the fractional variables

Definition at line 162 of file struct_nlp.h.

Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().

SCIP_Real* SCIP_Nlp::fracvarsfrac

fractionality of the fractional variables

Definition at line 163 of file struct_nlp.h.

Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().

int SCIP_Nlp::nfracvars

number of fractional variables

Definition at line 164 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 165 of file struct_nlp.h.

Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().

int SCIP_Nlp::fracvarssize

size of fracvars* arrays

Definition at line 166 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 167 of file struct_nlp.h.

Referenced by nlpCalcFracVars().

char* SCIP_Nlp::name

problem name

Definition at line 170 of file struct_nlp.h.

Referenced by SCIPnlpWrite().