Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Nlp Struct Reference

Detailed Description

current NLP data

Definition at line 91 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 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

◆ solver

◆ problem

◆ nunflushedvaradd

int SCIP_Nlp::nunflushedvaradd

number of variable additions not flushed to NLPI problem yet

Definition at line 98 of file struct_nlp.h.

Referenced by nlpAddVars(), nlpDelVarPos(), nlpFlushNlRowAdditions(), nlpFlushObjective(), nlpFlushVarAdditions(), and SCIPnlpFlush().

◆ nunflushedvardel

int SCIP_Nlp::nunflushedvardel

number of variable deletions not flushed to NLPI problem yet

Definition at line 99 of file struct_nlp.h.

Referenced by nlpDelVarPos(), nlpFlushNlRowAdditions(), nlpFlushObjective(), nlpFlushVarDeletions(), and SCIPnlpFlush().

◆ nunflushednlrowadd

int SCIP_Nlp::nunflushednlrowadd

number of nonlinear row additions not flushed to NLPI problem yet

Definition at line 100 of file struct_nlp.h.

Referenced by nlpAddNlRows(), nlpDelNlRowPos(), nlpFlushNlRowAdditions(), and SCIPnlpFlush().

◆ nunflushednlrowdel

int SCIP_Nlp::nunflushednlrowdel

number of nonlinear row deletions not flushed to NLPI problem yet

Definition at line 101 of file struct_nlp.h.

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

◆ indiving

◆ nvars

◆ sizevars

int SCIP_Nlp::sizevars

allocated space for variables

Definition at line 106 of file struct_nlp.h.

Referenced by nlpAddVars(), SCIPnlpEnsureVarsSize(), SCIPnlpReset(), and SCIPnlpSetInitialGuess().

◆ vars

◆ varhash

◆ nvars_solver

int SCIP_Nlp::nvars_solver

◆ sizevars_solver

int SCIP_Nlp::sizevars_solver

allocated space for variables in NLPI problem

Definition at line 111 of file struct_nlp.h.

Referenced by nlpEnsureVarsSolverSize().

◆ varmap_nlp2nlpi

◆ varmap_nlpi2nlp

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

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

◆ nnlrows

◆ sizenlrows

int SCIP_Nlp::sizenlrows

allocated space for nonlinear rows

Definition at line 117 of file struct_nlp.h.

Referenced by SCIPnlpEnsureNlRowsSize().

◆ nlrows

◆ nnlrows_solver

int SCIP_Nlp::nnlrows_solver

number of nonlinear rows in solver

Definition at line 120 of file struct_nlp.h.

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

◆ sizenlrows_solver

int SCIP_Nlp::sizenlrows_solver

allocated space for nonlinear rows in solver

Definition at line 121 of file struct_nlp.h.

Referenced by nlpEnsureNlRowsSolverSize(), and nlpMoveNlrow().

◆ nlrowmap_nlpi2nlp

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

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

◆ objflushed

SCIP_Bool SCIP_Nlp::objflushed

is the objective in the NLPI up to date?

Definition at line 125 of file struct_nlp.h.

Referenced by nlpFlushObjective(), nlpFlushVarAdditions(), nlpUpdateObjCoef(), SCIPnlpChgVarObjDive(), SCIPnlpEndDive(), and SCIPnlpFlush().

◆ divingobj

SCIP_NLROW* SCIP_Nlp::divingobj

objective function during diving

Definition at line 126 of file struct_nlp.h.

Referenced by nlpSolve(), SCIPnlpChgVarObjDive(), SCIPnlpEndDive(), SCIPnlpGetPseudoObjval(), and SCIPnlpIsDivingObjChanged().

◆ haveinitguess

SCIP_Bool SCIP_Nlp::haveinitguess

is an initial guess available?

Definition at line 129 of file struct_nlp.h.

Referenced by nlpAddVars(), nlpSolve(), SCIPnlpReset(), and SCIPnlpSetInitialGuess().

◆ initialguess

SCIP_Real* SCIP_Nlp::initialguess

initial guess of primal values to use in next NLP solve, if available

Definition at line 130 of file struct_nlp.h.

Referenced by nlpAddVars(), nlpMoveVar(), nlpSolve(), SCIPnlpEnsureVarsSize(), SCIPnlpReset(), and SCIPnlpSetInitialGuess().

◆ primalsolobjval

SCIP_Real SCIP_Nlp::primalsolobjval

objective function value of primal solution

Definition at line 133 of file struct_nlp.h.

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

◆ solstat

◆ termstat

SCIP_NLPTERMSTAT SCIP_Nlp::termstat

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

Definition at line 135 of file struct_nlp.h.

Referenced by nlpSolve(), SCIPnlpEndDive(), SCIPnlpGetTermstat(), and SCIPnlpReset().

◆ varlbdualvals

SCIP_Real* SCIP_Nlp::varlbdualvals

dual values associated with variable lower bounds

Definition at line 136 of file struct_nlp.h.

Referenced by nlpAddVars(), nlpMoveVar(), nlpSolve(), SCIPnlpEnsureVarsSize(), and SCIPnlpGetVarsLbDualsol().

◆ varubdualvals

SCIP_Real* SCIP_Nlp::varubdualvals

dual values associated with variable upper bounds

Definition at line 137 of file struct_nlp.h.

Referenced by nlpAddVars(), nlpMoveVar(), nlpSolve(), SCIPnlpEnsureVarsSize(), and SCIPnlpGetVarsUbDualsol().

◆ eventhdlr

SCIP_EVENTHDLR* SCIP_Nlp::eventhdlr

event handler for bound change events

Definition at line 140 of file struct_nlp.h.

Referenced by nlpAddVars(), and nlpDelVarPos().

◆ globalfilterpos

int SCIP_Nlp::globalfilterpos

position of event handler in event handler filter

Definition at line 141 of file struct_nlp.h.

◆ fracvars

SCIP_VAR** SCIP_Nlp::fracvars

fractional variables

Definition at line 144 of file struct_nlp.h.

Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().

◆ fracvarssol

SCIP_Real* SCIP_Nlp::fracvarssol

values of the fractional variables

Definition at line 145 of file struct_nlp.h.

Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().

◆ fracvarsfrac

SCIP_Real* SCIP_Nlp::fracvarsfrac

fractionality of the fractional variables

Definition at line 146 of file struct_nlp.h.

Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().

◆ nfracvars

int SCIP_Nlp::nfracvars

number of fractional variables

Definition at line 147 of file struct_nlp.h.

Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().

◆ npriofracvars

int SCIP_Nlp::npriofracvars

number of fractional variables with highest branching priority

Definition at line 148 of file struct_nlp.h.

Referenced by nlpCalcFracVars(), and SCIPnlpGetFracVars().

◆ fracvarssize

int SCIP_Nlp::fracvarssize

size of fracvars arrays

Definition at line 149 of file struct_nlp.h.

Referenced by nlpCalcFracVars().

◆ validfracvars

SCIP_Longint SCIP_Nlp::validfracvars

the NLP solve for which the fractional variables are valid, or -1 if never setup

Definition at line 150 of file struct_nlp.h.

Referenced by nlpCalcFracVars().

◆ name

char* SCIP_Nlp::name

problem name

Definition at line 153 of file struct_nlp.h.

Referenced by SCIPnlpWrite().