Scippy

SCIP

Solving Constraint Integer Programs

SCIP_NlpiProblem Struct Reference

Detailed Description

Definition at line 127 of file nlpi_ipopt.cpp.

Public Member Functions

 SCIP_NlpiProblem ()
 

Data Fields

SCIP_NLPIORACLEoracle
 
SmartPtr< IpoptApplication > ipopt
 
SmartPtr< ScipNLP > nlp
 
std::string optfile
 
bool storeintermediate
 
bool fastfail
 
SCIP_Bool firstrun
 
SCIP_Realinitguess
 
SCIP_NLPSOLSTAT lastsolstat
 
SCIP_NLPTERMSTAT lasttermstat
 
SCIP_Reallastsolprimals
 
SCIP_Reallastsoldualcons
 
SCIP_Reallastsoldualvarlb
 
SCIP_Reallastsoldualvarub
 
SCIP_Real lastsolinfeas
 
int lastniter
 
SCIP_Real lasttime
 

Constructor & Destructor Documentation

◆ SCIP_NlpiProblem()

Field Documentation

◆ oracle

SCIP_NLPIORACLE* SCIP_NlpiProblem::oracle

Oracle-helper to store and evaluate NLP

Definition at line 130 of file nlpi_ipopt.cpp.

Referenced by SCIPgetNlpiOracleIpopt().

◆ ipopt

SmartPtr<IpoptApplication> SCIP_NlpiProblem::ipopt

Ipopt application

Definition at line 132 of file nlpi_ipopt.cpp.

Referenced by SCIPgetIpoptApplicationPointerIpopt(), and setFeastol().

◆ nlp

SmartPtr<ScipNLP> SCIP_NlpiProblem::nlp

NLP in Ipopt form

Definition at line 133 of file nlpi_ipopt.cpp.

◆ optfile

std::string SCIP_NlpiProblem::optfile

name of options file

Definition at line 134 of file nlpi_ipopt.cpp.

◆ storeintermediate

bool SCIP_NlpiProblem::storeintermediate

whether to store intermediate solutions

Definition at line 135 of file nlpi_ipopt.cpp.

◆ fastfail

bool SCIP_NlpiProblem::fastfail

whether to stop Ipopt if convergence seems slow

Definition at line 136 of file nlpi_ipopt.cpp.

◆ firstrun

SCIP_Bool SCIP_NlpiProblem::firstrun

whether the next NLP solve will be the first one (with the current problem structure)

Definition at line 138 of file nlpi_ipopt.cpp.

◆ initguess

SCIP_Real* SCIP_NlpiProblem::initguess

initial values for primal variables, or NULL if not known

Definition at line 139 of file nlpi_ipopt.cpp.

◆ lastsolstat

SCIP_NLPSOLSTAT SCIP_NlpiProblem::lastsolstat

solution status from last run

Definition at line 141 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

◆ lasttermstat

SCIP_NLPTERMSTAT SCIP_NlpiProblem::lasttermstat

termination status from last run

Definition at line 142 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

◆ lastsolprimals

SCIP_Real* SCIP_NlpiProblem::lastsolprimals

primal solution values from last run, if available

Definition at line 143 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

◆ lastsoldualcons

SCIP_Real* SCIP_NlpiProblem::lastsoldualcons

dual solution values of constraints from last run, if available

Definition at line 144 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

◆ lastsoldualvarlb

SCIP_Real* SCIP_NlpiProblem::lastsoldualvarlb

dual solution values of variable lower bounds from last run, if available

Definition at line 145 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

◆ lastsoldualvarub

SCIP_Real* SCIP_NlpiProblem::lastsoldualvarub

dual solution values of variable upper bounds from last run, if available

Definition at line 146 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

◆ lastsolinfeas

SCIP_Real SCIP_NlpiProblem::lastsolinfeas

infeasibility (constraint violation) of solution stored in lastsolprimals

Definition at line 147 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

◆ lastniter

int SCIP_NlpiProblem::lastniter

number of iterations in last run

Definition at line 148 of file nlpi_ipopt.cpp.

◆ lasttime

SCIP_Real SCIP_NlpiProblem::lasttime

time spend in last run

Definition at line 149 of file nlpi_ipopt.cpp.