ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
ILOFLOAT, for continuous,<br />
ILOINT, for integer,<br />
ILOBOOL, for Boolean variables.<br />
Program (QCP). If in addition to the quadratic constraints, there are discrete variables in<br />
the problem (such as integer, Boolean, or semi-continuous variables), then it is known as<br />
MIQCP.<br />
◆ Objects of the class IloNumVar represent modeling variables. They are defined<br />
by the lower and upper bounds of the variable, and the type of the variable. The type<br />
of the variable can be one of these:<br />
◆ Objects of the class IloSemiContVar represent semi-continuous variables. A<br />
semi-continous variable may be 0 (zero) or may take a value within an interval<br />
defined by its semi-continuous lower and upper bounds. Semi-continuous variables<br />
are usually defined as continuous variables, but you can designate an instance of<br />
IloSemiContVar as integer by using the type indicator it inherits from<br />
IloNumVar.<br />
◆<br />
◆<br />
Objects of the class IloObjective represent objective functions of optimization<br />
models. IloCplex deals with models containing at most one objective function,<br />
and the objective function must be linear, piecewise linear, or quadratic.<br />
Objects of the class IloRange represent constraints of the form: lower bound<br />
≤ expression ≤ upper bound. Any floating-point value or +/- IloInfinity can be<br />
used for the bounds.<br />
◆ Objects of the class IloConversion change the type of a variable in a model.<br />
This class allows you to use the same variable with different types in different<br />
models.<br />
◆ Objects of the class IloModel represent models which consist of extractable<br />
objects. They can be used to create submodels or additional models in a given<br />
environment.<br />
◆ Objects of the class IloSOS1 represent type 1 Special Ordered Sets (SOSs). A<br />
type 1 SOS specifies that at most one variable from a set of variables may take a<br />
nonzero value. Similarly, objects of the class IloSOS2 represent type 2 SOSs. A<br />
type 2 SOS specifies that at most two variables from a set of variables may take<br />
nonzero values and that these two variables must be neighbors with respect to a<br />
specified order of the variables. SOS1 are rarely used and SOS2 are mostly used to<br />
model piecewise linear functions, for which Concert Technology provides direct<br />
support (with the class IloPiecewiseLinear).<br />
◆ Objects of the class IloAnd are used in conjunction with objects of the class<br />
IloSolution.<br />
<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 16