55 UbpKnitro(mc::FFGraph &DAG,
const std::vector<mc::FFVar> &DAGvars,
const std::vector<mc::FFVar> &DAGfunctions,
const std::vector<babBase::OptimizationVariable> &variables,
73 SUBSOLVER_RETCODE _solve_nlp(
const std::vector<double> &lowerVarBounds,
const std::vector<double> &upperVarBounds,
double &objectiveValue, std::vector<double> &solutionPoint);
Struct for storing settings for MAiNGO.
Definition: settings.h:143
This class contains all logging and output information.
Definition: logger.h:100
KnitroProblem * _theKnitroProblem
Definition: ubpKnitro.h:75
UbpKnitro & operator=(const UbpKnitro &)
Class for representing problems to be solved by Knitro, providing an interface to the problem definit...
Definition: knitroProblem.h:47
Wrapper for handling the upper bounding problems by interfacing Knitro.
Definition: ubpKnitro.h:37
Base class for wrappers for handling the upper bounding problems.
Definition: ubp.h:49
~UbpKnitro()
Destructor.
Definition: ubpKnitro.h:61
SUBSOLVER_RETCODE
Enum for representing the return codes returned by the different sub-solvers (UpperBoundingSolver,...
Definition: returnCodes.h:40
namespace holding all essentials of MAiNGO
Definition: aleModel.h:31
UBS_USE
Enum for communicating what the intended purpose of the solver is. This determines which settings are...
Definition: ubp.h:56
SUBSOLVER_RETCODE _solve_nlp(const std::vector< double > &lowerVarBounds, const std::vector< double > &upperVarBounds, double &objectiveValue, std::vector< double > &solutionPoint)
Function for actually solving the NLP sub-problem. This needs to be re-defined in derived classes to ...
UbpKnitro(mc::FFGraph &DAG, const std::vector< mc::FFVar > &DAGvars, const std::vector< mc::FFVar > &DAGfunctions, const std::vector< babBase::OptimizationVariable > &variables, const unsigned nineqIn, const unsigned neqIn, const unsigned nineqSquashIn, Settings *settingsIn, Logger *loggerIn, std::vector< Constraint > *constraintPropertiesIn, UBS_USE useIn)
Constructor, stores information on the problem and initializes the local-subsolvers used.
knitro::KTRSolver _Knitro
Definition: ubpKnitro.h:76
int _solverStatus
Definition: ubpKnitro.h:78