59 UbpCplex(mc::FFGraph &DAG,
const std::vector<mc::FFVar> &DAGvars,
const std::vector<mc::FFVar> &DAGfunctions,
const std::vector<babBase::OptimizationVariable> &variables,
77 virtual 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
virtual 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 (actually, LP in this case) sub-problem.
Wrapper for handling the upper bounding problems by interfacing CPLEX.
Definition: ubpCplex.h:41
This class contains all logging and output information.
Definition: logger.h:100
IloCplex cplex
Definition: ubpCplex.h:91
Base class for wrappers for handling the upper bounding problems.
Definition: ubp.h:49
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
UbpCplex(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.
IloModel cplxModel
Definition: ubpCplex.h:89
void _terminate_cplex()
Function for taking care of memory management by terminating Cplex (either called from destructor or ...
UbpCplex & operator=(const UbpCplex &)
IloEnv cplxEnv
Definition: ubpCplex.h:88
IloNumVarArray cplxVars
Definition: ubpCplex.h:90