30 #ifndef IFOPT_INCLUDE_OPT_BOUNDS_H_ 31 #define IFOPT_INCLUDE_OPT_BOUNDS_H_ 43 Bounds(
double lower = 0.0,
double upper = 0.0)
66 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.
void operator-=(double scalar)