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 65 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 96 of file bounds.h.

Member Function Documentation

◆ operator+=()

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

Definition at line 105 of file bounds.h.

◆ operator-=()

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

Definition at line 111 of file bounds.h.

Member Data Documentation

◆ lower_

double ifopt::Bounds::lower_

Definition at line 102 of file bounds.h.

◆ upper_

double ifopt::Bounds::upper_

Definition at line 103 of file bounds.h.


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


ifopt
Author(s): Alexander W. Winkler
autogenerated on Mon Sep 18 2023 02:14:38