CMP++: Uncertainty Quantification & Bayesian Calibration
Loading...
Searching...
No Matches
cmp::ObjectiveFunctor::ConstraintContext Struct Reference

Context struct for NLopt constraint evaluation callback. More...

#include <optimization.h>

Collaboration diagram for cmp::ObjectiveFunctor::ConstraintContext:

Public Attributes

ObjectiveFunctorfunctor
 Pointer to the parent functor.
 
size_t index
 Index of the constraint in the vector.
 
bool is_inequality
 True if it is an inequality constraint, false if equality.
 

Detailed Description

Context struct for NLopt constraint evaluation callback.

Member Data Documentation

◆ functor

ObjectiveFunctor* cmp::ObjectiveFunctor::ConstraintContext::functor

Pointer to the parent functor.

◆ index

size_t cmp::ObjectiveFunctor::ConstraintContext::index

Index of the constraint in the vector.

◆ is_inequality

bool cmp::ObjectiveFunctor::ConstraintContext::is_inequality

True if it is an inequality constraint, false if equality.


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