![]() |
MAiNGO
|
This class is the base class for implementing bi-objective problems. More...
#include <MAiNGOmodelEpsCon.h>
Public Member Functions | |
virtual | ~MAiNGOmodelEpsCon () |
Destructor. More... | |
virtual EvaluationContainer | evaluate_user_model (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... | |
EvaluationContainer | evaluate (const std::vector< Var > &optVars) final |
Virtual function which has to be implemented by the user in order to enable evaluation of the model. 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... | |
void | set_epsilon (const std::vector< double > &epsilon) |
Function for changing the epsilon-parameters. More... | |
void | set_objective_index (const size_t objectiveIndex) |
Function for setting the objective index. More... | |
void | set_single_objective (bool singleObjective) |
Function for setting the _singleObjective flag. More... | |
![]() | |
virtual | ~MAiNGOmodel () |
Destructor. More... | |
Private Attributes | |
std::vector< double > | _epsilon |
size_t | _objectiveIndex |
bool | _singleObjective = true |
Additional Inherited Members | |
![]() | |
using | Var = mc::FFVar |
This class is the base class for implementing bi-objective problems.
This class is used to derive a Model class in problem.h, where the user can implement their actual model.
|
inlinevirtual |
Destructor.
|
finalvirtual |
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 |
Implements maingo::MAiNGOmodel.
|
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 |
|
inlinevirtual |
Virtual function which has to be implemented by the user in order to enable getting data on the initial point.
Reimplemented from maingo::MAiNGOmodel.
|
pure virtual |
Virtual function which has to be implemented by the user in order to enable getting data on optimization variables.
Implements maingo::MAiNGOmodel.
|
inline |
Function for changing the epsilon-parameters.
[in] | epsilon | is a vector holding the epsilon parameters |
|
inline |
Function for setting the objective index.
[in] | objectiveIndex | is the index of the objective to be minimized |
|
inline |
Function for setting the _singleObjective flag.
[in] | singleObjective | indicates whether the next problem should be considered as single-objective |
|
private |
vector of epsilon parameters for use in the epsilon-constraint method
|
private |
index of objective to be minimized during epsilon-constraint method. The other objective will be used in the epsilon-constraint
|
private |
flag indicating whether the next problem should be considered as single-objective (for objective _objectiveIndex), or whether to use the epsilon constraint(s)