MAiNGO
PyMAiNGOmodel Class Reference
Inheritance diagram for PyMAiNGOmodel:
maingo::MAiNGOmodel

Public Member Functions

std::vector< maingo::OptimizationVariableget_variables () override
 Virtual function which has to be implemented by the user in order to enable getting data on optimization variables. More...
 
maingo::EvaluationContainer evaluate (const std::vector< mc::FFVar > &vars) override
 Virtual function which has to be implemented by the user in order to enable evaluation of the model. More...
 
std::vector< double > get_initial_point () override
 Virtual function which has to be implemented by the user in order to enable getting data on the initial point. More...
 
- Public Member Functions inherited from maingo::MAiNGOmodel
virtual ~MAiNGOmodel ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from maingo::MAiNGOmodel
using Var = mc::FFVar
 

Member Function Documentation

◆ evaluate()

maingo::EvaluationContainer PyMAiNGOmodel::evaluate ( const std::vector< mc::FFVar > &  optVars)
inlineoverridevirtual

Virtual function which has to be implemented by the user in order to enable evaluation of the model.

Parameters
[in]optVarsis a vector holding the optimization variables

Implements maingo::MAiNGOmodel.

◆ get_initial_point()

std::vector<double> PyMAiNGOmodel::get_initial_point ( )
inlineoverridevirtual

Virtual function which has to be implemented by the user in order to enable getting data on the initial point.

Reimplemented from maingo::MAiNGOmodel.

◆ get_variables()

std::vector<maingo::OptimizationVariable> PyMAiNGOmodel::get_variables ( )
inlineoverridevirtual

Virtual function which has to be implemented by the user in order to enable getting data on optimization variables.

Implements maingo::MAiNGOmodel.


The documentation for this class was generated from the following file: