53 UbpCplex(mc::FFGraph &DAG,
const std::vector<mc::FFVar> &DAGvars,
const std::vector<mc::FFVar> &DAGfunctions,
const std::vector<babBase::OptimizationVariable> &variables,
54 const unsigned nineqIn,
const unsigned neqIn,
const unsigned nineqSquashIn, std::shared_ptr<Settings> settingsIn, std::shared_ptr<Logger> loggerIn, std::shared_ptr<std::vector<Constraint>> constraintPropertiesIn,
UBS_USE useIn);
71 virtual SUBSOLVER_RETCODE _solve_nlp(
const std::vector<double> &lowerVarBounds,
const std::vector<double> &upperVarBounds,
double &objectiveValue, std::vector<double> &solutionPoint);
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:35
IloCplex cplex
Definition: ubpCplex.h:85
Base class for wrappers for handling the upper bounding problems.
Definition: ubp.h:44
SUBSOLVER_RETCODE
Enum for representing the return codes returned by the different sub-solvers (UpperBoundingSolver, LowerBoundingSolver).
Definition: returnCodes.h:36
namespace holding all essentials of MAiNGO
Definition: aleModel.h:25
UBS_USE
Enum for communicating what the intended purpose of the solver is. This determines which settings are...
Definition: ubp.h:51
IloModel cplxModel
Definition: ubpCplex.h:83
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, std::shared_ptr< Settings > settingsIn, std::shared_ptr< Logger > loggerIn, std::shared_ptr< std::vector< Constraint >> constraintPropertiesIn, UBS_USE useIn)
Constructor, stores information on the problem and initializes the local-subsolvers used...
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:82
IloNumVarArray cplxVars
Definition: ubpCplex.h:84
~UbpCplex()
Destructor.
Definition: ubpCplex.h:59