IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Adding Integral and Functional Constraints

Integral and functional constraints are used to express natural dependencies, such as "the total cost incurred to execute an activity is the sum of the daily expenses over its duration," or "prices are cut by 30% for a car rental of at least one week, and by 50% for a rental of at least two weeks." The example in this chapter presents a finer model of weekend breaks (compared to Adding Breaks); an integral constraint is used to reduce efficiency when processing an activity during weekends. In addition, some dependencies between duration and cost variables are modeled using stepwise functions to better achieve the complex relationships needed in the model.