Public Member Functions | Public Attributes | List of all members
ifopt::Bounds Struct Reference

Upper and lower bound for optimization variables and constraints. More...

#include <bounds.h>

Public Member Functions

 Bounds (double lower=0.0, double upper=0.0)
 Creates a bound between lower and upper. More...
 
void operator+= (double scalar)
 
void operator-= (double scalar)
 

Public Attributes

double lower_
 
double upper_
 

Detailed Description

Upper and lower bound for optimization variables and constraints.

Definition at line 38 of file bounds.h.

Constructor & Destructor Documentation

◆ Bounds()

ifopt::Bounds::Bounds ( double  lower = 0.0,
double  upper = 0.0 
)
inline

Creates a bound between lower and upper.

Definition at line 42 of file bounds.h.

Member Function Documentation

◆ operator+=()

void ifopt::Bounds::operator+= ( double  scalar)
inline

Definition at line 51 of file bounds.h.

◆ operator-=()

void ifopt::Bounds::operator-= ( double  scalar)
inline

Definition at line 57 of file bounds.h.

Member Data Documentation

◆ lower_

double ifopt::Bounds::lower_

Definition at line 48 of file bounds.h.

◆ upper_

double ifopt::Bounds::upper_

Definition at line 49 of file bounds.h.


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


ifopt
Author(s): Alexander W. Winkler
autogenerated on Fri Sep 16 2022 02:15:26