IBM ILOG Solver User's Manual > More on Modeling > Using Constrained Floating-Point Variables: Modeling Equations > Using predefined functions with floating-point variables |
Using predefined functions with floating-point variables |
INDEX
![]() |
Concert Technology provides many predefined functions to use with floating-point variables, such as IloPower
and IloExponent
. To demonstrate their use, let's code the equation: x + x3 + ex = 10.
When executing this program, you should get the following output.
x = 1.55113 |
The complete program is available online in the YourSolverHome/examples/src/equation.cpp
file.
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |