Scippy

SCIP

Solving Constraint Integer Programs

SCIP_NlpiProblem Struct Reference

Detailed Description

Definition at line 124 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::SCIP_NlpiProblem ( )
inline

Field Documentation

SCIP_NLPIORACLE* SCIP_NlpiProblem::oracle

Oracle-helper to store and evaluate NLP

Definition at line 127 of file nlpi_ipopt.cpp.

Referenced by SCIPgetNlpiOracleIpopt().

SmartPtr<IpoptApplication> SCIP_NlpiProblem::ipopt

Ipopt application

Definition at line 129 of file nlpi_ipopt.cpp.

Referenced by SCIPgetIpoptApplicationPointerIpopt(), and setFeastol().

SmartPtr<ScipNLP> SCIP_NlpiProblem::nlp

NLP in Ipopt form

Definition at line 130 of file nlpi_ipopt.cpp.

std::string SCIP_NlpiProblem::optfile

name of options file

Definition at line 131 of file nlpi_ipopt.cpp.

bool SCIP_NlpiProblem::storeintermediate

whether to store intermediate solutions

Definition at line 132 of file nlpi_ipopt.cpp.

bool SCIP_NlpiProblem::fastfail

whether to stop Ipopt if convergence seems slow

Definition at line 133 of file nlpi_ipopt.cpp.

SCIP_Bool SCIP_NlpiProblem::firstrun

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

Definition at line 135 of file nlpi_ipopt.cpp.

SCIP_Real* SCIP_NlpiProblem::initguess

initial values for primal variables, or NULL if not known

Definition at line 136 of file nlpi_ipopt.cpp.

SCIP_NLPSOLSTAT SCIP_NlpiProblem::lastsolstat

solution status from last run

Definition at line 138 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

SCIP_NLPTERMSTAT SCIP_NlpiProblem::lasttermstat

termination status from last run

Definition at line 139 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

SCIP_Real* SCIP_NlpiProblem::lastsolprimals

primal solution values from last run, if available

Definition at line 140 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

SCIP_Real* SCIP_NlpiProblem::lastsoldualcons

dual solution values of constraints from last run, if available

Definition at line 141 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

SCIP_Real* SCIP_NlpiProblem::lastsoldualvarlb

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

Definition at line 142 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

SCIP_Real* SCIP_NlpiProblem::lastsoldualvarub

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

Definition at line 143 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

SCIP_Real SCIP_NlpiProblem::lastsolinfeas

infeasibility (constraint violation) of solution stored in lastsolprimals

Definition at line 144 of file nlpi_ipopt.cpp.

Referenced by invalidateSolution().

int SCIP_NlpiProblem::lastniter

number of iterations in last run

Definition at line 145 of file nlpi_ipopt.cpp.

SCIP_Real SCIP_NlpiProblem::lasttime

time spend in last run

Definition at line 146 of file nlpi_ipopt.cpp.