FRAMES NO FRAMES

Enumeration IlcFloatDisplay

Definition file: ilsolver/ilcerr.h
Include file: <ilsolver/ilosolver.h>

The values in this enumeration determine the format in which constrained floating-point variables are displayed. For example, the member function IloSolver::setFloatDisplay uses values from this enumeration to determine how to display constrained floating-point variables.

IlcStandardDisplay is the default value. When a constrained floating-point variable is displayed in this format, its minimal and maximal values are rounded to the nearest value, and the variable is displayed as an interval defined by these values, like this: [min max].

IlcIntScientific displays a constrained floating-point variable as an interval defined by its minimum and maximum values, like this: [min max]. The minimal value is rounded toward negative infinity (-?); the maximal value is rounded toward positive infinity (+?). The values min and max are displayed in scientific notation d.ddde+dd where d represents a digit and e the base for exponentiation.

IlcIntFixed displays a constrained floating-point variable as an interval defined by its minimum and maximum values, like this: [min max]. The minimal value is rounded toward negative infinity (-?); the maximal value is rounded toward positive infinity (+?). The values min and max are displayed in fixed-precision notation ddddd.dd where d represents a digit.

IlcBasScientific displays a constrained floating-point variable as an interval defined by a base and two other values: [base + [delta1 delta2]] representing the interval [(base + delta1) (base + delta2)] . Two cases may arise: the interval contains an integer; the interval does not contain an integer.

If the minimal and maximal values are too far apart and consequently to display a base makes no sense, then a constrained floating-point variable in IlcBasScientific format is displayed like this: [min max].

IlcBasFixed displays a constrained floating-point variable as an interval defined by a base and two other values: [base + [delta1 delta2]]. Two cases may arise: the interval contains an integer; the interval does not contain an integer.

If the minimal and maximal values are too far apart and consequently to display a base makes no sense, then a constrained floating-point variable in IlcBasFixed format is displayed like this: [min max].

See Also:

Fields

IlcStandardDisplay = 0 
IlcIntScientific = 1 
IlcIntFixed = 2 
IlcBasScientific = 3 
IlcBasFixed = 4