30 #ifndef IFOPT_INCLUDE_OPT_BOUNDS_H_ 31 #define IFOPT_INCLUDE_OPT_BOUNDS_H_ 42 Bounds(
double lower = 0.0,
double upper = 0.0)
65 static const double inf = 1.0e20;
static const Bounds BoundGreaterZero
static const Bounds BoundZero
static const Bounds BoundSmallerZero
static const Bounds NoBound
void operator+=(double scalar)
Bounds(double lower=0.0, double upper=0.0)
Creates a bound between lower and upper.
Upper and lower bound for optimization variables and constraints.
common namespace for all elements in this library.
void operator-=(double scalar)