Overview | Group | Tree | Graph | Index | Concepts |
Instances of IloShape
are generic objects
describing shapes associated with resource constraints on
continuous reservoirs.
The concept of Shape offers fine control over the
production and consumption of a resource constraint on a continuous
reservoir. When no shape is activated, the usual behaviour of a
resource constraint is to consume or produce at a constant rate,
given by the capacity and the duration of the activity. When
created, an IloVariableSlopeShape
can turn this constant rate into a Solver variable, suitable for
decision and search.
See Also:
IloResourceConstraint, IloReservoir, IloVariableSlopeShape
Method Summary | |
---|---|
public IloBool | hasShape() const |
public IloBool | isVariableSlopeShape() const |
Method Detail |
---|
This member function returns IloTrue
if the invoking handle
relates to an active shape.
This member function returns IloTrue
if the invoking handle
relates to an instance of
IloVariableSlopeShape
.
In this case,
the handle can be safely down-cast into a
IloVariableSlopeShape
handle, using the corresponding copy-constructor.
See Also: