![]() |
MAiNGO
|
This class is the base class for models to be solved by MAiNGO. More...
#include <MAiNGOmodel.h>
Public Types | |
using | Var = mc::FFVar |
Public Member Functions | |
virtual | ~MAiNGOmodel () |
Destructor. More... | |
virtual EvaluationContainer | evaluate (const std::vector< Var > &optVars)=0 |
Virtual function which has to be implemented by the user in order to enable evaluation of the model. More... | |
virtual std::vector< OptimizationVariable > | get_variables ()=0 |
Virtual function which has to be implemented by the user in order to enable getting data on optimization variables. More... | |
virtual std::vector< double > | get_initial_point () |
Virtual function which has to be implemented by the user in order to enable getting data on the initial point. More... | |
This class is the base class for models to be solved by MAiNGO.
This class is used to derive a Model class in problem.h, where the user can implement their actual model.
using maingo::MAiNGOmodel::Var = mc::FFVar |
Redefine for easier usage
|
inlinevirtual |
Destructor.
|
pure virtual |
Virtual function which has to be implemented by the user in order to enable evaluation of the model.
[in] | optVars | is a vector holding the optimization variables |
Implemented in maingo::MAiNGOmodelEpsCon, and maingo::AleModel.
|
inlinevirtual |
Virtual function which has to be implemented by the user in order to enable getting data on the initial point.
Reimplemented in maingo::AleModel, and maingo::MAiNGOmodelEpsCon.
|
pure virtual |
Virtual function which has to be implemented by the user in order to enable getting data on optimization variables.
Implemented in maingo::AleModel, and maingo::MAiNGOmodelEpsCon.