MAiNGO
maingo::EvaluationContainer Struct Reference

Struct for storing the values returned by model evaluation at the given point "var". More...

#include <evaluationContainer.h>

Public Member Functions

void clear ()
 Clears all information, note that currently objective has not to be cleared, since it is overwritten. More...
 

Public Attributes

modelFunction objective
 
modelFunction ineq
 
modelFunction eq
 
modelFunction ineqRelaxationOnly
 
modelFunction eqRelaxationOnly
 
modelFunction ineqSquash
 
std::vector< OutputVariableoutput
 

Detailed Description

Struct for storing the values returned by model evaluation at the given point "var".

This struct is used as return type for the evaluate function to be implemented by the user. The vectors ineqRelaxationOnly and eqRelaxationOnly can be used to supply constraints that are not part of the actual problem, but can serve to tighten relaxations. This concept has been taken from Sahinidis & Tawarmalani, J. Global Optim. 32 (2005) 259.

Member Function Documentation

◆ clear()

void maingo::EvaluationContainer::clear ( )
inline

Clears all information, note that currently objective has not to be cleared, since it is overwritten.

Member Data Documentation

◆ eq

modelFunction maingo::EvaluationContainer::eq

vector of residuals of equality constraints h(var)

◆ eqRelaxationOnly

modelFunction maingo::EvaluationContainer::eqRelaxationOnly

vector of residuals of equality constraints to be used only in the relaxed problem

◆ ineq

modelFunction maingo::EvaluationContainer::ineq

vector of residuals of inequality constraints g(var)

◆ ineqRelaxationOnly

modelFunction maingo::EvaluationContainer::ineqRelaxationOnly

vector of residuals of inequality constraints to be used only in the relaxed problem

◆ ineqSquash

modelFunction maingo::EvaluationContainer::ineqSquash

vector of residuals of inequality constraints to be added when using the squash_node function

◆ objective

modelFunction maingo::EvaluationContainer::objective

value of objective function f(var)

◆ output

std::vector<OutputVariable> maingo::EvaluationContainer::output

vector of additional output variables (should only be computed and returned if calling evaluate with ADDITIONAL_OUTPUT)


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